page->offset & PAGE_MASK

chip@atlantic.net
Sun, 1 Feb 1998 17:18:19 -0500 (EST)


I'm working on extending Linux's VM mechanism beyond 2G.

A comment in include/linux/mm.h says that page->offset need not be
a multiple of PAGE_SIZE. However, the code in mm/*.c _seems_ always
to set it so.

Granted that there are some tricks played with offsets in swap areas.
But excluding swap tricks, is there any time when page->offset is not
a multiple of PAGE_SIZE?

-- 
Chip Salzenberg               - a.k.a. -                <chip@pobox.com>
             "It's the lemon zester of death!!"   // MST3K