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