Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
64b7482d
Commit
64b7482d
authored
Nov 24, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sched/rt' into sched/core
parents
957ad016
50ee9176
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
include/linux/sched.h
include/linux/sched.h
+0
-2
kernel/sched.c
kernel/sched.c
+1
-1
kernel/sched_rt.c
kernel/sched_rt.c
+4
-3
No files found.
include/linux/sched.h
View file @
64b7482d
...
...
@@ -259,8 +259,6 @@ static inline int select_nohz_load_balancer(int cpu)
}
#endif
extern
unsigned
long
rt_needs_cpu
(
int
cpu
);
/*
* Only dump TASK_* tasks. (0 for all tasks)
*/
...
...
kernel/sched.c
View file @
64b7482d
...
...
@@ -2806,7 +2806,7 @@ static int double_lock_balance(struct rq *this_rq, struct rq *busiest)
return
ret
;
}
static
void
double_unlock_balance
(
struct
rq
*
this_rq
,
struct
rq
*
busiest
)
static
inline
void
double_unlock_balance
(
struct
rq
*
this_rq
,
struct
rq
*
busiest
)
__releases
(
busiest
->
lock
)
{
spin_unlock
(
&
busiest
->
lock
);
...
...
kernel/sched_rt.c
View file @
64b7482d
...
...
@@ -537,13 +537,13 @@ static void update_curr_rt(struct rq *rq)
for_each_sched_rt_entity
(
rt_se
)
{
rt_rq
=
rt_rq_of_se
(
rt_se
);
spin_lock
(
&
rt_rq
->
rt_runtime_lock
);
if
(
sched_rt_runtime
(
rt_rq
)
!=
RUNTIME_INF
)
{
spin_lock
(
&
rt_rq
->
rt_runtime_lock
);
rt_rq
->
rt_time
+=
delta_exec
;
if
(
sched_rt_runtime_exceeded
(
rt_rq
))
resched_task
(
curr
);
spin_unlock
(
&
rt_rq
->
rt_runtime_lock
);
}
spin_unlock
(
&
rt_rq
->
rt_runtime_lock
);
}
}
...
...
@@ -910,7 +910,8 @@ static void put_prev_task_rt(struct rq *rq, struct task_struct *p)
#define RT_MAX_TRIES 3
static
int
double_lock_balance
(
struct
rq
*
this_rq
,
struct
rq
*
busiest
);
static
void
double_unlock_balance
(
struct
rq
*
this_rq
,
struct
rq
*
busiest
);
static
inline
void
double_unlock_balance
(
struct
rq
*
this_rq
,
struct
rq
*
busiest
);
static
void
deactivate_task
(
struct
rq
*
rq
,
struct
task_struct
*
p
,
int
sleep
);
...
...
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