Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sched_ext: Use str_enabled_disabled() helper in update_selcpu_topology()

Remove hard-coded strings by using the str_enabled_disabled() helper
function.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Thorsten Blum and committed by
Tejun Heo
bc3a116a e197f5ec

+2 -2
+2 -2
kernel/sched/ext.c
··· 3376 3376 rcu_read_unlock(); 3377 3377 3378 3378 pr_debug("sched_ext: LLC idle selection %s\n", 3379 - enable_llc ? "enabled" : "disabled"); 3379 + str_enabled_disabled(enable_llc)); 3380 3380 pr_debug("sched_ext: NUMA idle selection %s\n", 3381 - enable_numa ? "enabled" : "disabled"); 3381 + str_enabled_disabled(enable_numa)); 3382 3382 3383 3383 if (enable_llc) 3384 3384 static_branch_enable_cpuslocked(&scx_selcpu_topo_llc);