* Ingo Molnar (mingo@elte.hu) wrote:Hm. Looking at http://lkml.org/lkml/2009/6/23/192, a very basic question comes to my mind : Why don't we create a read_lock without acquire semantic instead (e.g. read_lock_nomb(), or something with a better name like __read_lock()) ? On architectures where memory barriers are needed to provide the acquire semantic, it would be faster to do : __read_lock(); smp_mb(); than : read_lock(); <- e.g. lwsync + isync or something like that smp_mb(); <- full sync. Second point : __add_wait_queue/waitqueue_active/wake_up_interruptible would probably benefit from adding comments about their combined use with other checks and how nice memory barriers are. Mathieu -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -- 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 | -mm merge plans for 2.6.23 |
| David Miller | Re: [BUG] New Kernel Bugs |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | Re: Linux 2.6.21-rc4 |
git: | |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Eric W. Biederman | [PATCH] macvlan: Support creating macvlans from macvlans |
