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

RE: [Xen-devel][PATCH]Fix the read error from IRR,ISR and TMR



Keir Fraser wrote:
> Since it turns out that *all* registers are 128-bit aligned and
> 32-bits, I think the regs block should be changed to be an array of
> 32-bit registers, skipping the unused parts of the APIC page (i.e.,
> so that register x can be found by regs[x>>4]). Then the bitmaps
> would be conveniently contiguous again! And since the array would be
> only 1kB, it would mean we can get rid of the alloc_domheap_page()
> and map_domain_page_global(). 
> 
Keir:
        Yes, skipping the unused parts and compact them together will
benefit us now :-) While then we may not be able to do CR8 acceleration.
The later one will need an APIC page to back for guest APIC states,
currently it is only TPR (CR8) base on VT spec. So 4K memory per
processor for each APIC page is unavoidable. 
        Meanwhile, we are thinking about another important enhancement
to accelerate some proprietary OS which will frequently access TPR. In
that patch, the APIC page is directly mapped to guest as "RO" that
greatly increase UP OS performance in our test. But the patch today is
still hold on due to SMP support issue, as today's shadow page table is
still global. I believe eventually shadow page table will be per VP, and
the APIC acceleration patch will be out too. Then eventually we need to
organize the APIC data in hardware format like Xiaohui's patch show.
thx,eddie

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