Cleanup: misleading comment about deferrable timer
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 11 Jun 2015 08:09:49 +0000 (10:09 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 11 Jun 2015 08:09:49 +0000 (10:09 +0200)
Timer in lttng-modules are not deferrable, because we cannot hook into
the Linux kernel CPU idle events, because no notifiers are exposed for
those.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/config.h
lib/ringbuffer/ring_buffer_iterator.c

index 67caba0646acffcfa1b99c354f8f1dc7dccc3980..8fa2c55bdd45375d08ea2570336e9fff1011f984 100644 (file)
@@ -106,7 +106,7 @@ struct lib_ring_buffer_client_cb {
  *
  * wakeup:
  *
- * RING_BUFFER_WAKEUP_BY_TIMER uses per-cpu deferrable timers to poll the
+ * RING_BUFFER_WAKEUP_BY_TIMER uses per-cpu timers to poll the
  * buffers and wake up readers if data is ready. Mainly useful for tracers which
  * don't want to call into the wakeup code on the tracing path. Use in
  * combination with "read_timer_interval" channel_create() argument.
index 24e3dbb36a39882eeae8a53011f5ebd3303271ab..c6e5225669de3c044422f8451575fe6004ff655a 100644 (file)
@@ -71,7 +71,7 @@ restart:
                         * Per-CPU buffers rather use a "push" scheme because
                         * the IPI needed to flush all CPU's buffers is too
                         * costly. In the "push" scheme, the reader waits for
-                        * the writer periodic deferrable timer to flush the
+                        * the writer periodic timer to flush the
                         * buffers (keeping track of a quiescent state
                         * timestamp). Therefore, the writer "pushes" data out
                         * of the buffers rather than letting the reader "pull"
This page took 0.026567 seconds and 4 git commands to generate.