From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: Linux'es free_initmem() on Xen Date: Tue, 2 Feb 2016 13:30:11 +0000 Message-ID: <56B0AF63.1050803@citrix.com> References: <56B0B2A702000078000CD7BC@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aQb28-0004kf-Qb for xen-devel@lists.xenproject.org; Tue, 02 Feb 2016 13:30:16 +0000 In-Reply-To: <56B0B2A702000078000CD7BC@prv-mh.provo.novell.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: Jan Beulich , David Vrabel , Boris Ostrovsky , Konrad Rzeszutek Wilk Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 02/02/16 12:44, Jan Beulich wrote: > All, > > while looking into some of the DEBUG_WX issues I came across > aforementioned function and started wondering how pv-ops gets > away without the unmapping XenoLinux has always been doing > (in free_init_pages()). Um. I'm not sure why you think something needs to be unmapped. This is freeing the pages back to the page allocator -- thus the pages still need to be mapped. David