powerpc/kernel: Initialize load_tm on task creation
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Jun 8 14:05:17 AEST 2017
On Mon, 2017-06-05 at 14:40:59 UTC, Breno Leitao wrote:
> 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).
>
> CC: Anton Blanchard <anton at samba.org>
> Fixes: 5d176f751ee3c6eededd984ad409bff201f436a7
> Signed-off-by: Breno Leitao <leitao at debian.org>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/7f22ced4377628074e2ac25f41a88f
cheers
More information about the Linuxppc-dev
mailing list