mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] zoned vm counters: conversion of nr_writeback to per zone counter
Conversion of nr_writeback to per zone counter. This removes the last page_state counter from arch/i386/mm/pgtable.c so we drop the page_state from there. [[email protected]: bugfix] Signed-off-by: Christoph Lameter <[email protected]> Cc: Trond Myklebust <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b1e7a8fd85
commit
ce866b34ae
9 changed files with 12 additions and 16 deletions
|
|
@ -113,7 +113,7 @@ static void get_writeback_state(struct writeback_state *wbs)
|
|||
wbs->nr_unstable = read_page_state(nr_unstable);
|
||||
wbs->nr_mapped = global_page_state(NR_FILE_MAPPED) +
|
||||
global_page_state(NR_ANON_PAGES);
|
||||
wbs->nr_writeback = read_page_state(nr_writeback);
|
||||
wbs->nr_writeback = global_page_state(NR_WRITEBACK);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue