diff options
author | Andi Kleen <[email protected]> | 2011-04-14 15:22:06 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-04-14 16:06:55 -0700 |
commit | 81ab4201fb7d91d6b0cd9ad5b4b16776e4bed145 (patch) | |
tree | 92f57a83fa43ac8f742ddb227a397028ab022afc /lib/memory-notifier-error-inject.c | |
parent | c897401bac2b099dd2ff673a9afe7193723d253c (diff) |
mm: add VM counters for transparent hugepages
I found it difficult to make sense of transparent huge pages without
having any counters for its actions. Add some counters to vmstat for
allocation of transparent hugepages and fallback to smaller pages.
Optional patch, but useful for development and understanding the system.
Contains improvements from Andrea Arcangeli and Johannes Weiner
[[email protected]: coding-style fixes]
[[email protected]: fix vmstat_text[] entries]
Signed-off-by: Andi Kleen <[email protected]>
Acked-by: Andrea Arcangeli <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions