From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtvOY-0001wh-JN for qemu-devel@nongnu.org; Tue, 02 Jul 2013 03:53:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtvOX-0004J4-Lr for qemu-devel@nongnu.org; Tue, 02 Jul 2013 03:53:02 -0400 Received: from mail-bk0-x236.google.com ([2a00:1450:4008:c01::236]:55779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtvOX-0004Is-F7 for qemu-devel@nongnu.org; Tue, 02 Jul 2013 03:53:01 -0400 Received: by mail-bk0-f54.google.com with SMTP id it16so2074095bkc.41 for ; Tue, 02 Jul 2013 00:53:00 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51D286D8.4000403@redhat.com> Date: Tue, 02 Jul 2013 09:52:56 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1372438702-20491-1-git-send-email-pbonzini@redhat.com> <1372438702-20491-8-git-send-email-pbonzini@redhat.com> <51D1CB7B.4060005@siemens.com> <51D1EB25.2010109@redhat.com> <51D27C9D.8090909@siemens.com> In-Reply-To: <51D27C9D.8090909@siemens.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 07/11] exec: check MRU in qemu_ram_addr_from_host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: "peter.maydell@linaro.org" , "qemu-devel@nongnu.org" Il 02/07/2013 09:09, Jan Kiszka ha scritto: >> > >> > Right now there is hardly any documentation of what does _not_ require >> > the iothread mutex... basically everything except qemu_safe_ram_ptr and >> > qemu_ram_ptr_length requires it. > I don't disagree regarding the current state. But that doesn't imply it > has to be preserved. As soon as there are exec.c APIs that are BQL-safe, I'll document the state of all of them. In the meanwhile, I'll add a note that memory_region_find can be called outside the BQL. Paolo