On Fri, 22 Dec 2017, Sebastian Andrzej Siewior wrote:
> - if (!IS_ENABLED(CONFIG_NO_HZ_COMMON) || !base->nohz_active)
> + if (!is_timers_nohz_active())
That's wrong. You are undoing the mainline changes. I'll send an updated one.
Thanks,
tglx
From: Thomas Gleixner
The members migrate_enable and nohz_active in the timer/hrtimer per CPU
bases have been introduced to avoid accessing global variables for these
decisions.
Still that results in a (cache hot) load and conditional branch, which can
be avoided by using static keys.
Implement
2 matches
Mail list logo