Messages in this thread | | | Date | Tue, 1 Mar 2022 19:57:52 +0100 | Subject | Re: [PATCH v2 1/2] sched/isolation: use raw_smp_processor_id() in housekeeping_any_cpu() | From | Daniel Bristot de Oliveira <> |
| |
On 3/1/22 12:30, Nicolas Saenz Julienne wrote: > housekeeping_any_cpu() will return a housekeeping CPU. That's it. It'll > try to optimize for NUMA locality and to use the local CPU, but it's not > a requisite. > > So let's use raw_smp_processor_id() instead of its vanilla counterpart > in order to allow users to query for housekeeping CPUs without having to > disable preemption. > > Signed-off-by: Nicolas Saenz Julienne <nsaenzju@redhat.com>
Reviewed-by: Daniel Bristot de Oliveira <bristot@kernel.org>
-- Daniel
| |