On 06/26, Davide Libenzi wrote:Yes, yes. I just meant you are right imho, we shouldn't add mb() into add_wait_queue(). This is subjective and thus up to maintainers, but personally I think you are very, very right. Perhaps we can add void sock_poll_wait(struct file *file, struct sock *sk, poll_table *pt) { if (pt) { poll_wait(file, sk->sk_sleep, pt); /* * fat comment */ smp_mb(); // or smp_mb__after_unlock(); } } Oleg. -- 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
| Sunil Naidu | Re: Linux 2.6.20-rc6 |
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Chris Snook | Re: init's children list is long and slows reaping children. |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Eric W. Biederman | Re: [PATCH 10/11] avoid kobject name conflict with different namespaces |
