History

Merge branch 'sched/urgent' into sched/core, to pick up fix

Ingo Molnar committed 6 years ago

Commit 498bdcd2 parents 2ebb177 18f855e1 file · +1 −1Browse files

Unified · Split

kernel/sched/fair.c+1−1
@@ -2908,7 +2908,7 @@ static void task_tick_numa(struct rq *rq, struct task_struct *curr) · 2907 unmodified lines
29082908 /*
29092909 * We don't care about NUMA placement if we don't have memory.
29102910 */
2911− if (!curr->mm || (curr->flags & PF_EXITING) || work->next != work)
2911+ if ((curr->flags & (PF_EXITING | PF_KTHREAD)) || work->next != work)
29122912 return;
29132913
29142914 /*