summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_ule.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-09-17 17:43:32 +0000
committermav <mav@FreeBSD.org>2014-09-17 17:43:32 +0000
commitd4e6695660224611a75e6ba3d618198a3bfa4123 (patch)
tree931db9dd7f12d729fac8b74f1a2ceadd83968f7b /sys/kern/sched_ule.c
parente4c630d701457a59a7b76b8067a93963c9d59c21 (diff)
downloadFreeBSD-src-d4e6695660224611a75e6ba3d618198a3bfa4123.zip
FreeBSD-src-d4e6695660224611a75e6ba3d618198a3bfa4123.tar.gz
Reprase r271616 comments.
Submitted by: alc MFC after: 1 month
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r--sys/kern/sched_ule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c
index 3ed0d0b..473e334 100644
--- a/sys/kern/sched_ule.c
+++ b/sys/kern/sched_ule.c
@@ -1039,8 +1039,8 @@ tdq_notify(struct tdq *tdq, struct thread *td)
return;
/*
- * Make sure that tdq_load updated before calling this function
- * is globally visible before we read tdq_cpu_idle. Idle thread
+ * Make sure that our caller's earlier update to tdq_load is
+ * globally visible before we read tdq_cpu_idle. Idle thread
* accesses both of them without locks, and the order is important.
*/
mb();
OpenPOWER on IntegriCloud