Messages in this thread | | | Date | Fri, 27 Nov 2015 10:49:59 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [PATCH 16/37] x86, pkeys: notify userspace about protection key faults |
| |
On Mon, 16 Nov 2015, Dave Hansen wrote: > Note that _pkey is a 64-bit value. The current hardware only > supports 4-bit protection keys. We do this because there is > _plenty_ of space in _sigfault and it is possible that future > processors would support more than 4 bits of protection keys. > > Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> > --- > > b/arch/x86/include/asm/pgtable_types.h | 5 ++ > b/arch/x86/mm/fault.c | 59 ++++++++++++++++++++++++++++++++- > b/include/uapi/asm-generic/siginfo.h | 17 ++++++--- > b/kernel/signal.c | 4 ++
I'd be nice to split the core changes from the x86 implementation.
Other than that: Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
| |