slub: Do not use frozen page flag but a bit in the page counters
authorChristoph Lameter <cl@linux.com>
Wed, 1 Jun 2011 17:25:45 +0000 (12:25 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Jul 2011 10:26:52 +0000 (13:26 +0300)
commit50d5c41cd151b21ac1dfc98f048210456ccacc20
tree406983fe5aca70acad4df7c7f92286e4fc71d70b
parent7e0528dadc9f8b04e4de0dba48a075100c2afe75
slub: Do not use frozen page flag but a bit in the page counters

Do not use a page flag for the frozen bit. It needs to be part
of the state that is handled with cmpxchg_double(). So use a bit
in the counter struct in the page struct for that purpose.

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