Re: [PATCH 8/7] sched: Update task_tick_numa to ignore tasks without an mm

From: Linus Torvalds
Date: Wed May 11 2022 - 13:42:55 EST


On Wed, May 11, 2022 at 10:37 AM Eric W. Biederman
<ebiederm@xxxxxxxxxxxx> wrote:
>
> With the change to init and the user mode helper processes to not have
> PF_KTHREAD set before they call kernel_execve the PF_KTHREAD test in
> task_tick_numa became insufficient to detect all tasks that have
> "->mm == NULL". Correct that by testing for "->mm == NULL" directly.

If you end up rebasing at any time for other reasons (I didn't even
check if you keep this series in a public git branch), please just
fold this fix into the original commit, so that we don't have
unnecessary bisection issues.

Linus