On Mon, 2007-01-29 at 16:09 -0800, Andrew Morton wrote: > On Mon, 29 Jan 2007 15:37:29 -0800 (PST) > Christoph Lameter <[email protected]> wrote: > > > With a alloc_pages_range() one would be able to specify upper and lower > > boundaries. > > Is there a proposal anywhere regarding how this would be implemented? I'm guessing this will involve page migration. Still, would we need to place bounds on non movable pages, or will it be a best effort? It seems the current zone approach is a best effort too, although it does try to keep allocations away from the lower zones as much as possible. But I guess we could make a single zone allocator prefer high addresses too. So then we'd end up with a single zone, and each allocation would give a range. Try and pick a free page with as high an address as possible in the given range. If no pages available in the given range try and move some movable pages out of it. This does of course involve finding free pages in a given range, and identifying pages as movable. And a gazillion trivial but tedious things I've forgotten. Christoph, is this what you were getting at? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Mel Gorman <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Andrew Morton <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Christoph Lameter <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Andrew Morton <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Christoph Lameter <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Andrew Morton <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Christoph Lameter <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Andrew Morton <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Christoph Lameter <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Russell King <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Christoph Lameter <[email protected]>
- Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- From: Andrew Morton <[email protected]>
- [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- Prev by Date: Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.
- Next by Date: Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.
- Previous by thread: Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- Next by thread: Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
- Index(es):