process_32.c (2bbb6817c0ac1b5f2a68d720f364f98eeb1ac4fd) | process_32.c (1268fbc746ea1cd279886a740dcbad4ba5232225) |
---|---|
1/* 2 * Copyright (C) 1995 Linus Torvalds 3 * 4 * Pentium III FXSR, SSE support 5 * Gareth Hughes <gareth@valinux.com>, May 2000 6 */ 7 8/* --- 85 unchanged lines hidden (view full) --- 94 * canaries already on the stack wont ever trigger). 95 */ 96 boot_init_stack_canary(); 97 98 current_thread_info()->status |= TS_POLLING; 99 100 /* endless idle loop with no priority at all */ 101 while (1) { | 1/* 2 * Copyright (C) 1995 Linus Torvalds 3 * 4 * Pentium III FXSR, SSE support 5 * Gareth Hughes <gareth@valinux.com>, May 2000 6 */ 7 8/* --- 85 unchanged lines hidden (view full) --- 94 * canaries already on the stack wont ever trigger). 95 */ 96 boot_init_stack_canary(); 97 98 current_thread_info()->status |= TS_POLLING; 99 100 /* endless idle loop with no priority at all */ 101 while (1) { |
102 tick_nohz_idle_enter_norcu(); | 102 tick_nohz_idle_enter(); 103 rcu_idle_enter(); |
103 while (!need_resched()) { 104 105 check_pgt_cache(); 106 rmb(); 107 108 if (cpu_is_offline(cpu)) 109 play_dead(); 110 111 local_touch_nmi(); 112 local_irq_disable(); 113 /* Don't trace irqs off for idle */ 114 stop_critical_timings(); 115 if (cpuidle_idle_call()) 116 pm_idle(); 117 start_critical_timings(); 118 } | 104 while (!need_resched()) { 105 106 check_pgt_cache(); 107 rmb(); 108 109 if (cpu_is_offline(cpu)) 110 play_dead(); 111 112 local_touch_nmi(); 113 local_irq_disable(); 114 /* Don't trace irqs off for idle */ 115 stop_critical_timings(); 116 if (cpuidle_idle_call()) 117 pm_idle(); 118 start_critical_timings(); 119 } |
119 tick_nohz_idle_exit_norcu(); | 120 rcu_idle_exit(); 121 tick_nohz_idle_exit(); |
120 preempt_enable_no_resched(); 121 schedule(); 122 preempt_disable(); 123 } 124} 125 126void __show_regs(struct pt_regs *regs, int all) 127{ --- 282 unchanged lines hidden --- | 122 preempt_enable_no_resched(); 123 schedule(); 124 preempt_disable(); 125 } 126} 127 128void __show_regs(struct pt_regs *regs, int all) 129{ --- 282 unchanged lines hidden --- |