diff options
author | Naoya Horiguchi <[email protected]> | 2015-04-15 16:13:05 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-04-15 16:35:16 -0700 |
commit | 64d37a2baf5e5c0f1009c0ef290a9027de721d66 (patch) | |
tree | 6d36f30d67e7a2bbf595248097ad5a75362aa611 /tools/perf/scripts/python/sched-migration.py | |
parent | 2564f683d1a6cb76893199ce68e6484725621e49 (diff) |
mm/memory-failure.c: define page types for action_result() in one place
This cleanup patch moves all strings passed to action_result() into a
singl= e array action_page_type so that a reader can easily find which
kind of actio= n results are possible. And this patch also fixes the
odd lines to be printed out, like "unknown page state page" or "free
buddy, 2nd try page".
[[email protected]: rename messages, per David]
[[email protected]: s/DIRTY_UNEVICTABLE_LRU/CLEAN_UNEVICTABLE_LRU', per Andi]
Signed-off-by: Naoya Horiguchi <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: "Xie XiuQi" <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Chen Gong <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions