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
5b16a221
Commit
5b16a221
authored
Oct 11, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sched/clock' into sched/urgent
parents
b922df73
5b7dba4f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
kernel/sched_clock.c
kernel/sched_clock.c
+3
-3
No files found.
kernel/sched_clock.c
View file @
5b16a221
...
@@ -119,12 +119,12 @@ static u64 __update_sched_clock(struct sched_clock_data *scd, u64 now)
...
@@ -119,12 +119,12 @@ static u64 __update_sched_clock(struct sched_clock_data *scd, u64 now)
/*
/*
* scd->clock = clamp(scd->tick_gtod + delta,
* scd->clock = clamp(scd->tick_gtod + delta,
* max(scd->tick_gtod, scd->clock),
* max(scd->tick_gtod, scd->clock),
*
scd->tick_gtod + TICK_NSEC
);
*
max(scd->clock, scd->tick_gtod + TICK_NSEC)
);
*/
*/
clock
=
scd
->
tick_gtod
+
delta
;
clock
=
scd
->
tick_gtod
+
delta
;
min_clock
=
wrap_max
(
scd
->
tick_gtod
,
scd
->
clock
);
min_clock
=
wrap_max
(
scd
->
tick_gtod
,
scd
->
clock
);
max_clock
=
scd
->
tick_gtod
+
TICK_NSEC
;
max_clock
=
wrap_max
(
scd
->
clock
,
scd
->
tick_gtod
+
TICK_NSEC
)
;
clock
=
wrap_max
(
clock
,
min_clock
);
clock
=
wrap_max
(
clock
,
min_clock
);
clock
=
wrap_min
(
clock
,
max_clock
);
clock
=
wrap_min
(
clock
,
max_clock
);
...
...
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