Re: [PATCH RFC V2 17/17] x86/entry: Preserve PKRS MSR across exceptions

Peter Zijlstra
2020-07-17T09:34:13Z

On Fri, Jul 17, 2020 at 12:20:56AM -0700, ira.weiny@intel.com wrote:
> +/* Define as macros to prevent conflict of inline and noinstr */
> +#define idt_save_pkrs(state)
> +#define idt_restore_pkrs(state)

Use __always_inline