Re: [RFC][PATCH] rcu in drivers/net/hamradio

From: Herbert Xu
Date: Sat Oct 15 2005 - 07:06:05 EST


Suzanne Wood <suzannew@xxxxxxxxxx> wrote:
>
> (3) bpq_free_device() calls list_del_rcu() which, according
> to list.h, requires synchronize_rcu() which can block or
> call_rcu() or call_rcu_bh() which cannot block.
> None of these is called anywhere in the directory drivers/net,
> so synchronize_irq() may address this.
> (synchronize_sched() is called in drivers/net/sis190.c and
> r8169.c with FIXME comment about synchronize_irq().)

The synchronisation is carried out by unregister_netdevice.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/