Skip to content

Commit

Permalink
sched: feat affine wakeups
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Apr 19, 2008
1 parent b85d066 commit 1fc8afa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ enum {
SCHED_FEAT_HRTICK = 8,
SCHED_FEAT_DOUBLE_TICK = 16,
SCHED_FEAT_SYNC_WAKEUPS = 32,
SCHED_FEAT_AFFINE_WAKEUPS = 64,
};

const_debug unsigned int sysctl_sched_features =
Expand All @@ -636,7 +637,8 @@ const_debug unsigned int sysctl_sched_features =
SCHED_FEAT_START_DEBIT * 1 |
SCHED_FEAT_HRTICK * 1 |
SCHED_FEAT_DOUBLE_TICK * 0 |
SCHED_FEAT_SYNC_WAKEUPS * 0;
SCHED_FEAT_SYNC_WAKEUPS * 0 |
SCHED_FEAT_AFFINE_WAKEUPS * 1;

#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)

Expand Down

0 comments on commit 1fc8afa

Please sign in to comment.