diff options
author | Marco Elver <elver@google.com> | 2021-07-01 03:54:03 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-01 20:06:03 +0200 |
commit | ff06e45d3aace3f93d23956c1e655224f363ebe2 (patch) | |
tree | fd8a83bf0ec74e7a52f62b971b64ccc69f664ecd /fs/proc/task_mmu.c | |
parent | mm/thp: define default pmd_pgtable() (diff) | |
download | linux-ff06e45d3aace3f93d23956c1e655224f363ebe2.tar.xz linux-ff06e45d3aace3f93d23956c1e655224f363ebe2.zip |
kfence: unconditionally use unbound work queue
Unconditionally use unbound work queue, and not just if wq_power_efficient
is true. Because if the system is idle, KFENCE may wait, and by being run
on the unbound work queue, we permit the scheduler to make better
scheduling decisions and not require pinning KFENCE to the same CPU upon
waking up.
Link: https://lkml.kernel.org/r/20210521111630.472579-1-elver@google.com
Fixes: 36f0b35d0894 ("kfence: use power-efficient work queue to run delayed work")
Signed-off-by: Marco Elver <elver@google.com>
Reported-by: Hillf Danton <hdanton@sina.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/task_mmu.c')
0 files changed, 0 insertions, 0 deletions