Loading kernel/sched/fair.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2908,7 +2908,7 @@ static void task_tick_numa(struct rq *rq, struct task_struct *curr) /* /* * We don't care about NUMA placement if we don't have memory. * We don't care about NUMA placement if we don't have memory. */ */ if (!curr->mm || (curr->flags & PF_EXITING) || work->next != work) if ((curr->flags & (PF_EXITING | PF_KTHREAD)) || work->next != work) return; return; /* /* Loading Loading
kernel/sched/fair.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2908,7 +2908,7 @@ static void task_tick_numa(struct rq *rq, struct task_struct *curr) /* /* * We don't care about NUMA placement if we don't have memory. * We don't care about NUMA placement if we don't have memory. */ */ if (!curr->mm || (curr->flags & PF_EXITING) || work->next != work) if ((curr->flags & (PF_EXITING | PF_KTHREAD)) || work->next != work) return; return; /* /* Loading