[PATCH v5 12/23] powerpc/book3s64/pkeys: Inherit correctly on fork.
    Sandipan Das 
    sandipan.osd at gmail.com
       
    Sun Oct 18 14:50:57 AEDT 2020
    
    
  
On 27/08/20 9:39 am, Aneesh Kumar K.V wrote:
> 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.
> 
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.ibm.com>
> ---
>  arch/powerpc/kernel/process.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
Reviewed-by: Sandipan Das <sandipan at linux.ibm.com>
    
    
More information about the Linuxppc-dev
mailing list