home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8092 < prev    next >
Encoding:
Text File  |  1992-08-12  |  2.0 KB  |  46 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!boulder!kinglear!drew
  3. From: drew@kinglear.cs.colorado.edu (Drew Eckhardt)
  4. Subject: Re: Memory mapped files?
  5. Message-ID: <1992Aug13.054653.29996@colorado.edu>
  6. Sender: news@colorado.edu (The Daily Planet)
  7. Nntp-Posting-Host: kinglear.cs.colorado.edu
  8. Organization: University of Colorado at Boulder
  9. References: <1992Aug12.215042.5114@murdoch.acc.Virginia.EDU>
  10. Date: Thu, 13 Aug 1992 05:46:53 GMT
  11. Lines: 33
  12.  
  13. In article <1992Aug12.215042.5114@murdoch.acc.Virginia.EDU> lfoard@Turing.ORG (Lawrence C. Foard) writes:
  14. >Is there any soft of project underway to implement memory mapped files
  15. >in Linux? It seems that the shared library code is pretty close except
  16. >that it doesn't support writting pages back to the library file.
  17. >
  18. >Has anyone looked into what would be involved?
  19.  
  20. Ideally, some one will implement something along the lines of a 
  21. vnode based vm system, where each virtual memory object has a mapping
  22. and certain characteristics associated with it.
  23.  
  24. That mapping could be to a file, to a device, etc.  Ideally, a file mapping
  25. would be a mapping to blocks as specified by the file's bmap, with those
  26. blocks shared with buffercache.  Shared libararies / mmap / sysV 
  27. shared memory semmantics could be implemented on top of this 
  28. internal structure, quite easily.
  29.  
  30. very similiar to what MACH uses.
  31.  
  32. >Along with this is there any reason to keep the 4giga byte total
  33. >limit for processes rather than having seperate page tables for
  34. >each process?
  35.  
  36. Not 4G per process.  You still want room for kernel space in the 
  37. same page table, so you can keep most of the same code in place
  38. for kernel<>user space transfers, with kernel and user space in 
  39. different x86 segments. Linus has something going with
  40. > 3G per process, with the remainder allocated to the kernel - 
  41.  
  42. -- 
  43. Microsoft is responsible for propogating the evils it calls DOS and Windows, 
  44. IBM for AIX (appropriately called Aches by those having to administer it), but neither is as bad as AT&T.  Boycott AT&T, and let them know how you feel. 
  45.  
  46.