diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2010-12-02 23:31:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-02 23:51:14 +0100 |
commit | e172662d113ceb22db727a979bb35b9c02f703b5 (patch) | |
tree | e641aadf75466f68bceece0974e974e6edfa1a94 /net | |
parent | mm/mempolicy.c: add rcu read lock to protect pid structure (diff) | |
download | linux-e172662d113ceb22db727a979bb35b9c02f703b5.tar.xz linux-e172662d113ceb22db727a979bb35b9c02f703b5.zip |
vmstat: fix dirty threshold ordering
The nr_dirty_[background_]threshold fields are misplaced before the
numa_* fields, and users will read strange values.
This is the right order. Before patch, nr_dirty_background_threshold
will read as 0 (the value from numa_miss).
numa_hit 128501
numa_miss 0
numa_foreign 0
numa_interleave 7388
numa_local 128501
numa_other 0
nr_dirty_threshold 144291
nr_dirty_background_threshold 72145
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Michael Rubin <mrubin@google.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions