lkml.org 
[lkml]   [2024]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2024-05-27 16:30    [W:0.814 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site