Roland McGrath wrote:

#define S_IMAPPED 000100000000 /* Might be mmap'd. */
#define S_IMAPPEDM 000200000000 /* Might be mmap'd more than once. */



Actually, for compatibility purposes it's better to reverse the sense of those bits. i.e.

#define S_IMMAP0        000100000000 /* Definitely no mmap's to this.  */
#define S_IMMAP1        000100000000 /* Probably only one mmap to this.  */



Ok. Should we change diskfs_get_filemap to accept a flag that says we do not
want to create the memory object if it doesn't exist already? That seems to be
an important optimization to me if we call it in io_stat.


Marcus

--
Barry deFreese
Debian 3.0r1 "Woody"
GNU/Hurd
Registered Linux "Newbie" #302256 - Hurd H4XX0r wannabe

"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots. So far, the Universe is
winning." Rich Cook.





_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to