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

Re: [Xen-devel] A question about guest_walk_tables



At 18:22 +0800 on 05 Dec (1196878922), Tian, Kevin wrote:
> Hi, Tim,
>       Just a curious question. Any reason why sh_page_fault can't
> benefit vtlb_lookup to skip heavy-weight guest_walk_tables, like other
> places like sh_gva_to_gfn?

For cases when we go on to make the shadow pagetables, we need the full
walk available so we know which MFNs to shadow.

I don't know whether it would be worth adding a vtlb lookup for the
real-fault case; the fast-path code for not-present and MMIO catches a
lot of genuine faults already.  We should definitely add the walk result
to the vTLB in any case.

Thanks,

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Citrix Systems.
[Company #5334508: XenSource UK Ltd, reg'd c/o EC2Y 5EB, UK.]

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