summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2019-08-16 20:35:15 +0200
committerRichard Braun <rbraun@sceen.net>2019-08-16 20:35:15 +0200
commitc238e2f0e32986756c9f0b817dbc7cd924e7f4b3 (patch)
tree49762361cfed12891ca513be1b429854d3159bc0
parent84d47c358b1d07b9155474d7075e082c52147ebc (diff)
Remove useless comment
-rw-r--r--kern/thread.c4
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);