Commit 6f0b824a authored by T.J. Mercier's avatar T.J. Mercier Committed by Alexei Starovoitov
Browse files

bpf: Fix bpf_seq_read docs for increased buffer size



Commit af653209 ("bpf: Bump iter seq size to support BTF
representation of large data structures") increased the fixed buffer
size from PAGE_SIZE to PAGE_SIZE << 3, but the docs for the function
didn't get updated at the same time. Update them.

Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
Acked-by: default avatarYonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20251207091005.2829703-1-tjmercier@google.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 759377da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ static bool bpf_iter_support_resched(struct seq_file *seq)

/* bpf_seq_read, a customized and simpler version for bpf iterator.
 * The following are differences from seq_read():
 *  . fixed buffer size (PAGE_SIZE)
 *  . fixed buffer size (PAGE_SIZE << 3)
 *  . assuming NULL ->llseek()
 *  . stop() may call bpf program, handling potential overflow there
 */