]> git.baikalelectronics.ru Git - kernel.git/commit
slub: extract common code to remove objects from partial list without locking
authorChristoph Lameter <cl@linux.com>
Tue, 28 Sep 2010 13:10:28 +0000 (08:10 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:44:10 +0000 (10:44 +0300)
commitd0f4a839c9e5d62fd3ad68b5b48541dd747a82b6
tree04514b189c3005bca093149769a117117ec0dff0
parent89e2585653525d897dcac01147222084473d1789
slub: extract common code to remove objects from partial list without locking

There are a couple of places where repeat the same statements when removing
a page from the partial list. Consolidate that into __remove_partial().

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