diff options
author | Sidhartha Kumar <[email protected]> | 2022-11-29 14:50:39 -0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-12-11 18:12:15 -0800 |
commit | 19fc1a7e8b2b3b0e18fbea84ee26517e1b0f1a6e (patch) | |
tree | e70af4b9650eb68d06a8f6f237b29aab955ed516 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d1c6095572d0cf00c0cd30378639ff9387b34edd (diff) |
mm/hugetlb: change hugetlb allocation functions to return a folio
Many hugetlb allocation helper functions have now been converting to
folios, update their higher level callers to be compatible with folios.
alloc_pool_huge_page is reorganized to avoid a smatch warning reporting
the folio variable is uninitialized.
[[email protected]: update alloc_and_dissolve_hugetlb_folio comments]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Sidhartha Kumar <[email protected]>
Reported-by: Wei Chen <[email protected]>
Suggested-by: John Hubbard <[email protected]>
Suggested-by: Rasmus Villemoes <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Miaohe Lin <[email protected]>
Cc: Mina Almasry <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Tarun Sahu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions