[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] vTLB support
Dan: I am worring about the vTLB support base on current implementation. The current implementation as you mentioned use: TR_ENTRY itrs[NITRS]; TR_ENTRY dtrs[NDTRS]; TR_ENTRY itlb; TR_ENTRY dtlb; and you mentioned to use machine TR for hypercall shared page. I am thinking the way to support foreignmap and mmio shared page base on current implementation. The foreignmap is probably per domain 16GB memory space map. If you want to add another variable like "TR_ENTRY foreignmap[MAX_DOMAINS]" and "TR_ENTRY mmio_shared_page[MAX_DOMAINS], I think the guest TLB walk will be too expansive. Same situation for TC insert and purge. (BTW, current code is not checking for the overlap of guest TLB at time of insert.) If you are willing, my implementation can be one solution. I mainly use a HASH+collision chain for vTLB and VHPT. vTLB and VHPT use same code but different instance. If you want to use global VHPT, you can just create one instance for that. We don't need to worry about how to support both. Eddie _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |