Restartable sequences: tests: introduce simple rseq start/finish rseq-v8.3
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 31 Oct 2016 15:44:30 +0000 (11:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 31 Oct 2016 15:44:30 +0000 (11:44 -0400)
commita2ac5f395c5559602ea46d56c0f00ef3fbd7f1c0
treec145cf2400631767b601c3bdf324f71311e13d60
parent06f70f3d671019d8b8b2c6937f8f5834cb7e7118
Restartable sequences: tests: introduce simple rseq start/finish

Introduce rseq_start/rseq_finish that do not require the rseq lock. The
new rseq_start_rlock and rseq_finish_rlock deal with it.

This is useful for use-cases that do not require locking to handle
fallback. For instance, using split counter techniques for fallback when
possibe, or using reference counting to do a lock-free fallback.

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