Re: [PATCH] powerpc/kernel: Initialize load_tm on task creation

2017-06-05 Thread Michael Ellerman
Daniel Axtens writes: > Hi Breno, > > Looks good to me. > >> Currently tsk->thread.load_tm is not initialized in the task creation >> and can contain garbage on a new task. >> >> This is an undesired behaviour, since it affects the timing to enable >> and disable the transactional memory laziness

Re: [PATCH] powerpc/kernel: Initialize load_tm on task creation

2017-06-05 Thread Daniel Axtens
Hi Breno, Looks good to me. > Currently tsk->thread.load_tm is not initialized in the task creation > and can contain garbage on a new task. > > This is an undesired behaviour, since it affects the timing to enable > and disable the transactional memory laziness (disabling and enabling > the MSR

[PATCH] powerpc/kernel: Initialize load_tm on task creation

2017-06-05 Thread Breno Leitao
Currently tsk->thread.load_tm is not initialized in the task creation and can contain garbage on a new task. This is an undesired behaviour, since it affects the timing to enable and disable the transactional memory laziness (disabling and enabling the MSR TM bit, which affects TM reclaim and rech