diff options
author | Peter Oskolkov <[email protected]> | 2023-03-07 23:31:57 -0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2023-07-17 16:08:08 -0700 |
commit | ab83f455f04df5b2f7c6d4de03b6d2eaeaa27b8a (patch) | |
tree | 7cd231764749291cd6cdd701065bdb2b6700aba8 /kernel/sched/completion.c | |
parent | 4943b66df18a0e8aedd006792ed73257cd2da8f8 (diff) |
sched: add WF_CURRENT_CPU and externise ttwu
Add WF_CURRENT_CPU wake flag that advices the scheduler to
move the wakee to the current CPU. This is useful for fast on-CPU
context switching use cases.
In addition, make ttwu external rather than static so that
the flag could be passed to it from outside of sched/core.c.
Signed-off-by: Peter Oskolkov <[email protected]>
Signed-off-by: Andrei Vagin <[email protected]>
Acked-by: "Peter Zijlstra (Intel)" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'kernel/sched/completion.c')
0 files changed, 0 insertions, 0 deletions