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

[Xen-devel] Re: 64bit xen relocation



On 11/9/08 11:49, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> One question is, why are 0-1M frames also copied to high end
> which are then clobbered immediately? It looks like unnecessary
> if just for leaving a guard range from stray pointers...
> 
> move_memory(e, 0, __pa(&_end) - xen_phys_start);
> 
> /* Poison low 1MB to detect stray pointers to physical 0-1MB. */
> memset(maddr_to_bootstrap_virt(e), 0x55, 1U<<20);

Sure. I suppose it makes the move_memory() arguments a bit simpler than
they'd be if we started at 0x100000.

 -- Keir



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


 


Rackspace

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