Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-21 Thread Mel Gorman
Andrew Morton wrote: >> On Mon, 18 Jun 2007 10:30:42 +0100 (IST) Mel Gorman <[EMAIL PROTECTED]> >> wrote: >> + >> +/* >> + * It's a race if compaction frees a suitable page but >> + * someone else allocates it >> + */

Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-21 Thread Andrew Morton
> On Mon, 18 Jun 2007 10:30:42 +0100 (IST) Mel Gorman <[EMAIL PROTECTED]> wrote: > + > + /* > + * It's a race if compaction frees a suitable page but > + * someone else allocates it > + */ > +

Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-21 Thread Andrew Morton
On Mon, 18 Jun 2007 10:30:42 +0100 (IST) Mel Gorman [EMAIL PROTECTED] wrote: + + /* + * It's a race if compaction frees a suitable page but + * someone else allocates it + */ +

Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-21 Thread Mel Gorman
Andrew Morton wrote: On Mon, 18 Jun 2007 10:30:42 +0100 (IST) Mel Gorman [EMAIL PROTECTED] wrote: + +/* + * It's a race if compaction frees a suitable page but + * someone else allocates it + */ +

Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-19 Thread Mel Gorman
On (18/06/07 10:22), Christoph Lameter didst pronounce: > You are amazing. > Thanks! There are still knots that need ironing out but I believe the core idea is solid and can be built into something useful. Thanks for reviewing. > Acked-by: Christoph Lameter <[EMAIL PROTECTED]> > -- --

Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-19 Thread Mel Gorman
On (18/06/07 10:22), Christoph Lameter didst pronounce: You are amazing. Thanks! There are still knots that need ironing out but I believe the core idea is solid and can be built into something useful. Thanks for reviewing. Acked-by: Christoph Lameter [EMAIL PROTECTED] -- -- Mel

Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-18 Thread Christoph Lameter
You are amazing. Acked-by: Christoph Lameter <[EMAIL PROTECTED]> - 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

[PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-18 Thread Mel Gorman
Ordinarily when a high-order allocation fails, direct reclaim is entered to free pages to satisfy the allocation. With this patch, it is determined if an allocation failed due to external fragmentation instead of low memory and if so, the calling process will compact until a suitable page is

[PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-18 Thread Mel Gorman
Ordinarily when a high-order allocation fails, direct reclaim is entered to free pages to satisfy the allocation. With this patch, it is determined if an allocation failed due to external fragmentation instead of low memory and if so, the calling process will compact until a suitable page is

Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-18 Thread Christoph Lameter
You are amazing. Acked-by: Christoph Lameter [EMAIL PROTECTED] - 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