mm: SLUB fix reclaim_state
authorNick Piggin <npiggin@suse.de>
Tue, 5 May 2009 09:13:44 +0000 (19:13 +1000)
committerPekka Enberg <penberg@cs.helsinki.fi>
Wed, 6 May 2009 07:23:02 +0000 (10:23 +0300)
commit1eb5ac6466d4be7b15b38ce3ab709600f1bc891f
treef10c11cb78e8b4716fe4c98d1fa838a7cd19e9b0
parentce8a7424d23a36f043d0de8484f888971c831119
mm: SLUB fix reclaim_state

SLUB does not correctly account reclaim_state.reclaimed_slab, so it will
break memory reclaim. Account it like SLAB does.

Cc: stable@kernel.org
Cc: linux-mm@kvack.org
Cc: Matt Mackall <mpm@selenic.com>
Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c