diff options
author | Valentin Schneider <valentin.schneider@arm.com> | 2020-11-02 18:45:12 +0000 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-11-10 18:39:06 +0100 |
commit | 17770579059258c5f1eef759e941af5f1a54f482 (patch) | |
tree | b57178b2a5d89ebebb869c6a175d6225d47a0c32 /kernel/sys.c | |
parent | cdb310474dece99985e4cdd2b96b1324e39c1c9d (diff) | |
download | linux-17770579059258c5f1eef759e941af5f1a54f482.tar.bz2 |
sched: Add WF_TTWU, WF_EXEC wakeup flags
To remove the sd_flag parameter of select_task_rq(), we need another way of
encoding wakeup types. There already is a WF_FORK flag, add the missing two.
With that said, we still need an easy way to turn WF_foo into
SD_bar (e.g. WF_TTWU into SD_BALANCE_WAKE). As suggested by Peter, let's
make our lives easier and make them match exactly, and throw in some
compile-time checks for good measure.
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201102184514.2733-2-valentin.schneider@arm.com
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions