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

Re: [Xen-devel] [PATCH][VT]vga acceleration for cirrus logic device model




On 23 Sep 2005, at 10:53, Jiang, Yunhong wrote:

When we setup the memory mapping for cirrus logic, it is on high end
memory and will not be on the first l2 table.
At that time, we have two options:
1) Using this patch, setup the l2 table unconditionally on xc_vmx_build.
2) Re-caculating the page array usage, and caculating which page can be
used for the l2 table.

[un]setup_mapping does not make assumptions about the location of the l2 tables. It reads their addresses from the l3 table. Also, setup_mapping already knows how to allocate extra page tables, because it allocates extra l1 tables. It can use the same allocation scheme to allocate new l2 tables on demand.

Something like this will certainly be needed for 64-bit tables anyway, where it's infeasible to pre-allocate all l3 and l2 table entries.

 -- 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®.