Re: [RFC/PATCH] slab: free pages in a batch in drain_freelist

2007-02-23 Thread William Lee Irwin III
On Thu, 22 Feb 2007, Pekka J Enberg wrote: >> As suggested by William, free the actual pages in a batch so that we >> don't keep pounding on l3->list_lock. On Thu, Feb 22, 2007 at 03:01:30PM -0800, Christoph Lameter wrote: > This means holding the l3->list_lock for a prolonged time period. The >

Re: [RFC/PATCH] slab: free pages in a batch in drain_freelist

2007-02-22 Thread Christoph Lameter
On Thu, 22 Feb 2007, Pekka J Enberg wrote: > As suggested by William, free the actual pages in a batch so that we > don't keep pounding on l3->list_lock. This means holding the l3->list_lock for a prolonged time period. The existing code was done this way in order to make sure that the interrupt

Re: [RFC/PATCH] slab: free pages in a batch in drain_freelist

2007-02-22 Thread Christoph Lameter
On Thu, 22 Feb 2007, Pekka J Enberg wrote: > As suggested by William, free the actual pages in a batch so that we > don't keep pounding on l3->list_lock. This means holding the l3->list_lock for a prolonged time period. The existing code was done this way in order to make sure that the interrupt

[RFC/PATCH] slab: free pages in a batch in drain_freelist

2007-02-22 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> As suggested by William, free the actual pages in a batch so that we don't keep pounding on l3->list_lock. Cc: William Lee Irwin III <[EMAIL PROTECTED]> Cc: Christoph Lameter <[EMAIL PROTECTED]> Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- mm/slab.c