Re: [RFC v2] sched/rt: Fix RT (group) throttling with nohz_full

2021-02-22 Thread Sebastian Andrzej Siewior
On 2021-02-02 10:00:10 [+0100], Jonathan Schwender wrote: > If nohz_full is enabled (more precisely HK_FLAG_TIMER is set), then > do_sched_rt_period_timer may be called on a housekeeping CPU, > which would not service the isolated CPU for a non-root cgroup > (requires a kernel with

[RFC v2] sched/rt: Fix RT (group) throttling with nohz_full

2021-02-02 Thread Jonathan Schwender
RFC v2 changes: Fix compile error if CONFIG_SMP is not set, which was Reported-by: kernel test robot I'm now using smp_processor_id() to get the ID of the CPU the timer is running on. If nohz_full is enabled (more precisely HK_FLAG_TIMER is set), then do_sched_rt_period_timer may be called