[PATCH] powerpc/kernel: Initialize load_tm on task creation
Michael Ellerman
mpe at ellerman.id.au
Tue Jun 6 14:47:16 AEST 2017
Daniel Axtens <dja at axtens.net> 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 (disabling and enabling
>> the MSR TM bit, which affects TM reclaim and recheckpoint in the
>> scheduling process).
>
> Is there any chance this uninitialised memory will leak something
> interesting/sensitive? (Therefore, should this go to stable?)
I'll send it to stable anyway for the original bug it fixes.
cheers
More information about the Linuxppc-dev
mailing list