Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288772
b: refs/heads/master
c: 15f827b
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker authored and Thomas Gleixner committed Feb 15, 2012
1 parent eb878ac commit 9abffdd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 430ee8819553f66fe00e36f676a45886d76e7e8b
refs/heads/master: 15f827be93928890bba965bc175caee50c4406d2
11 changes: 6 additions & 5 deletions trunk/kernel/time/tick-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,20 +558,21 @@ void tick_nohz_idle_exit(void)

local_irq_disable();

if (ts->idle_active || (ts->inidle && ts->tick_stopped))
WARN_ON_ONCE(!ts->inidle);

ts->inidle = 0;

if (ts->idle_active || ts->tick_stopped)
now = ktime_get();

if (ts->idle_active)
tick_nohz_stop_idle(cpu, now);

if (!ts->inidle || !ts->tick_stopped) {
ts->inidle = 0;
if (!ts->tick_stopped) {
local_irq_enable();
return;
}

ts->inidle = 0;

/* Update jiffies first */
select_nohz_load_balancer(0);
tick_do_update_jiffies64(now);
Expand Down

0 comments on commit 9abffdd

Please sign in to comment.