From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [patch 05/26] Xen-paravirt_ops: paravirt_ops: hooks to set up initial pagetable Date: Fri, 16 Mar 2007 10:33:48 +0100 Message-ID: <20070316093348.GS23174@elte.hu> References: <20070301232443.195603797@goop.org> <20070301232526.611972133@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20070301232526.611972133@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Zachary Amsden , xen-devel@lists.xensource.com, virtualization@lists.osdl.org, Rusty Russell , linux-kernel@vger.kernel.org, William Lee Irwin III , Chris Wright , Andi Kleen , Andrew Morton List-Id: virtualization@lists.linuxfoundation.org * Jeremy Fitzhardinge wrote: > This patch introduces paravirt_ops hooks to control how the kernel's > initial pagetable is set up. looks good. Some minor nits: > + /* Make sure kernel address space is empty so that a pagetable > + will be allocated for it. */ comment style. > + /* Enable PSE if available */ > + if (cpu_has_pse) { > + set_in_cr4(X86_CR4_PSE); > + } unnecessary braces. Ingo