]> err.no Git - linux-2.6/commit
[PATCH] ZVC: Support NR_SLAB_RECLAIMABLE / NR_SLAB_UNRECLAIMABLE
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:51 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:51 +0000 (08:48 -0700)
commit972d1a7b140569084439a81265a0f15b74e924e0
treee86e676e407503ef3d98020a88bb925235f11434
parent8417bba4b151346ed475fcc923693c9e3be89063
[PATCH] ZVC: Support NR_SLAB_RECLAIMABLE / NR_SLAB_UNRECLAIMABLE

Remove the atomic counter for slab_reclaim_pages and replace the counter
and NR_SLAB with two ZVC counter that account for unreclaimable and
reclaimable slab pages: NR_SLAB_RECLAIMABLE and NR_SLAB_UNRECLAIMABLE.

Change the check in vmscan.c to refer to to NR_SLAB_RECLAIMABLE.  The
intend seems to be to check for slab pages that could be freed.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
12 files changed:
arch/i386/mm/pgtable.c
drivers/base/node.c
fs/proc/proc_misc.c
include/linux/mmzone.h
include/linux/slab.h
mm/mmap.c
mm/nommu.c
mm/page_alloc.c
mm/slab.c
mm/slob.c
mm/vmscan.c
mm/vmstat.c