Re: [PATCH v4 01/22] powerpc/pkeys: Avoid using lockless page table walk

2020-05-13 Thread Michael Ellerman
On Tue, 2020-05-05 at 07:17:08 UTC, "Aneesh Kumar K.V" wrote: > Fetch pkey from vma instead of linux page table. Also document the fact that > in > some cases the pkey returned in siginfo won't be the same as the one we took > keyfault on. Even with linux page table walk, we can end up in a simila

[PATCH v4 01/22] powerpc/pkeys: Avoid using lockless page table walk

2020-05-05 Thread Aneesh Kumar K.V
Fetch pkey from vma instead of linux page table. Also document the fact that in some cases the pkey returned in siginfo won't be the same as the one we took keyfault on. Even with linux page table walk, we can end up in a similar scenario. Cc: Ram Pai Signed-off-by: Aneesh Kumar K.V --- arch/p