aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2020-04-06 20:04:12 -0700
committerLinus Torvalds <[email protected]>2020-04-07 10:43:38 -0700
commit7ca8783ad816972f0c64a189b8ba6615c6b78521 (patch)
treed4d7c3c04260d7393c866eedebfd0590f32014a5 /tools/perf/scripts/python/bin/stackcollapse-record
parent4afdacec2e313509bf9c25f3370be299a0d60b9a (diff)
mm/migrate.c: wrap do_move_pages_to_node() and store_status()
Usually, do_move_pages_to_node() and store_status() are used in combination. We have three similar call sites. Let's provide a wrapper for both function calls - move_pages_and_store_status - to make the calling code easier to maintain and fix (as noted by Yang Shi, the return value handling of do_move_pages_to_node() has a flaw). [[email protected] rephrase changelog] 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