Revision 23c1fb52961bc24bd3a8078eefc49eed533b2b38 authored by Peter Zijlstra on 06 July 2007, 11:35:34 UTC, committed by Linus Torvalds on 06 July 2007, 17:26:50 UTC
Line up the vmstat_text with zone_stat_item enum zone_stat_item { /* First 128 byte cacheline (assuming 64 bit words) */ NR_FREE_PAGES, NR_INACTIVE, NR_ACTIVE, We current have nr_active and nr_inactive reversed. [ "OK with patch, though using initializers canbe handy to prevent such things in future: static const char * const vmstat_text[] = { [NR_FREE_PAGES] = "nr_free_pages", ..." - Alexey ] Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 0da2f0f
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 5.1 KB |
Makefile | -rw-r--r-- | 1.1 KB |
allocpercpu.c | -rw-r--r-- | 3.7 KB |
backing-dev.c | -rw-r--r-- | 2.0 KB |
bootmem.c | -rw-r--r-- | 12.0 KB |
bounce.c | -rw-r--r-- | 6.5 KB |
fadvise.c | -rw-r--r-- | 2.6 KB |
filemap.c | -rw-r--r-- | 64.2 KB |
filemap.h | -rw-r--r-- | 2.8 KB |
filemap_xip.c | -rw-r--r-- | 10.8 KB |
fremap.c | -rw-r--r-- | 6.1 KB |
highmem.c | -rw-r--r-- | 8.0 KB |
hugetlb.c | -rw-r--r-- | 20.6 KB |
internal.h | -rw-r--r-- | 1.0 KB |
madvise.c | -rw-r--r-- | 9.5 KB |
memory.c | -rw-r--r-- | 74.7 KB |
memory_hotplug.c | -rw-r--r-- | 7.3 KB |
mempolicy.c | -rw-r--r-- | 47.1 KB |
mempool.c | -rw-r--r-- | 9.0 KB |
migrate.c | -rw-r--r-- | 21.9 KB |
mincore.c | -rw-r--r-- | 5.7 KB |
mlock.c | -rw-r--r-- | 5.5 KB |
mmap.c | -rw-r--r-- | 56.2 KB |
mmzone.c | -rw-r--r-- | 750 bytes |
mprotect.c | -rw-r--r-- | 7.5 KB |
mremap.c | -rw-r--r-- | 10.7 KB |
msync.c | -rw-r--r-- | 2.4 KB |
nommu.c | -rw-r--r-- | 32.3 KB |
oom_kill.c | -rw-r--r-- | 12.1 KB |
page-writeback.c | -rw-r--r-- | 28.9 KB |
page_alloc.c | -rw-r--r-- | 91.2 KB |
page_io.c | -rw-r--r-- | 3.6 KB |
pdflush.c | -rw-r--r-- | 6.3 KB |
prio_tree.c | -rw-r--r-- | 6.3 KB |
quicklist.c | -rw-r--r-- | 2.0 KB |
readahead.c | -rw-r--r-- | 17.0 KB |
rmap.c | -rw-r--r-- | 26.3 KB |
shmem.c | -rw-r--r-- | 65.5 KB |
shmem_acl.c | -rw-r--r-- | 4.6 KB |
slab.c | -rw-r--r-- | 116.5 KB |
slob.c | -rw-r--r-- | 9.7 KB |
slub.c | -rw-r--r-- | 87.0 KB |
sparse.c | -rw-r--r-- | 8.1 KB |
swap.c | -rw-r--r-- | 12.4 KB |
swap_state.c | -rw-r--r-- | 9.3 KB |
swapfile.c | -rw-r--r-- | 44.0 KB |
thrash.c | -rw-r--r-- | 2.0 KB |
tiny-shmem.c | -rw-r--r-- | 3.2 KB |
truncate.c | -rw-r--r-- | 12.3 KB |
util.c | -rw-r--r-- | 1.7 KB |
vmalloc.c | -rw-r--r-- | 17.6 KB |
vmscan.c | -rw-r--r-- | 47.3 KB |
vmstat.c | -rw-r--r-- | 16.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...