aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorSidhartha Kumar <[email protected]>2022-12-14 22:17:57 -0800
committerAndrew Morton <[email protected]>2023-01-18 17:12:36 -0800
commit04a42e72d77a93a166b79c34b7bc862f55a53967 (patch)
tree09f4b6030f6d61881d226f92afb7fb6cb8ee14d6 /tools/perf/scripts/python/flamegraph.py
parent1301f9313484f9eeb09904988b2aabd398492797 (diff)
mm: move folio_set_compound_order() to mm/internal.h
folio_set_compound_order() is moved to an mm-internal location so external folio users cannot misuse this function. Change the name of the function to folio_set_order() and use WARN_ON_ONCE() rather than BUG_ON. Also, handle the case if a non-large folio is passed and add clarifying comments to the function. Link: https://lore.kernel.org/lkml/[email protected]/T/ Link: https://lkml.kernel.org/r/[email protected] Fixes: 9fd330582b2f ("mm: add folio dtor and order setter functions") Signed-off-by: Sidhartha Kumar <[email protected]> Suggested-by: Mike Kravetz <[email protected]> Suggested-by: Muchun Song <[email protected]> Suggested-by: Matthew Wilcox <[email protected]> Suggested-by: John Hubbard <[email protected]> Reviewed-by: John Hubbard <[email protected]> Reviewed-by: Muchun Song <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions