aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeel Natu <neel@FreeBSD.org>2013-04-10 18:53:14 +0000
committerNeel Natu <neel@FreeBSD.org>2013-04-10 18:53:14 +0000
commitf1280b3805d813e41e67abb0b4e506c86d9ee733 (patch)
treea2edd0a017ef3a0562b4e9938c50729ed86693b6
parentf0105d2d234a0234d67834e74dfe9d8439707c21 (diff)
Notes
-rw-r--r--usr.sbin/bhyve/mem.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.sbin/bhyve/mem.c b/usr.sbin/bhyve/mem.c
index 6d4f26317d770..d5c79351223f7 100644
--- a/usr.sbin/bhyve/mem.c
+++ b/usr.sbin/bhyve/mem.c
@@ -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>