From c238e2f0e32986756c9f0b817dbc7cd924e7f4b3 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Fri, 16 Aug 2019 20:35:15 +0200 Subject: Remove useless comment --- kern/thread.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'kern/thread.c') 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); -- cgit v1.2.3