Commit 06379aba authored by Ingo Molnar's avatar Ingo Molnar

sched: add SCHED_FEAT_DEADLINE

unused at the moment.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 7ba2e74a
...@@ -742,6 +742,7 @@ enum { ...@@ -742,6 +742,7 @@ enum {
SCHED_FEAT_HRTICK = 64, SCHED_FEAT_HRTICK = 64,
SCHED_FEAT_DOUBLE_TICK = 128, SCHED_FEAT_DOUBLE_TICK = 128,
SCHED_FEAT_NORMALIZED_SLEEPER = 256, SCHED_FEAT_NORMALIZED_SLEEPER = 256,
SCHED_FEAT_DEADLINE = 512,
}; };
const_debug unsigned int sysctl_sched_features = const_debug unsigned int sysctl_sched_features =
...@@ -753,7 +754,8 @@ const_debug unsigned int sysctl_sched_features = ...@@ -753,7 +754,8 @@ const_debug unsigned int sysctl_sched_features =
SCHED_FEAT_SYNC_WAKEUPS * 1 | SCHED_FEAT_SYNC_WAKEUPS * 1 |
SCHED_FEAT_HRTICK * 1 | SCHED_FEAT_HRTICK * 1 |
SCHED_FEAT_DOUBLE_TICK * 0 | SCHED_FEAT_DOUBLE_TICK * 0 |
SCHED_FEAT_NORMALIZED_SLEEPER * 1; SCHED_FEAT_NORMALIZED_SLEEPER * 1 |
SCHED_FEAT_DEADLINE * 1;
#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment