lkml.org 
[lkml]   [1998]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: page->offset & PAGE_MASK
From
Date
chip@atlantic.net writes:

> 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?

I guess it depends on where the page was created. If you mmap a
file (MMAP_PRIVATE, read-only) then you can get any block-aligned
offset. See generic_file_mmap().

pjm.

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.109 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site