aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 263e25e10204..7c5efad78c09 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -628,6 +628,7 @@ enum {
628 SCHED_FEAT_HRTICK = 8, 628 SCHED_FEAT_HRTICK = 8,
629 SCHED_FEAT_DOUBLE_TICK = 16, 629 SCHED_FEAT_DOUBLE_TICK = 16,
630 SCHED_FEAT_SYNC_WAKEUPS = 32, 630 SCHED_FEAT_SYNC_WAKEUPS = 32,
631 SCHED_FEAT_AFFINE_WAKEUPS = 64,
631}; 632};
632 633
633const_debug unsigned int sysctl_sched_features = 634const_debug unsigned int sysctl_sched_features =
@@ -636,7 +637,8 @@ const_debug unsigned int sysctl_sched_features =
636 SCHED_FEAT_START_DEBIT * 1 | 637 SCHED_FEAT_START_DEBIT * 1 |
637 SCHED_FEAT_HRTICK * 1 | 638 SCHED_FEAT_HRTICK * 1 |
638 SCHED_FEAT_DOUBLE_TICK * 0 | 639 SCHED_FEAT_DOUBLE_TICK * 0 |
639 SCHED_FEAT_SYNC_WAKEUPS * 0; 640 SCHED_FEAT_SYNC_WAKEUPS * 0 |
641 SCHED_FEAT_AFFINE_WAKEUPS * 1;
640 642
641#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) 643#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)
642 644