Author: neel
Date: Wed Apr 10 18:53:14 2013
New Revision: 249342
URL: http://svnweb.freebsd.org/changeset/base/249342

Log:
  Remove obsolete comment about lack of locking for MMIO range lookup.
  
  Pointed out by:       Tycho Nightingale 
([email protected])

Modified:
  head/usr.sbin/bhyve/mem.c

Modified: head/usr.sbin/bhyve/mem.c
==============================================================================
--- head/usr.sbin/bhyve/mem.c   Wed Apr 10 18:13:33 2013        (r249341)
+++ head/usr.sbin/bhyve/mem.c   Wed Apr 10 18:53:14 2013        (r249342)
@@ -30,12 +30,6 @@
  * Memory ranges are represented with an RB tree. On insertion, the range
  * is checked for overlaps. On lookup, the key has the same base and limit
  * so it can be searched within the range.
- *
- * It is assumed that all setup of ranges takes place in single-threaded
- * mode before vCPUs have been started. As such, no locks are used on the
- * RB tree. If this is no longer the case, then a r/w lock could be used,
- * with readers on the lookup and a writer if the tree needs to be changed
- * (and per vCPU caches flushed)
  */
 
 #include <sys/cdefs.h>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to