diff options
| author | Wei Yang <[email protected]> | 2020-04-06 20:04:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-04-07 10:43:38 -0700 |
| commit | 5d7ae891cdc68f30e8b6db35bbd7f0b1aeee189c (patch) | |
| tree | 7fb633fbccabb5e5935e0021638a90e2e364b946 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 7ca8783ad816972f0c64a189b8ba6615c6b78521 (diff) | |
mm/migrate.c: check pagelist in move_pages_and_store_status()
When pagelist is empty, it is not necessary to do the move and store.
Also it consolidate the empty list check in one place.
Signed-off-by: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions