why msync() is not quoted by MMAP_NEED_MSYNC?
Katsuhiro Kondou
Katsuhiro_Kondou at isc.org
Fri Jan 2 21:56:45 UTC 2004
In article <87wu8a82m8.fsf at windlord.stanford.edu>,
Russ Allbery <rra at stanford.edu> wrote;
} msync needs to be called with page-aligned addresses. Some parts of INN
} weren't doing that; I don't know if icd.c has that problem. If so, the
} msync_page function may help.
icd.c doesn't take care of it, but OSX's page size is 4K
which I verified by getpagesize(), and actual address
when I got the error was 0x1aa000.
For the time being, I seem to have to use (x)write()
instead of msync() :<
--
Katsuhiro Kondou
More information about the inn-workers
mailing list