Restartable sequences: don't clear rseq_cs after c.s.
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 16 Oct 2016 06:22:56 +0000 (08:22 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Oct 2016 22:28:18 +0000 (18:28 -0400)
commit06f70f3d671019d8b8b2c6937f8f5834cb7e7118
treeb0451dc76091bcffa429b42523557324857f5ca9
parent820319e6ea8ac2bf56d3dfaf32d8f1bf6dadf3ad
Restartable sequences: don't clear rseq_cs after c.s.

We can remove this rseq_cs=NULL clearing step at the end of the critical
section, since the kernel checks for lower and upper address ranges when
it preempts or delivers a signals. The kernel will either take care of
clearing it at the next preemption or signal delivery, or the next
critical section will either change its value, or set it to the same
value.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tools/testing/selftests/rseq/rseq-arm.h
tools/testing/selftests/rseq/rseq-ppc.h
tools/testing/selftests/rseq/rseq-x86.h
This page took 0.024385 seconds and 5 git commands to generate.