Changes in kernel/generic/src/proc/scheduler.c [6eef3c4:935e28c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
r6eef3c4 r935e28c 52 52 #include <atomic.h> 53 53 #include <synch/spinlock.h> 54 #include <synch/workqueue.h> 55 #include <synch/rcu.h> 54 56 #include <config.h> 55 57 #include <context.h> … … 63 65 #include <debug.h> 64 66 #include <stacktrace.h> 67 #include <cpu.h> 65 68 66 69 static void scheduler_separated_stack(void); … … 86 89 { 87 90 before_thread_runs_arch(); 91 rcu_before_thread_runs(); 88 92 89 93 #ifdef CONFIG_FPU_LAZY … … 126 130 static void after_thread_ran(void) 127 131 { 132 workq_after_thread_ran(); 133 rcu_after_thread_ran(); 128 134 after_thread_ran_arch(); 129 135 } … … 218 224 goto loop; 219 225 } 226 227 ASSERT(!CPU->idle); 220 228 221 229 unsigned int i; … … 397 405 ASSERT((!THREAD) || (irq_spinlock_locked(&THREAD->lock))); 398 406 ASSERT(CPU != NULL); 407 ASSERT(interrupts_disabled()); 399 408 400 409 /* … … 420 429 421 430 case Exiting: 431 rcu_thread_exiting(); 422 432 repeat: 423 433 if (THREAD->detached) {
Note:
See TracChangeset
for help on using the changeset viewer.