diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-04-18 03:03:49 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-04-24 10:29:56 +0300 |
commit | d27b9c40dbd66aa78b3e6657e600cf057a48ac1e (patch) | |
tree | 1423150bc6b5f6f2cd39649e8550928320c3ce55 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5720a328c3e9802af48dd216c1c7eb0e91b61b6c (diff) | |
download | linux-d27b9c40dbd66aa78b3e6657e600cf057a48ac1e.tar.xz |
ipv6: Preallocate nhc_pcpu_rth_output in ip6_route_info_create().
ip6_route_info_create_nh() will be called under RCU.
It calls fib_nh_common_init() and allocates nhc->nhc_pcpu_rth_output.
As with the reason for rt->fib6_nh->rt6i_pcpu, we want to avoid
GFP_ATOMIC allocation for nhc->nhc_pcpu_rth_output under RCU.
Let's preallocate it in ip6_route_info_create().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250418000443.43734-9-kuniyu@amazon.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions