Skip to content

Commit e1981f7

Browse files
Qiujun Huangrostedt
authored andcommitted
ring-buffer: Update the description for ring_buffer_wait
The function changed at some point, but the description was not updated. Link: https://lkml.kernel.org/r/20201017095246.5170-1-hqjagain@gmail.com Signed-off-by: Qiujun Huang <hqjagain@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent 0a1754b commit e1981f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/trace/ring_buffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ static void rb_wake_up_waiters(struct irq_work *work)
793793
* ring_buffer_wait - wait for input to the ring buffer
794794
* @buffer: buffer to wait on
795795
* @cpu: the cpu buffer to wait on
796-
* @full: wait until a full page is available, if @cpu != RING_BUFFER_ALL_CPUS
796+
* @full: wait until the percentage of pages are available, if @cpu != RING_BUFFER_ALL_CPUS
797797
*
798798
* If @cpu == RING_BUFFER_ALL_CPUS then the task will wake up as soon
799799
* as data is added to any of the @buffer's cpu buffers. Otherwise

0 commit comments

Comments
 (0)