diff options
| author | Chanho Min <[email protected]> | 2016-05-19 17:11:57 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-05-19 19:12:14 -0700 |
| commit | 29f9cb53d25cd9916537b44b0af7f0b95a2e4438 (patch) | |
| tree | e3a230c8660143be59b2d0ae4cd5b90a8e385fdd /tools/perf/scripts/python | |
| parent | fdd048e12c9a46d058f69822cb15641adae181e1 (diff) | |
mm/highmem: simplify is_highmem()
is_highmem() can be simplified by use of is_highmem_idx(). This patch
removes redundant code and will make it easier to maintain if the zone
policy is changed or a new zone is added.
(akpm: saves me 25 bytes of text per is_highmem() callsite)
Signed-off-by: Chanho Min <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions