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

2020-04-05 Thread Aneesh Kumar K.V
Ram Pai writes: > On Thu, Mar 19, 2020 at 09:25:48AM +0530, 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

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

2020-04-02 Thread Ram Pai
On Thu, Mar 19, 2020 at 09:25:48AM +0530, 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

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

2020-03-18 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 ---