lib ring buffer: use irq_work for wakeup by writer
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Jan 2020 21:02:27 +0000 (16:02 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 Nov 2020 18:00:28 +0000 (13:00 -0500)
Using irq_work (like perf does) allows using an interrupt handler
firing soon after the instrumentation execution to issue the wakeups.

This allows the RING_BUFFER_WAKEUP_BY_WRITER ring buffer configuration
to be entirely lock-free, which allows using it in NMI context for
general tracing purposes.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I842ff15736f53d1283cf953804d803f70779652b


No differences found
This page took 0.025896 seconds and 4 git commands to generate.