diff options
author | Ingo Molnar | 2020-05-28 10:52:37 +0200 |
---|---|---|
committer | Ingo Molnar | 2020-05-28 10:52:37 +0200 |
commit | 498bdcdb949e879d4a45f415468aef802a3dff4a (patch) | |
tree | ebed096e03927a8b4750e2bf1681c37322d72faa /kernel/sched/fair.c | |
parent | 2ebb17717550607bcd85fb8cf7d24ac870e9d762 (diff) | |
parent | 18f855e574d9799a0e7489f8ae6fd8447d0dd74a (diff) |
Merge branch 'sched/urgent' into sched/core, to pick up fix
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/fair.c')
-rw-r--r-- | kernel/sched/fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 01f94cf52783..dda9b194d225 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -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. */ - if (!curr->mm || (curr->flags & PF_EXITING) || work->next != work) + if ((curr->flags & (PF_EXITING | PF_KTHREAD)) || work->next != work) return; /* |