[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] [PATCH][RFC]discontig memory support



Tristan Gingold writes:
 > >   - Location of PGD.
 > >     A page(swapper_pg_dir) pointed from init_mm.pgd seems to be never
 > >     used. So I use this page as PGD for virtual frame_table. If
 > >     someone uses this page, please tell me.
 > At least it is referenced.
 > You should remove these references and rename it.

I know. swapper_pg_dir is referenced from vhpt_miss and
nested_dtlb_miss in ivt.S.

But the reference is obviously wrong. The code expects the physical
address of swapper_pg_dir but the value is virtual. If these
instructions are executed, an Unimplemented Data Address fault is
raised.

Linux's ia64_patch_vtop() translates these virtual addresses to
physical addreses on boot but Xen's ia64_patch_vtop() does nothing. :-<

Anyway, I will rename it.

Thanks,
Kouya


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.