Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
06379aba
Commit
06379aba
authored
Apr 19, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sched: add SCHED_FEAT_DEADLINE
unused at the moment. Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
7ba2e74a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
kernel/sched.c
kernel/sched.c
+3
-1
No files found.
kernel/sched.c
View file @
06379aba
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment