Received: from eggs.gnu.org ([208.118.235.92]:60693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG9AF-0004wl-J0 for qemu-devel@nongnu.org; Mon, 24 Sep 2012 09:57:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TG9AE-00051r-Jt for qemu-devel@nongnu.org; Mon, 24 Sep 2012 09:57:35 -0400 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <1348198950-13686-5-git-send-email-david@gibson.dropbear.id.au> Date: Mon, 24 Sep 2012 15:57:30 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1348198950-13686-1-git-send-email-david@gibson.dropbear.id.au> <1348198950-13686-5-git-send-email-david@gibson.dropbear.id.au> Subject: Re: [Qemu-devel] [PATCH 4/4] pseries: Remove unnecessary locking from PAPR hash table hcalls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 21.09.2012, at 05:42, David Gibson wrote: > In the paravirtualized environment provided by PAPR, there is a = standard > locking scheme so that hypercalls updating the hash page table from > different guest threads don't corrupt the haah table state. We = implement > this HVLOCK bit in out page table hypercalls. However, it is not = necessary > in our case, since the hypercalls all run in the qemu environment = under the > big qemu lock. >=20 > Therefore, this patch removes the locking code. This has the = additional > advantage of freeing up a hash PTE bit which will be useful for = migration > support. >=20 > Signed-off-by: David Gibson Thanks, applied to ppc-next. If we ever get around to implement multi-threaded TCG, we know where to = find the code :) Alex