[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <60c62d7a-940a-e424-15e0-af47cd36eacf@redhat.com>
Date: Tue, 1 Mar 2022 19:57:52 +0100
From: Daniel Bristot de Oliveira <bristot@...hat.com>
To: Nicolas Saenz Julienne <nsaenzju@...hat.com>, mingo@...hat.com,
peterz@...radead.org, frederic@...nel.org, rostedt@...dmis.org
Cc: tglx@...utronix.de, mtosatti@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] sched/isolation: use raw_smp_processor_id() in
housekeeping_any_cpu()
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@...hat.com>
Reviewed-by: Daniel Bristot de Oliveira <bristot@...nel.org>
-- Daniel
Powered by blists - more mailing lists