From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XU8dZ-0008Id-LD for qemu-devel@nongnu.org; Wed, 17 Sep 2014 02:22:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XU8dT-0005Uo-EZ for qemu-devel@nongnu.org; Wed, 17 Sep 2014 02:22:45 -0400 Date: Wed, 17 Sep 2014 02:22:19 -0400 (EDT) From: Paolo Bonzini Message-ID: <1959651544.50247750.1410934939759.JavaMail.zimbra@redhat.com> In-Reply-To: <5418B877.8080308@twiddle.net> References: <1410793421-6453-1-git-send-email-pbonzini@redhat.com> <1410793421-6453-4-git-send-email-pbonzini@redhat.com> <5418716A.9080508@gmail.com> <54187B3D.8000909@twiddle.net> <5418810E.3080100@redhat.com> <5418846E.8070608@twiddle.net> <5418B877.8080308@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 03/14] target-ppc: use separate indices for various translation modes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Tom Musta , Alexander Graf , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Peter Maydell > What if instead of having a "mmu_index" for the mmu arrays, we have a pointer > to the "mmu context". This does imply an extra memory load on the fast path, > but probably not an extra instruction. > > With this, we can suddenly afford to have a relatively large number of mmu > contexts, with which we could implement address space numbers for relevant > targets. > > It is, of course, a much larger change, but perhaps it's of larger benefit. Sounds good. I can give it a shot---in the meanwhile, since I forgot to Cc qemu-ppc, Alex can you review/apply patch 1? Paolo