diff options
author | Suren Baghdasaryan <surenb@google.com> | 2020-05-28 21:54:42 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-06-15 14:10:03 +0200 |
commit | 461daba06bdcb9c7a3f92b9bbd110e1f7d093ffc (patch) | |
tree | 83809825cabcd8d1ea54efb4d57e72266153fb19 /kernel/kthread.c | |
parent | x86, sched: Bail out of frequency invariance if turbo_freq/base_freq gives 0 (diff) | |
download | linux-461daba06bdcb9c7a3f92b9bbd110e1f7d093ffc.tar.xz linux-461daba06bdcb9c7a3f92b9bbd110e1f7d093ffc.zip |
psi: eliminate kthread_worker from psi trigger scheduling mechanism
Each psi group requires a dedicated kthread_delayed_work and
kthread_worker. Since no other work can be performed using psi_group's
kthread_worker, the same result can be obtained using a task_struct and
a timer directly. This makes psi triggering simpler by removing lists
and locks involved with kthread_worker usage and eliminates the need for
poll_scheduled atomic use in the hot path.
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200528195442.190116-1-surenb@google.com
Diffstat (limited to 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions