Re: [PATCH v3 1/2] x86, msr: allow rdmsr_safe_on_cpu() to schedule

From: H. Peter Anvin
Date: Sun Mar 25 2018 - 21:22:20 EST


On 03/25/18 07:12, Borislav Petkov wrote:
>
> So I'm wondering if poking at the hardware like that is a really optimal
> design. Maybe it would be cleaner if the OS would provide properly
> abstracted sysfs interfaces instead of raw MSRs. For a couple of
> reasons:
>

It's most definitely not.

-hpa