why msync() is not quoted by MMAP_NEED_MSYNC?

Katsuhiro Kondou Katsuhiro_Kondou at isc.org
Fri Jan 2 22:44:07 UTC 2004


In article <87ad567zka.fsf at windlord.stanford.edu>,
	Russ Allbery <rra at stanford.edu> wrote;

} How about the length, though?  Both the starting pointer *and* the length
} passed to msync have to be page-aligned (the man page tends to be fairly
} bad at explaining this).  If it's just using the length of the active file
} itself, it may not be.

The end of address is not page-aligned, and I thought
as you did;

} It should always be safe to replace msync with msync_page (and we should
} probably do that everywhere).  I'm wondering if that would help.

Unfortunately, msync_page() doesn't help.  Same result.
-- 
Katsuhiro Kondou


More information about the inn-workers mailing list