Re: fd_offset is not page aligned

Andrea Arcangeli (andrea@suse.de)
Tue, 26 Oct 1999 14:00:23 +0200 (CEST)


On Mon, 25 Oct 1999, Jamie Lokier wrote:

>In case I'm not clear: I'm talking about read-only, MAP_DENYWRITE
>mappings. There's no coherency issue for these.

If you allow mmap to map at not PAGE_ALIGNED file offset, than you'll end
overlapping data in the page cache and you'll lose memory. This happens
even with the denywrite private map.

Andrea

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