Re: [PATCH 1/2] x86, lib: Add a wbinvd helper for an arbitrary cpuset

From: Borislav Petkov
Date: Wed Nov 24 2010 - 13:23:19 EST


On Wed, Nov 24, 2010 at 12:49:06PM -0500, H. Peter Anvin wrote:
> On 11/24/2010 09:44 AM, Borislav Petkov wrote:
> > From: Borislav Petkov <borislav.petkov@xxxxxxx>
> >
> > Add a wbinvd helper for an arbitrary set of CPUs.
> >
>
> Are there any expected users of this other than KVM?

Not that I know of. I had an earlier version for kvm which did

for_each_cpu(cpu, mask)
wbinvd_on_cpu(cpu)


but decided to add wbinvd_on_cpus() for completeness. Let me know what
your preference is.

Thanks.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/