slub: Acquire_slab() avoid loop
authorChristoph Lameter <cl@linux.com>
Wed, 9 May 2012 15:09:53 +0000 (10:09 -0500)
committerPekka Enberg <penberg@kernel.org>
Fri, 1 Jun 2012 06:25:40 +0000 (09:25 +0300)
commit7ced3719719669ad6bd279b45fa3c1a517b2e057
treeb50ad0437b1bff8e772a53f0ffdb7392f501ea39
parent507effeaba29bf724dfe38317fbd11d0fe25fa40
slub: Acquire_slab() avoid loop

Avoid the loop in acquire slab and simply fail if there is a conflict.

This will cause the next page on the list to be considered.

Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c