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

Re: [Xen-devel] [PATCH v3 6/6] xen/PMU: PMU emulation code

On 03/07/14 20:14, Boris Ostrovsky wrote:
> Add PMU emulation code that runs when we are processing a PMU interrupt. This 
> code
> will allow us not to trap to hypervisor on each MSR/LVTPC access (of which 
> there
> may be quite a few in the handler).

Reviewed-by: David Vrabel <david.vrabel@xxxxxxxxxx>

> +     per_cpu(xenpmu_shared, smp_processor_id()).flags =
> +             xenpmu_flags | XENPMU_IRQ_PROCESSING;

I think you want this_cpu_ptr(xen_pmu_shared)->... here.


Xen-devel mailing list



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