diff options
author | Mike Rapoport <[email protected]> | 2019-03-11 23:30:50 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-03-12 10:04:02 -0700 |
commit | c9a688a3e918c4eb4f3916ff99a6dae8995af41b (patch) | |
tree | 29faf621dd594f941023178df41afdcc6fe2c58c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fe145124dbe53c86bf32b941b2f2f88f891d985d (diff) |
memblock: split checks whether a region should be skipped to a helper function
__next_mem_range() and __next_mem_range_rev() duplicate the code that
checks whether a region should be skipped because of node or flags
incompatibility.
Split this code into a helper function.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Reviewed-by: Andrew Morton <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions