lkml.org 
[lkml]   [1999]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Q: PAGE_CACHE_SIZE?

Eric W. Biederman writes:

> This is something I'm stumbling over porting patches for large
> files in the page cache from 2.2.5 to to 2.3.3.
...
> Non-page cache aligned mappings sound great until you
> (a) squeeze the extra bits out of the vm_offset and make it an index
> into the page cache, and
> (b) realize you need more bits to say how far you are into a page.

You stole too many bits then. Just take 9, giving sector-sized alignment.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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