2022-05-12 08:42:34

by Linus Torvalds

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

On Wed, May 11, 2022 at 10:37 AM Eric W. Biederman
<[email protected]> 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