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
00597c3e
Commit
00597c3e
authored
Jan 25, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sched: remove leftover debugging
remove leftover debugging. Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
6e1938d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
kernel/sched_rt.c
kernel/sched_rt.c
+0
-8
No files found.
kernel/sched_rt.c
View file @
00597c3e
...
...
@@ -253,8 +253,6 @@ static struct task_struct *pick_next_highest_task_rt(struct rq *rq, int cpu)
struct
list_head
*
queue
;
int
idx
;
assert_spin_locked
(
&
rq
->
lock
);
if
(
likely
(
rq
->
rt
.
rt_nr_running
<
2
))
return
NULL
;
...
...
@@ -500,8 +498,6 @@ static int push_rt_task(struct rq *rq)
int
ret
=
0
;
int
paranoid
=
RT_MAX_TRIES
;
assert_spin_locked
(
&
rq
->
lock
);
if
(
!
rq
->
rt
.
overloaded
)
return
0
;
...
...
@@ -546,8 +542,6 @@ static int push_rt_task(struct rq *rq)
goto
out
;
}
assert_spin_locked
(
&
lowest_rq
->
lock
);
deactivate_task
(
rq
,
next_task
,
0
);
set_task_cpu
(
next_task
,
lowest_rq
->
cpu
);
activate_task
(
lowest_rq
,
next_task
,
0
);
...
...
@@ -589,8 +583,6 @@ static int pull_rt_task(struct rq *this_rq)
int
cpu
;
int
ret
=
0
;
assert_spin_locked
(
&
this_rq
->
lock
);
/*
* If cpusets are used, and we have overlapping
* run queue cpusets, then this algorithm may not catch all.
...
...
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