[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: page->offset
To have your views,
If a file is opened and from an offset which is not page aligned say from
offset 10.
When we read this file into the memory page ,where the first byte will be
loaded into the memory ?
In 2.2 the first byte of the page will be the 10th byte of the file.
In 2.3 the first byte will be first byte in the file and 10th byte is the
10th in the file.
This is what I feel.
Nilesh
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/