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

Peter Zijlstra peterz at infradead.org
Tue Dec 4 09:28:41 UTC 2018


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.



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