From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4XGq-0007QA-CS for qemu-devel@nongnu.org; Mon, 15 Jun 2015 12:30:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4XGm-0007sJ-6a for qemu-devel@nongnu.org; Mon, 15 Jun 2015 12:30:00 -0400 Received: from mail-yk0-x232.google.com ([2607:f8b0:4002:c07::232]:35243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4XGm-0007s5-1d for qemu-devel@nongnu.org; Mon, 15 Jun 2015 12:29:56 -0400 Received: by ykar6 with SMTP id r6so34283165yka.2 for ; Mon, 15 Jun 2015 09:29:55 -0700 (PDT) Sender: Richard Henderson Message-ID: <557EFD7F.8070804@twiddle.net> Date: Mon, 15 Jun 2015 09:29:51 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1430810304-7904-1-git-send-email-pbonzini@redhat.com> <557EF438.8050802@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/3] Support more than 8 MMU modes, speedup PPC by 10% List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko Cc: Paolo Bonzini , qemu-devel , Alexander Graf On 06/15/2015 09:00 AM, Artyom Tarasenko wrote: > On Mon, Jun 15, 2015 at 5:50 PM, Richard Henderson wrote: >> On 06/11/2015 01:59 AM, Artyom Tarasenko wrote: >>> >>> This is a very promising approach. Would it also work on a large >>> numbers of MMU modes? >>> Particulary I wonder if it would work for SPARC, where 32-bit >>> processors have up to 65536 MMU contexts. >> >> >> No, it wouldn't. >> > > What would be a better approach there? Cache recently used contexts only? On alpha and arm, we simply ignore Address Space Numbers, which is what I assume this is for Sparc. I've tried several times to find an efficient way to do this for Alpha with no success. r~