kernel_optimize_test/mm
Christoph Lameter 65ba55f500 [PATCH] zoned vm counters: convert nr_mapped to per zone counter
nr_mapped is important because it allows a determination of how many pages of
a zone are not mapped, which would allow a more efficient means of determining
when we need to reclaim memory in a zone.

We take the nr_mapped field out of the page state structure and define a new
per zone counter named NR_FILE_MAPPED (the anonymous pages will be split off
from NR_MAPPED in the next patch).

We replace the use of nr_mapped in various kernel locations.  This avoids the
looping over all processors in try_to_free_pages(), writeback, reclaim (swap +
zone reclaim).

[akpm@osdl.org: bugfix]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-30 11:25:34 -07:00
..
bootmem.c
fadvise.c
filemap_xip.c [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00
filemap.c [PATCH] generic_file_buffered_write(): handle zero-length iovec segments 2006-06-29 10:26:20 -07:00
filemap.h [PATCH] generic_file_buffered_write(): handle zero-length iovec segments 2006-06-29 10:26:20 -07:00
fremap.c
highmem.c
hugetlb.c
internal.h
Kconfig Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2006-06-29 10:49:17 -07:00
madvise.c
Makefile [PATCH] zoned vm counters: create vmstat.c/.h from page_alloc.c/.h 2006-06-30 11:25:34 -07:00
memory_hotplug.c [PATCH] Register sysfs file for hotplugged new node 2006-06-27 17:32:36 -07:00
memory.c
mempolicy.c [PATCH] proc: don't lock task_structs indefinitely 2006-06-26 09:58:25 -07:00
mempool.c
migrate.c [PATCH] Allow migration of mlocked pages 2006-06-25 10:00:55 -07:00
mincore.c
mlock.c
mmap.c
mmzone.c
mprotect.c
mremap.c
msync.c [PATCH] Kill PF_SYNCWRITE flag 2006-06-23 17:10:39 +02:00
nommu.c
oom_kill.c
page_alloc.c [PATCH] zoned vm counters: convert nr_mapped to per zone counter 2006-06-30 11:25:34 -07:00
page_io.c
page-writeback.c [PATCH] zoned vm counters: convert nr_mapped to per zone counter 2006-06-30 11:25:34 -07:00
pdflush.c [PATCH] pdflush: handle resume wakeups 2006-06-25 10:01:06 -07:00
prio_tree.c
readahead.c spelling fixes 2006-06-26 18:35:02 +02:00
rmap.c [PATCH] zoned vm counters: convert nr_mapped to per zone counter 2006-06-30 11:25:34 -07:00
shmem.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6 2006-06-29 14:19:21 -07:00
slab.c [PATCH] zoned vm counters: basic ZVC (zoned vm counter) implementation 2006-06-30 11:25:34 -07:00
slob.c
sparse.c [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
swap_state.c [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00
swap.c [PATCH] core: use list_move() 2006-06-26 09:58:17 -07:00
swapfile.c
thrash.c
tiny-shmem.c [PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree 2006-06-26 12:25:08 -07:00
truncate.c
util.c
vmalloc.c
vmscan.c [PATCH] zoned vm counters: convert nr_mapped to per zone counter 2006-06-30 11:25:34 -07:00
vmstat.c [PATCH] zoned vm counters: convert nr_mapped to per zone counter 2006-06-30 11:25:34 -07:00