Messages in this thread | | | Date | Tue, 9 Apr 2024 09:45:37 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH][RFC] x86,lib: Add wbinvd_on_many_cpus helpers |
| |
* Li RongQing <lirongqing@baidu.com> 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@sjtu.edu.cn/ > > Cc: Zheyun Shen <szy0127@sjtu.edu.cn> > Cc: Tom Lendacky <thomas.lendacky@amd.com> > Signed-off-by: Li RongQing <lirongqing@baidu.com> > --- > 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
| |