Re: [RFC PATCH 05/11] powerpc/tm: Function that updates the failure code

2018-09-27 Thread Michael Neuling
On Thu, 2018-09-27 at 17:58 -0300, Breno Leitao wrote: > Hi Mikey, > > On 09/17/2018 10:29 PM, Michael Neuling wrote: > > On Wed, 2018-09-12 at 16:40 -0300, Breno Leitao wrote: > > > Now the transaction reclaims happens very earlier in the trap handler, and > > > it is impossible to know precisely

Re: [RFC PATCH 05/11] powerpc/tm: Function that updates the failure code

2018-09-27 Thread Breno Leitao
Hi Mikey, On 09/17/2018 10:29 PM, Michael Neuling wrote: > On Wed, 2018-09-12 at 16:40 -0300, Breno Leitao wrote: >> Now the transaction reclaims happens very earlier in the trap handler, and >> it is impossible to know precisely, at that early time, what should be set >> as the failure cause for

Re: [RFC PATCH 05/11] powerpc/tm: Function that updates the failure code

2018-09-17 Thread Michael Neuling
On Wed, 2018-09-12 at 16:40 -0300, Breno Leitao wrote: > Now the transaction reclaims happens very earlier in the trap handler, and > it is impossible to know precisely, at that early time, what should be set > as the failure cause for some specific cases, as, if the task will be > rescheduled, thu

Re: [RFC PATCH 05/11] powerpc/tm: Function that updates the failure code

2018-09-17 Thread Michael Neuling
On Wed, 2018-09-12 at 16:40 -0300, Breno Leitao wrote: > Now the transaction reclaims happens very earlier in the trap handler, and > it is impossible to know precisely, at that early time, what should be set > as the failure cause for some specific cases, as, if the task will be > rescheduled, thu

Re: [RFC PATCH 05/11] powerpc/tm: Function that updates the failure code

2018-09-16 Thread Michael Neuling
This series is not bisectable because this patch fails with: arch/powerpc/kernel/process.c:993:13: error: ‘tm_fix_failure_cause’ defined but not used [-Werror=unused-function] static void tm_fix_failure_cause(struct task_struct *task, uint8_t cause) ^ cc1: all warnings being treated