[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 7/7] x86/tlb: use Xen L0 assisted TLB flush when available
On Mon, Feb 10, 2020 at 06:28:29PM +0100, Roger Pau Monne wrote: [...] > > struct hypervisor_ops { > @@ -32,6 +34,8 @@ struct hypervisor_ops { > void (*resume)(void); > /* Fix up e820 map */ > void (*e820_fixup)(struct e820map *e820); > + /* L0 assisted TLB flush */ > + int (*flush_tlb)(const cpumask_t *mask, const void *va, unsigned int > order); > }; > > #ifdef CONFIG_GUEST > @@ -41,6 +45,14 @@ void hypervisor_setup(void); > int hypervisor_ap_setup(void); > void hypervisor_resume(void); > void hypervisor_e820_fixup(struct e820map *e820); > +/* > + * L0 assisted TLB flush. > + * mask: cpumask of the dirty vCPUs that should be flushed. > + * va: linear address to flush, or NULL for global flushes. I was in the middle of writing my patch and noticed this. I think NULL means "flushing the entire address space" here? Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |