Re: freemaps
From: William Lee Irwin III <hidden>
Date: 2002-12-16 01:09:22
On Sun, Dec 15, 2002 at 01:03:26AM -0800, Andrew Morton wrote:
quoted
quoted
- How does it play with non-linear mappings?
William Lee Irwin III wrote:
quoted
It doesn't care; they're just vma's parked on a virtual address range like the rest of them.
On Sun, Dec 15, 2002 at 05:03:38PM -0800, Andrew Morton wrote:
But the searching needs are different. If someone has a nonlinear mmap of the 0-1M region of a file and then requests an mmap of the 4-5M region, that can just be tacked onto the 0-1M mapping's vma (can't it?).
Well, that's more of a merging criterion that a search criterion. At any rate, while it's true that they can/could be merged arbitrarily since they're not actually associated with any particular file offset range, there isn't any indicator I know of now that would actually allow this distinction wrt. mergeability to be made. Bill -- 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-mm.org/