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 |
---|---|---|
Makefile | -rw-r--r-- | 282 bytes |
compat.c | -rw-r--r-- | 17.0 KB |
compat_mq.c | -rw-r--r-- | 4.0 KB |
ipc_sysctl.c | -rw-r--r-- | 4.1 KB |
mqueue.c | -rw-r--r-- | 29.9 KB |
msg.c | -rw-r--r-- | 20.5 KB |
msgutil.c | -rw-r--r-- | 2.3 KB |
sem.c | -rw-r--r-- | 34.6 KB |
shm.c | -rw-r--r-- | 25.9 KB |
util.c | -rw-r--r-- | 19.3 KB |
util.h | -rw-r--r-- | 3.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...