On Wednesday 10 March 2010 03:14:10 Paul E. McKenney wrote:Well, if I introduce different __rcu and __rcu_bh address space annotations, sparse would still not like that, because then you can only pass the annotated pointers into either rcu_dereference or rcu_dereference_bh. What the code seems to be doing here is in some places local_bh_disable(); ... rcu_read_lock(); rcu_dereference(rt_hash_table[h].chain); rcu_read_unlock(); ... local_bh_enable(); and in others rcu_read_lock_bh(); rcu_dereference_bh(rt_hash_table[h].chain); rcu_read_unlock_bh(); When rt_hash_table[h].chain gets the __rcu_bh annotation, we'd have to turn first rcu_dereference into rcu_dereference_bh in order to have a clean build with sparse. Would that change be a) correct from RCU perspective, b) desirable for code inspection, and c) lockdep-clean? Arnd -- 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
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set |
| Junio C Hamano | Re: Rss produced by git is not valid xml? |
| Linux Kernel Mailing List | iSeries: fix section mismatch in iseries_veth |
| Linux Kernel Mailing List | ixbge: remove TX lock and redo TX accounting. |
| Linux Kernel Mailing List | ixgbe: fix several counter register errata |
| Linux Kernel Mailing List | b43: fix build with CONFIG_SSB_PCIHOST=n |
| Linux Kernel Mailing List | 9p: block-base |
