summaryrefslogtreecommitdiff
path: root/tools/lib/python/abi
diff options
context:
space:
mode:
authorBrendan Jackman <jackmanb@google.com>2026-07-03 12:31:42 +0000
committerAndrew Morton <akpm@linux-foundation.org>2026-07-30 19:40:40 -0700
commit4b2b50a9f899725f4434eb0ea6d508346e82b0d7 (patch)
tree1767985a21a8615a09a30734084839247108f00d /tools/lib/python/abi
parent03eaf4c445122993c162fe489396b8e704f47d67 (diff)
mm/page_alloc: some renames to clarify alloc_flags scopes
It's pretty confusing that: - The slowpath and fastpath have a totally distinct set of alloc_flags. - gfp_to_alloc_flags() sounds generic but it only influences the slowpath. Rename some variables to highlight which alloc_flags are fastpath-specific. Rename gfp_to_alloc_flags() to highlight that it's slowpath-specific. gfp_to_alloc_flags_cma() and gfp_to_alloc_flags_nonblocking() currently have perfectly harmless names, but to keep the naming consistent also rename those to the alloc_flags_*() pattern (which already exists for alloc_flags_nofragment()). Link: https://lore.kernel.org/20260703-alloc-trylock-v5-2-c87b714e19d3@google.com Signed-off-by: Brendan Jackman <jackmanb@google.com> Reviewed-by: Vlastimil Babka (SUSE) <vbabka@kernel.org> Acked-by: JP Kobryn <jp.kobryn@linux.dev> Reviewed-by: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/lib/python/abi')
0 files changed, 0 insertions, 0 deletions