Received: from eggs.gnu.org ([2001:4830:134:3::10]:44278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ztanc-0008KH-Tj for qemu-devel@nongnu.org; Tue, 03 Nov 2015 07:34:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtanX-0004Gh-Em for qemu-devel@nongnu.org; Tue, 03 Nov 2015 07:34:52 -0500 Message-ID: <5638A9E4.6010900@msgid.tls.msk.ru> Date: Tue, 03 Nov 2015 15:34:44 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <1445514690-7883-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1445514690-7883-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] exec: avoid unnecessary cacheline bounce on ram_list.mru_block List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, cota@braap.org 22.10.2015 14:51, Paolo Bonzini write: > Whenever the MRU cache hits for the list of RAM blocks, qemu_get_ram_block > does an unnecessary write that causes a processor cache line to bounce > from one core to another. This causes a performance hit. Applied to -trivial. A good one! :) /mjt