]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: idle: use assign_cpu() to update the idle cpumask
authorAndrea Righi <arighi@nvidia.com>
Sat, 28 Dec 2024 10:02:50 +0000 (11:02 +0100)
committerTejun Heo <tj@kernel.org>
Sun, 29 Dec 2024 22:43:07 +0000 (12:43 -1000)
commit9cf9aceed21e3f08c94108bd688e812effce4423
tree6356b80d6bbaec38ec34ad6c79e1238cf5a2a300
parentbc3a116a44988103187b192414caddbcb598072d
sched_ext: idle: use assign_cpu() to update the idle cpumask

Use the assign_cpu() helper to set or clear the CPU in the idle mask,
based on the idle condition.

Acked-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c