[mmotm 02/Oct PATCH 1/3] adjust Quicklists field of /proc/meminfo
From: KOSAKI Motohiro
Date: Thu Oct 09 2008 - 02:39:21 EST
vmscan-split-lru-lists-into-anon-file-sets.patch changed /proc/meminfo output length,
but only Quicklists: field doesn't.
(because quicklists field added after than split-lru)
example:
$ cat /proc/meminfo
MemTotal: 7994624 kB
MemFree: 21376 kB
(snip)
SUnreclaim: 78912 kB
PageTables: 1233472 kB
Quicklists: 7808 kB
NFS_Unstable: 0 kB
this patch fix it.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
---
fs/proc/proc_misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/fs/proc/proc_misc.c
===================================================================
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -195,7 +195,7 @@ static int meminfo_read_proc(char *page,
"SUnreclaim: %8lu kB\n"
"PageTables: %8lu kB\n"
#ifdef CONFIG_QUICKLIST
- "Quicklists: %8lu kB\n"
+ "Quicklists: %8lu kB\n"
#endif
"NFS_Unstable: %8lu kB\n"
"Bounce: %8lu kB\n"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/