Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67759
b: refs/heads/master
c: 0229068
h: refs/heads/master
i:
  67757: d85ed17
  67755: b1d38a6
  67751: 76c97dd
  67743: 9e377e2
v: v3
  • Loading branch information
Chris Wright authored and Thomas Gleixner committed Oct 12, 2007
1 parent 9833b28 commit 140f51c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4d58cbd158dc9b30c55c0e3881ae7c6b8843d5a
refs/heads/master: 02290683343391a50f45599710295dafa2ddd018
4 changes: 4 additions & 0 deletions trunk/arch/x86/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <linux/notifier.h>
#include <linux/kprobes.h>
#include <linux/kdebug.h>
#include <linux/tick.h>

#include <asm/uaccess.h>
#include <asm/pgtable.h>
Expand Down Expand Up @@ -208,6 +209,8 @@ void cpu_idle (void)
if (__get_cpu_var(cpu_idle_state))
__get_cpu_var(cpu_idle_state) = 0;

tick_nohz_stop_sched_tick();

rmb();
idle = pm_idle;
if (!idle)
Expand All @@ -228,6 +231,7 @@ void cpu_idle (void)
__exit_idle();
}

tick_nohz_restart_sched_tick();
preempt_enable_no_resched();
schedule();
preempt_disable();
Expand Down

0 comments on commit 140f51c

Please sign in to comment.