[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: http://ds9a.nl/cacheinfo project - please comment & improve
On Sun, 3 Jun 2001, bert hubert wrote:
>
> As promised, a manpage. I alreasy sent it to Andries but the people over
> here may also have comments.
I think cut out the reference to PAGE_CACHE_SIZE. mincore()'s current
kernel implementation may indeed involve PAGE_CACHE_SIZE, but I believe
that if PAGE_CACHE_SIZE is ever changed away from PAGE_SIZE, that will
be a kernel implementation detail, which should not affect its interfaces
with user-space. You're right to SEE ALSO getpagesize: really even the
references to PAGE_SIZE should defer to getpagesize e.g. the mmap man
page (on my RH7 anyway) says "offset should ordinarily be a multiple of
the page size returned by getpagesize(2)"; but it may get tiresome to use
that circumlocution ("the artist formerly known as Prince") everywhere.
Hugh
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/