Re: [RFC PATCH 11/11] selftests/powerpc: Adapt the test

2018-10-01 Thread Breno Leitao
Hi Mikey, On 09/28/2018 02:25 AM, Michael Neuling wrote: >> Perfect, and if the transaction fail, the CPU will rollback the changes and >> restore the checkpoint registers (replacing the r3 that contains the pid >> value), thus, it will be like "getpid" system call didn't execute. > > No. If we

Re: [RFC PATCH 11/11] selftests/powerpc: Adapt the test

2018-09-27 Thread Michael Neuling
On Thu, 2018-09-27 at 17:57 -0300, Breno Leitao wrote: > Hi Mikey, > > On 09/18/2018 03:36 AM, Michael Neuling wrote: > > On Wed, 2018-09-12 at 16:40 -0300, Breno Leitao wrote: > > > The Documentation/powerpc/transactional_memory.txt says: > > > > > > "Syscalls made from within a suspended trans

Re: [RFC PATCH 11/11] selftests/powerpc: Adapt the test

2018-09-27 Thread Breno Leitao
Hi Mikey, On 09/18/2018 03:36 AM, Michael Neuling wrote: > On Wed, 2018-09-12 at 16:40 -0300, Breno Leitao wrote: >> The Documentation/powerpc/transactional_memory.txt says: >> >> "Syscalls made from within a suspended transaction are performed as normal >> and the transaction is not explicitly

Re: [RFC PATCH 11/11] selftests/powerpc: Adapt the test

2018-09-17 Thread Michael Neuling
On Wed, 2018-09-12 at 16:40 -0300, Breno Leitao wrote: > The Documentation/powerpc/transactional_memory.txt says: > > "Syscalls made from within a suspended transaction are performed as normal > and the transaction is not explicitly doomed by the kernel. However, > what the kernel does to pe

[RFC PATCH 11/11] selftests/powerpc: Adapt the test

2018-09-12 Thread Breno Leitao
The Documentation/powerpc/transactional_memory.txt says: "Syscalls made from within a suspended transaction are performed as normal and the transaction is not explicitly doomed by the kernel. However, what the kernel does to perform the syscall may result in the transaction being doomed by