diff options
author | Peter Oskolkov <posk@google.com> | 2023-03-07 23:31:57 -0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2023-07-17 16:08:08 -0700 |
commit | ab83f455f04df5b2f7c6d4de03b6d2eaeaa27b8a (patch) | |
tree | 7cd231764749291cd6cdd701065bdb2b6700aba8 /include/linux/completion.h | |
parent | 4943b66df18a0e8aedd006792ed73257cd2da8f8 (diff) | |
download | linux-ab83f455f04df5b2f7c6d4de03b6d2eaeaa27b8a.tar.gz linux-ab83f455f04df5b2f7c6d4de03b6d2eaeaa27b8a.tar.bz2 linux-ab83f455f04df5b2f7c6d4de03b6d2eaeaa27b8a.zip |
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 <posk@google.com>
Signed-off-by: Andrei Vagin <avagin@google.com>
Acked-by: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230308073201.3102738-3-avagin@google.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux/completion.h')
0 files changed, 0 insertions, 0 deletions