On 07.02.2022 11:07:06, Eric Dumazet wrote: > From: Eric Dumazet <edumazet@xxxxxxxxxx> > > 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. > > Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx> > Cc: Oliver Hartkopp <socketcan@xxxxxxxxxxxx> Added to linux-can-next/testing. Thanks, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature