From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v2] xen: Improve x86's alloc_vcpu_guest_context() Date: Thu, 17 Sep 2015 19:02:46 +0100 Message-ID: <55FB0046.2060009@citrix.com> References: <1442508763-32164-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1442508763-32164-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper , Xen-devel Cc: Stefano Stabellini , Tim Deegan , Ian Campbell , Jan Beulich , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org Hi Andrew, On 17/09/15 17:52, Andrew Cooper wrote: > This essentially reverts c/s 2037f2adb "x86: introduce > alloc_vcpu_guest_context()", including the newer arm bits, but achieves > the same end goal by using the newer vmalloc() infrastructure. > > For both x86 and ARM, {alloc,free}_vcpu_guest_context() become arch-local > static inlines (which avoids a call into a separate translation), > and removes an x86 scalability limit when compiling with a large NR_CPUS. > > Signed-off-by: Andrew Cooper > --- > CC: Jan Beulich > CC: Tim Deegan > CC: Ian Campbell > CC: Stefano Stabellini > CC: Julien Grall > CC: Roger Pau Monne For the ARM bits: Reviewed-by: Julien Grall Regards, -- Julien Grall