Re: [PATCH][RFC] x86,lib: Add wbinvd_on_many_cpus helpers

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

 



* Li RongQing <lirongqing@xxxxxxxxx> wrote:

> wbinvd_on_many_cpus will call smp_call_function_many(), which should
> be more efficient that iterating cpus since it would run wbinvd()
> concurrently locally and remotely
> 
> it can be used by the below patch
> https://patchwork.kernel.org/project/kvm/patch/1860502863.219296.1710395908135.JavaMail.zimbra@xxxxxxxxxxx/
> 
> Cc: Zheyun Shen <szy0127@xxxxxxxxxxx>
> Cc: Tom Lendacky <thomas.lendacky@xxxxxxx>
> Signed-off-by: Li RongQing <lirongqing@xxxxxxxxx>
> ---
>  arch/x86/include/asm/smp.h | 7 +++++++
>  arch/x86/lib/cache-smp.c   | 7 +++++++
>  2 files changed, 14 insertions(+)

The two patches should be submitted together within the same series.

Thanks,

	Ingo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux