slub: explicit list_lock taking
authorChristoph Lameter <cl@linux.com>
Wed, 1 Jun 2011 17:25:50 +0000 (12:25 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Jul 2011 10:26:54 +0000 (13:26 +0300)
commit5cc6eee8a8c1aefe9c86fe7345a2aa1c4ca70dc6
tree3d69b8a7a44094ea336efbc59698d0949f5f6ec7
parentb789ef518b2a7231b0668c813f677cee528a9d3f
slub: explicit list_lock taking

The allocator fastpath rework does change the usage of the list_lock.
Remove the list_lock processing from the functions that hide them from the
critical sections and move them into those critical sections.

This in turn simplifies the support functions (no __ variant needed anymore)
and simplifies the lock handling on bootstrap.

Inline add_partial since it becomes pretty simple.

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