Messages in this thread | | | Date | Mon, 2 Feb 1998 14:50:34 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: page->offset & PAGE_MASK |
| |
On Sun, 1 Feb 1998 chip@atlantic.net wrote: > > 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.
Look at the exec() functions, especially for a.out. I think it's OMAGIC that is not guaranteed to be page-aligned (in fact, it is guaranteed to _not_ be page-aligned: the executable will start at offset 1024 in the file).
Linus
| |