]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8dd7f5bdf83e09313568809904a8ee8aecebdae
tree406983fe5aca70acad4df7c7f92286e4fc71d70b
parenteef37de9b521a23213e0ea1b0a124cf1fdcac6cc
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