[RFC PATCH for 4.18 21/23] rseq: selftests: Provide basic percpu ops test

2018-04-12 Thread Mathieu Desnoyers
"basic_percpu_ops_test" is a slightly more "realistic" variant, implementing a few simple per-cpu operations and testing their correctness. Signed-off-by: Mathieu Desnoyers CC: Shuah Khan CC: Russell King CC:

[RFC PATCH for 4.18 21/23] rseq: selftests: Provide basic percpu ops test

2018-04-12 Thread Mathieu Desnoyers
"basic_percpu_ops_test" is a slightly more "realistic" variant, implementing a few simple per-cpu operations and testing their correctness. Signed-off-by: Mathieu Desnoyers CC: Shuah Khan CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Turner CC: Andrew