Re: [PATCH 25/34] x86, pkeys: add arch_validate_pkey()

From: Thomas Gleixner
Date: Tue Dec 08 2015 - 13:40:30 EST


On Thu, 3 Dec 2015, Dave Hansen wrote:
> +#define arch_max_pkey() (boot_cpu_has(X86_FEATURE_OSPKE) ? \
> + CONFIG_NR_PROTECTION_KEYS : 1)

Should this really be a config option? Can't that value change ?

Thanks,

tglx
--
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/