Re: [RFC PATCH 07/11] powerpc/tm: Do not recheckpoint at sigreturn

2018-09-17 Thread Michael Neuling
On Wed, 2018-09-12 at 16:40 -0300, Breno Leitao wrote: > Do not recheckpoint at signal code return. Just make sure TIF_RESTORE_TM is > set, which will restore on the exit to userspace by restore_tm_state. Cool, but what about the same for reclaim? Why not avoid treclaim since it's done on entry?

[RFC PATCH 07/11] powerpc/tm: Do not recheckpoint at sigreturn

2018-09-12 Thread Breno Leitao
Do not recheckpoint at signal code return. Just make sure TIF_RESTORE_TM is set, which will restore on the exit to userspace by restore_tm_state. All the FP and VEC lazy restore was already done by tm_reclaim_current(), where it checked if FP/VEC was set, and filled out the ckfp and ckvr