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