mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] zoned vm counters: conversion of nr_pagetables to per zone counter
Conversion of nr_page_table_pages to a per zone counter [[email protected]: bugfix] Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9a865ffa34
commit
df849a1529
10 changed files with 14 additions and 11 deletions
|
|
@ -171,9 +171,9 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
|
|||
"AnonPages: %8lu kB\n"
|
||||
"Mapped: %8lu kB\n"
|
||||
"Slab: %8lu kB\n"
|
||||
"PageTables: %8lu kB\n"
|
||||
"CommitLimit: %8lu kB\n"
|
||||
"Committed_AS: %8lu kB\n"
|
||||
"PageTables: %8lu kB\n"
|
||||
"VmallocTotal: %8lu kB\n"
|
||||
"VmallocUsed: %8lu kB\n"
|
||||
"VmallocChunk: %8lu kB\n",
|
||||
|
|
@ -195,9 +195,9 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
|
|||
K(global_page_state(NR_ANON_PAGES)),
|
||||
K(global_page_state(NR_FILE_MAPPED)),
|
||||
K(global_page_state(NR_SLAB)),
|
||||
K(global_page_state(NR_PAGETABLE)),
|
||||
K(allowed),
|
||||
K(committed),
|
||||
K(ps.nr_page_table_pages),
|
||||
(unsigned long)VMALLOC_TOTAL >> 10,
|
||||
vmi.used >> 10,
|
||||
vmi.largest_chunk >> 10
|
||||
|
|
|
|||
Loading…
Reference in a new issue