]> 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)
commitce9e8728f7174008a015e87536382e8faa495429
treeb50ad0437b1bff8e772a53f0ffdb7392f501ea39
parent8e064160f0e8d18cfb36302c2d0018880cd8d3b2
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