diff options
| author | Dimitri Daskalakis <dimitri.daskalakis1@gmail.com> | 2025-11-11 14:53:19 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-12 18:04:18 -0800 |
| commit | f766f8cdde018967e9436f7f34d09907881fa7fa (patch) | |
| tree | eb5897ab5ddaf51ef977127cf6788b5df20a87c4 /net/unix/garbage.c | |
| parent | e949824730daf381bd0fe37e1a77458e0c26e8df (diff) | |
selftests: drv-net: Limit the max number of queues in procfs_downup_hammer
For NICs with a large (1024+) number of queues, this test can cause
excessive memory fragmentation. This results in OOM errors, and in the
worst case driver/kernel crashes. We don't need to test with the max number
of queues, just enough to create a high likelihood of races between
reconfiguration and stats getting read.
Signed-off-by: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com>
Link: https://patch.msgid.link/20251111225319.3019542-1-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
