WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

RE: [Xen-ia64-devel] Re: [PATCH]: ptc.ga for SMP-g

To: "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] Re: [PATCH]: ptc.ga for SMP-g
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Fri, 31 Mar 2006 11:34:38 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx, Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Delivery-date: Fri, 31 Mar 2006 03:36:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZUbkPP39AkziRrSqyo50tmbeFdqwABYm6A
Thread-topic: [Xen-ia64-devel] Re: [PATCH]: ptc.ga for SMP-g
>From: Isaku Yamahata [mailto:yamahata@xxxxxxxxxxxxx]
>Sent: 2006年3月31日 10:53
>It's right that Linux/ia64 kernel text and statically allocated data
>are in [0xa000000100000000, ...].
>However dynamically allocated pages's virtual address are in
>the area of [PAGE_OFFSET, ...].

Dynamically allocated page is not mapped by TR.

>That is, values which is returned by __get_free_pages() (and its family)
>are of PAGE_OFFSET + (some offsets).
>
>Please see the definition of __pa() and __va() of Linux/ia64.
># define __pa(x)                ((x) - PAGE_OFFSET)
># define __va(x)                ((x) + PAGE_OFFSET)
>
>
>
>--
>yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel