summaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig.erratas
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-02-07 11:07:06 -0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2022-02-24 08:26:03 +0100
commit181d4447905d551cc664f1e7e796b482c1eec992 (patch)
tree28962c41f02866e4d6d0a928c9747ddb97a9d578 /arch/riscv/Kconfig.erratas
parent58212e03e5ec315b368afea5a32a87866feb59b0 (diff)
can: gw: use call_rcu() instead of costly synchronize_rcu()
Commit fb8696ab14ad ("can: gw: synchronize rcu operations before removing gw job entry") added three synchronize_rcu() calls to make sure one rcu grace period was observed before freeing a "struct cgw_job" (which are tiny objects). This should be converted to call_rcu() to avoid adding delays in device / network dismantles. Use the rcu_head that was already in struct cgw_job, not yet used. Link: https://lore.kernel.org/all/20220207190706.1499190-1-eric.dumazet@gmail.com Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Oliver Hartkopp <socketcan@hartkopp.net> Tested-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'arch/riscv/Kconfig.erratas')
0 files changed, 0 insertions, 0 deletions