Messages in this thread | | | Date | Wed, 12 May 2021 13:00:06 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 0/2] sched: Address idle task vs pcpu kthread checks |
| |
On Mon, May 10, 2021 at 04:10:22PM +0100, Valentin Schneider wrote: > Note: I remember seeing some patch(es) from Peter tackling this exact > problem, but I couldn't find them again.
Found it (by accident), yours is nicer though :-)
> Valentin Schneider (1): > sched: Make the idle task quack like a per-CPU kthread > > Yejune Deng (1): > lib/smp_processor_id: Use is_percpu_thread() instead of > nr_cpus_allowed > > include/linux/kthread.h | 2 ++ > kernel/kthread.c | 30 ++++++++++++++++++------------ > kernel/sched/core.c | 21 +++++++++++++++------ > lib/smp_processor_id.c | 6 +----- > 4 files changed, 36 insertions(+), 23 deletions(-)
Thanks!
| |