History

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

Qiujun Huang committed 6 years ago

Commit e1981f71 parent 0a1754b1 file · +1 −1Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/trace/ring_buffer.c+1−1
@@ -793,7 +793,7 @@ static void rb_wake_up_waiters(struct irq_work *work) · 792 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t