aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorYevgeny Kliteynik <[email protected]>2022-03-29 15:23:55 +0300
committerSaeed Mahameed <[email protected]>2022-10-27 15:50:38 +0100
commitb9b81e1e93820eb47aeaf0fe7cdda535adf8e7a4 (patch)
tree9f8fdf5581ccf126098f27b1815cba21d8947baf /net/unix/sysctl_net_unix.c
parentd277b55f0fa805dbcabef8b4c3295a2cd6506581 (diff)
net/mlx5: DR, For short chains of STEs, avoid allocating ste_arr dynamically
While creating rule, ste_arr is an array that is allocated at the start of the function and freed at the end. This memory allocation can sometimes lead to "hiccups" of up to 10ms. However, the common use case is short chains of STEs. For such cases, we can use a local buffer on stack instead. Changes in v2: Use small local array for short rules, allocate dynamically for long rules Signed-off-by: Yevgeny Kliteynik <[email protected]> Reviewed-by: Alex Vesker <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions