]> Git Repo - linux.git/commitdiff
ring-buffer: Update the description for ring_buffer_wait
authorQiujun Huang <[email protected]>
Sat, 17 Oct 2020 09:52:46 +0000 (17:52 +0800)
committerSteven Rostedt (VMware) <[email protected]>
Thu, 22 Oct 2020 15:26:26 +0000 (11:26 -0400)
The function changed at some point, but the description was not
updated.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Qiujun Huang <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
kernel/trace/ring_buffer.c

index 5c6a9c6a058fa874280db8b56db16eca2bb4019c..7f45fd9d5a4504286176045051c6ef73806abfb7 100644 (file)
@@ -793,7 +793,7 @@ static void rb_wake_up_waiters(struct irq_work *work)
  * ring_buffer_wait - wait for input to the ring buffer
  * @buffer: buffer to wait on
  * @cpu: the cpu buffer to wait on
- * @full: wait until a full page is available, if @cpu != RING_BUFFER_ALL_CPUS
+ * @full: wait until the percentage of pages are available, if @cpu != RING_BUFFER_ALL_CPUS
  *
  * If @cpu == RING_BUFFER_ALL_CPUS then the task will wake up as soon
  * as data is added to any of the @buffer's cpu buffers. Otherwise
This page took 0.060961 seconds and 4 git commands to generate.