Re: [RFC PATCH 03/14] powerpc/tm: Recheckpoint when exiting from kernel

2018-11-14 Thread Michael Neuling
On Tue, 2018-11-06 at 10:40 -0200, Breno Leitao wrote: > This is the only place we are going to recheckpoint now. Now the task > needs to have TIF_RESTORE_TM flag set, which will get into > restore_tm_state() at exception exit path, and execute the recheckpoint > depending on the MSR. > > Every ti

[RFC PATCH 03/14] powerpc/tm: Recheckpoint when exiting from kernel

2018-11-06 Thread Breno Leitao
This is the only place we are going to recheckpoint now. Now the task needs to have TIF_RESTORE_TM flag set, which will get into restore_tm_state() at exception exit path, and execute the recheckpoint depending on the MSR. Every time a task is required to recheckpoint, or just have the TM SPRs res