projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8717734
)
mm/page_alloc: use str_off_on() helper in build_all_zonelists()
author
Thorsten Blum
<thorsten.blum@linux.dev>
Mon, 21 Oct 2024 09:13:40 +0000
(11:13 +0200)
committer
Andrew Morton
<akpm@linux-foundation.org>
Thu, 7 Nov 2024 04:11:18 +0000
(20:11 -0800)
Remove hard-coded strings by using the str_off_on() helper function.
Link:
https://lkml.kernel.org/r/20241021091340.5243-2-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index 8ad38cd5e574b6d6dd9efd95f5b1d69c0f3e0835..0d6301120fc41b0e6c12cbb7b6a2aed786885afb 100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-5493,7
+5493,7
@@
void __ref build_all_zonelists(pg_data_t *pgdat)
pr_info("Built %u zonelists, mobility grouping %s. Total pages: %ld\n",
nr_online_nodes,
-
page_group_by_mobility_disabled ? "off" : "on"
,
+
str_off_on(page_group_by_mobility_disabled)
,
vm_total_pages);
#ifdef CONFIG_NUMA
pr_info("Policy zone: %s\n", zone_names[policy_zone]);