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

From: Francois Romieu
Date: Sat Oct 15 2005 - 06:53:06 EST

Suzanne Wood <suzannew@xxxxxxxxxx> :
> (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().)

Same author for both. The code (driver specific) can be issued from
userspace and it needs to wait for running hard_start_xmit to
complete. Afaik synchronize_irq() is not adequate and the FIXME
should go.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at