From: Mathieu Desnoyers Date: Thu, 23 Jan 2020 21:02:27 +0000 (-0500) Subject: lib ring buffer: use irq_work for wakeup by writer X-Git-Tag: v2.13.0-rc1~150 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=fbd4d5586960a40e12dae11a70afe3a2ae239ba9;hp=fbd4d5586960a40e12dae11a70afe3a2ae239ba9;p=lttng-modules.git lib ring buffer: use irq_work for wakeup by writer 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 Change-Id: I842ff15736f53d1283cf953804d803f70779652b ---