Messages in this thread | | | Date | Sat, 15 Oct 2005 13:24:30 +0200 | From | Francois Romieu <> | Subject | Re: [RFC][PATCH] rcu in drivers/net/hamradio |
| |
Suzanne Wood <suzannew@cs.pdx.edu> : [...] > (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.
-- Ueimor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |