davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) (06/08/90)
Someone was talking about emacs space memory and reading a whole file into memory. It was mentioned that the program could know better than the paging process when it was done with a file and the pages could be released. I note that SysV has working mapping of files into memory, and I wonder if there is a way in which the system can identify old data. For instance, if a file is "opened" with a mmap() or similar call, if the pager could identify those pages with that file via some kind of tagging, when the files was "closed" by an unmap() call, all pages could be written and moved to the freelist. I'm using the system call names as examples, they may not be correct. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) "Stupidity, like virtue, is its own reward" -me