]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae18c3b63e94657b4b96ddcddf27afdfe7e51fff
treeb50ad0437b1bff8e772a53f0ffdb7392f501ea39
parent518fb2e4b60d51dd0b09ea41c74d598399b01a35
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