From: Keir Fraser Subject: Re: [PATCH 1 of 5] xentrace: fix t_info_pages calculation for the default case Date: Wed, 23 Mar 2011 13:35:40 +0000 Message-ID: References: <20110323131602.GA7561@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110323131602.GA7561@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering , Jan Beulich Cc: xen-devel@lists.xensource.com, George Dunlap List-Id: xen-devel@lists.xenproject.org On 23/03/2011 13:16, "Olaf Hering" wrote: > On Wed, Mar 23, Jan Beulich wrote: > >>>>> On 23.03.11 at 12:20, Olaf Hering wrote: > >>> I did not know about PFN_UP() until now, using it would work as well. >> >> Note that one caveat with using it here is that you'd first need to >> move its definition from include/asm-x86/page.h to somewhere >> under include/xen/ - perhaps having a pfn.h like Linux does would >> make sense. > > Yes, if thats ok with Keir I will do that. > Otherwise I could just open code the functionality for t_info_pages. I've done it already as c/s 23074, so you can just re-spin your patch on top of that. -- Keir