Re: [PATCH v6 11/22] powerpc/book3s64/pkeys: Inherit correctly on fork.

2020-11-25 Thread Aneesh Kumar K.V
On 11/25/20 7:24 PM, Christophe Leroy wrote: Le 25/11/2020 à 06:16, Aneesh Kumar K.V a écrit : Child thread.kuap value is inherited from the parent in copy_thread_tls. We still need to make sure when the child returns from a fork in the kernel we start with the kernel default AMR value. Rev

Re: [PATCH v6 11/22] powerpc/book3s64/pkeys: Inherit correctly on fork.

2020-11-25 Thread Christophe Leroy
Le 25/11/2020 à 06:16, Aneesh Kumar K.V a écrit : Child thread.kuap value is inherited from the parent in copy_thread_tls. We still need to make sure when the child returns from a fork in the kernel we start with the kernel default AMR value. Reviewed-by: Sandipan Das Signed-off-by: Aneesh

[PATCH v6 11/22] powerpc/book3s64/pkeys: Inherit correctly on fork.

2020-11-24 Thread Aneesh Kumar K.V
Child thread.kuap value is inherited from the parent in copy_thread_tls. We still need to make sure when the child returns from a fork in the kernel we start with the kernel default AMR value. Reviewed-by: Sandipan Das Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/kernel/process.c | 11 +++