slub: Move page->frozen handling near where the page->freelist handling occurs
authorChristoph Lameter <cl@linux.com>
Wed, 1 Jun 2011 17:25:46 +0000 (12:25 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Jul 2011 10:26:53 +0000 (13:26 +0300)
commit8cb0a5068f4108e8ca60d5e0bcfbe6901adcfaef
tree48098dca8f01abd882bfb9771880b2c791604f8a
parent50d5c41cd151b21ac1dfc98f048210456ccacc20
slub: Move page->frozen handling near where the page->freelist handling occurs

This is necessary because the frozen bit has to be handled in the same cmpxchg_double
with the freelist and the counters.

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