diff options
Diffstat (limited to 'kern/thread.c')
-rw-r--r-- | kern/thread.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kern/thread.c b/kern/thread.c index 0bad0752..dd0bf51f 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -671,9 +671,7 @@ thread_runq_schedule(struct thread_runq *runq) /* * That's where the true context switch occurs. The next thread must - * unlock the run queue and reenable preemption. Note that unlocking - * and locking the run queue again is equivalent to a full memory - * barrier. + * unlock the run queue and reenable preemption. */ latomic_fence(LATOMIC_ACQ_REL); tcb_switch(&prev->tcb, &next->tcb); |