diff options
author | Bob Liu <[email protected]> | 2012-01-12 17:19:07 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-01-12 20:13:07 -0800 |
commit | d0048b0e59c1218d62bb4d014f34bbd7e7c0a214 (patch) | |
tree | f6a69889bcb60b253ab37029616ebe6fa2bd24f9 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 3ed28fa1080c73747ce17f2025b28b062fb5aa7f (diff) |
page_alloc: break early in check_for_regular_memory()
If there is a zone below ZONE_NORMAL has present_pages, we can set node
state to N_NORMAL_MEMORY, no need to loop to end.
Signed-off-by: Bob Liu <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Johannes Weiner <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions