Re: [PATCH] sched/rt: Do not pull from current CPU if only one cpu to pull

From: Juri Lelli
Date: Mon Dec 04 2017 - 04:08:10 EST


On 04/12/17 03:09, Steven Rostedt wrote:
> On Mon, 4 Dec 2017 08:45:17 +0100
> Juri Lelli <juri.lelli@xxxxxxxxxx> wrote:
>
> > Right. I was wondering however if for the truly UP case we shouldn't be
> > initiating/queueing callbacks (pull/push) at all?
>
> If !CONFIG_SMP then it's not compiled in. The issue came up when Daniel
> ran a CONFIG_SMP kernel on an arch that only supports UP.
>

Right, sorry. I meant num_online_cpus() == 1.

Best,

Juri