From: Keir Fraser Subject: Re: [PATCH 1/1] Xen PV support for hugepages Date: Thu, 06 Nov 2008 13:54:35 +0000 Message-ID: References: <200811060744.57275.dcm@mccr.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200811060744.57275.dcm@mccr.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: Dave McCracken , Jan Beulich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 6/11/08 13:44, "Dave McCracken" wrote: >> Also, the special code to deal with LDT pages in put_page_from_l1e() should >> now also be required in put_page_from_l2e(). Perhaps that logic could be >> moved into put_data_page()? > > It looks to me like this is only done for PGT_seg_desc_page. I don't think > any hugepage can be of this type. I can add it to put_data_page() if you > think we need to be sure. The data pages mapped by a superpage mapping aren't special. One of them could certainly be PGT_seg_desc_page. Hence moving the logic into put_data_page() makes sense. -- Keir