diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-08-20 01:09:20 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-09-22 13:24:56 +0200 |
| commit | 37ceeb9e21cbcd4ec6fad51822d74ec722b9c38e (patch) | |
| tree | e94b5584df28c94d06b4113595b28fe18415aceb /tools/perf/scripts/python/bin | |
| parent | 15809d78acf4b79a8e3d77144a86abbf369f57df (diff) | |
coredump: set the minimum send buffer size
The send buffer of the coredump socket is subject to the limit in
net.core.wmem_default. af_unix uses sk_sndbuf / 2 - 64 bytes for a
single skb. That means a send buffer below that would split a page-sized
write into multiple skbs. Raise the send buffer to leave room for a
page-sized write plus the header. The default value is well above that.
So we really change it when it's below our minimum.
Link: https://patch.msgid.link/20260820-work-coredump-sparse-v2-3-ba32dd718c51@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
