[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: page->offset



Hi,

On Wed, Apr 12, 2000 at 03:37:37PM +0530, pnilesh@in.ibm.com wrote:
> 
> One of the comment in mm.h says that we can have more than one copy of some
> page of an executable or shared lib (not normally).
> 
> Does it have to do something with offet field in page structure ?
> Does it mean that it may happen becoz offset field is not guarenteed to be
> PAGE_SIZE aligned  ?

Correct.  There are some very old binary formats in which the pages
of the executable are not page-aligned.  2.2 still supports them
and allows such binaries to be non-aligned in cache, but there is
no guarantee of cache coherency on such mappings and they are no
longer supported in 2.3.

--Stephen
--
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.eu.org/Linux-MM/