From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPCTJ-0003Ll-4h for qemu-devel@nongnu.org; Tue, 11 Aug 2015 12:32:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPCTF-0006h7-El for qemu-devel@nongnu.org; Tue, 11 Aug 2015 12:32:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPCTF-0006h2-A8 for qemu-devel@nongnu.org; Tue, 11 Aug 2015 12:32:13 -0400 References: <1438966995-5913-1-git-send-email-a.rigo@virtualopensystems.com> <1438966995-5913-2-git-send-email-a.rigo@virtualopensystems.com> <55C9FE29.2080204@redhat.com> <55CA1AF8.1090409@redhat.com> From: Paolo Bonzini Message-ID: <55CA2383.60805@redhat.com> Date: Tue, 11 Aug 2015 18:32:03 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC v4 1/9] exec.c: Add new exclusive bitmap to ram_list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alvise rigo Cc: mttcg@greensocs.com, Claudio Fontana , QEMU Developers , Jani Kokkonen , VirtualOpenSystems Technical Team , =?UTF-8?Q?Alex_Benn=c3=a9e?= On 11/08/2015 18:11, alvise rigo wrote: >> > Why flush the entire cache (I understand you mean TLB)? > Sorry, I meant the TLB. > If for each removal of an exclusive entry we set also the bit to 1, we > force the following LL to make a tlb_flush() on every vCPU. What if you only flush one entry with tlb_flush_entry (on every vCPU)? Paolo