Re: [PATCH 2/3] selftests/powerpc: Add tm-signal-pagefault test

2020-01-17 Thread Gustavo Romero
Hi Gustavo, Nice catch on using userfaultfd() to make it deterministic. On 01/16/2020 07:05 PM, Gustavo Luiz Duarte wrote: This test triggers a TM Bad Thing by raising a signal in transactional state and forcing a pagefault to happen in kernelspace when the kernel signal handling code first tou

[PATCH 2/3] selftests/powerpc: Add tm-signal-pagefault test

2020-01-16 Thread Gustavo Luiz Duarte
This test triggers a TM Bad Thing by raising a signal in transactional state and forcing a pagefault to happen in kernelspace when the kernel signal handling code first touches the user signal stack. This is inspired by the test tm-signal-context-force-tm but uses userfaultfd to make the test dete