[RFC v2 13/13] keys/mktme: Support CPU Hotplug for MKTME keys

Alison Schofield alison.schofield at intel.com
Wed Dec 5 05:32:39 UTC 2018


On Tue, Dec 04, 2018 at 10:28:41AM +0100, Peter Zijlstra wrote:
> On Mon, Dec 03, 2018 at 11:40:00PM -0800, Alison Schofield wrote:
> > +	for_each_online_cpu(online_cpu)
> > +		if (online_cpu != cpu &&
> > +		    pkgid == topology_physical_package_id(online_cpu)) {
> > +			cpumask_set_cpu(online_cpu, mktme_leadcpus);
> > +			break;
> > +	}
> 
> That's a capital offence right there.
Got it!



More information about the Linux-security-module-archive mailing list