On Thu, Jul 14, 2011 at 6:35 PM, Christoph Lameter <cl@xxxxxxxxx> wrote: > There are two situations in which slub holds a lock while releasing > pages: > > A. During kmem_cache_shrink() > B. During kmem_cache_close() > > For A build a list while holding the lock and then release the pages > later. In case of B we are the last remaining user of the slab so > there is no need to take the listlock. > > After this patch all calls to the page allocator to free pages are > done without holding any locks. > > V1->V2. Remove kfree. Avoid locking in free_partial. Drop slub_lock > too. > > Signed-off-by: Christoph Lameter <cl@xxxxxxxxx> I'd like to merge this patch but it doesn't apply on top of Linus' tree. Care to resend? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href