diff options
| author | Mel Gorman <[email protected]> | 2016-05-19 17:13:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-05-19 19:12:14 -0700 |
| commit | f75fb889d18d362e336f8d3fba158a8636d0a063 (patch) | |
| tree | 926dac7a644e2405782f3e9c0b0d0a8073882abd /tools/perf/scripts/python/netdev-times.py | |
| parent | 754078eb45df8069f389f3371002e7e24962e1a2 (diff) | |
mm, page_alloc: avoid unnecessary zone lookups during pageblock operations
Pageblocks have an associated bitmap to store migrate types and whether
the pageblock should be skipped during compaction. The bitmap may be
associated with a memory section or a zone but the zone is looked up
unconditionally. The compiler should optimise this away automatically
so this is a cosmetic patch only in many cases.
Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions