Actually the CPUID is superfluous on anything than the executing CPU since IRET is serializing.
Borislav Petkov <b...@alien8.de> wrote: >On Wed, Nov 27, 2013 at 02:02:50PM -0800, H. Peter Anvin wrote: >> For the record, this is the entire patch necessary to do the >> sync_cores() system call -- and no potential interactions with >security >> frameworks or whatnot, simply because no security-sensitive >operations >> are performed of any kind. >> >> Comments/opinions appreciated. > >And we do this in the kernel not because userspace can't execute >sync_core() aka CPUID but because for userspace it is hard to IPI all >cores easily? -- Sent from my mobile phone. Please pardon brevity and lack of formatting. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/