From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W61rq-0000ZG-7Y for qemu-devel@nongnu.org; Wed, 22 Jan 2014 12:45:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W61rh-0001Gb-J7 for qemu-devel@nongnu.org; Wed, 22 Jan 2014 12:45:34 -0500 Received: from mail-qa0-x234.google.com ([2607:f8b0:400d:c00::234]:47989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W61rh-0001GW-EW for qemu-devel@nongnu.org; Wed, 22 Jan 2014 12:45:25 -0500 Received: by mail-qa0-f52.google.com with SMTP id j15so825823qaq.25 for ; Wed, 22 Jan 2014 09:45:24 -0800 (PST) Sender: Richard Henderson Message-ID: <52E003B1.4020808@twiddle.net> Date: Wed, 22 Jan 2014 09:45:21 -0800 From: Richard Henderson MIME-Version: 1.0 References: <5296A674.2080406@twiddle.net> <52E000AA.7020606@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] outlined TLB lookup on x86 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Xin Tong , QEMU Developers On 01/22/2014 09:35 AM, Peter Maydell wrote: > I don't really know the details of Alpha, but can you get away with just > "we implement N contexts, and only actually keep the most recently > used N"? This is effectively what we're doing at the moment, with N==1. Yes, I suppose we could do that. Rather than have the ASN switching code be a simple store, it could be a full helper function. At which point we can do just about anything at all. r~