Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2014 17:43:33 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271713 - head/sys/kern
Message-ID:  <201409171743.s8HHhXqI076946@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Sep 17 17:43:32 2014
New Revision: 271713
URL: http://svnweb.freebsd.org/changeset/base/271713

Log:
  Reprase r271616 comments.
  
  Submitted by:	alc
  MFC after:	1 month

Modified:
  head/sys/kern/sched_ule.c

Modified: head/sys/kern/sched_ule.c
==============================================================================
--- head/sys/kern/sched_ule.c	Wed Sep 17 17:33:22 2014	(r271712)
+++ head/sys/kern/sched_ule.c	Wed Sep 17 17:43:32 2014	(r271713)
@@ -1039,8 +1039,8 @@ tdq_notify(struct tdq *tdq, struct threa
 		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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409171743.s8HHhXqI076946>