Re: [PATCH] cgroup/cpuset: simplify the percpu kthreads check in update_tasks_cpumask()

From: Tejun Heo
Date: Mon Jul 10 2023 - 16:25:28 EST


On Tue, Jul 04, 2023 at 07:30:49PM +0800, Miaohe Lin wrote:
> kthread_is_per_cpu() can be called directly without checking whether
> PF_KTHREAD is set in task->flags. So remove PF_KTHREAD check to make
> code more concise.
>
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

Applied to cgroup/for-6.6.

Thanks.

--
tejun