On Mon, Aug 11, 2008 at 04:26:57PM -0700, Paul E. McKenney wrote:Sure, but I'm concerned here with pure RCU reading: From net/sched/sch_generic.c: void __qdisc_run(struct Qdisc *q) { unsigned long start_time = jiffies; while (qdisc_restart(q)) { /* * Postpone processing if * 1. another process needs the CPU; * 2. we've been doing it for too long. */ if (need_resched() || jiffies != start_time) { __netif_schedule(q); This function is run from dev_queue_xmit() (net/core/dev.c) under rcu_read_lock_bh(), and this "q" pointer is passed here for later use (reading) by softirq run net_tx_action(). Alas in net/ RCU primitives are probably omitted in a few places... Thanks for the explanation, Jarek P. break; } } clear_bit(__QDISC_STATE_RUNNING, &q->state); } -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Andrew Morton | 2.6.23-rc3-mm1 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Yinghai Lu | Re: [PATCH RFC] x86: check for and defend against BIOS memory corruption |
| Frederik Deweerdt | [-mm patch] remove tcp header from tcp_v4_check (take #2) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Herbert Xu | Re: [PATCH 2/3][NET_BATCH] net core use batching |
git: | |
