From: Keir Fraser Subject: Re: shared_info setup Date: Fri, 2 Jun 2006 15:45:38 +0100 Message-ID: <75968cd63dfbfed25aacc8ef29c11b22@cl.cam.ac.uk> References: <448064C0.76E4.0078.0@novell.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <448064C0.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 2 Jun 2006, at 15:18, Jan Beulich wrote: > Isn't the comparison in the two places where HYPERVISOR_shared_info > gets set up wrong in comparing a machine (=physical) > address to a page count? I.e., shouldn't either it or nr_pages be > shifted by PAGE_SHIFT? Jan I think so. But I think actually the place that sets up without using fixmap could probably be got rid of -- although in that case there is no need to use fixmap, since we have the fixmap entry and the code to fill it in, we may as well do that in all cases. -- Keir