From owner-svn-src-all@FreeBSD.ORG Wed Apr 10 18:53:15 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0C88D4E1; Wed, 10 Apr 2013 18:53:15 +0000 (UTC) (envelope-from neel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F24B61F7; Wed, 10 Apr 2013 18:53:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3AIrExX035931; Wed, 10 Apr 2013 18:53:14 GMT (envelope-from neel@svn.freebsd.org) Received: (from neel@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3AIrE83035930; Wed, 10 Apr 2013 18:53:14 GMT (envelope-from neel@svn.freebsd.org) Message-Id: <201304101853.r3AIrE83035930@svn.freebsd.org> From: Neel Natu Date: Wed, 10 Apr 2013 18:53:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249342 - head/usr.sbin/bhyve X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 18:53:15 -0000 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 (tycho.nightingale@plurisbusnetworks.com) 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