On 06/28, Jarek Poplawski wrote:Perhaps it makes sense to check ->sk_sleep != NULL in sock_poll_wait(), but I don't think we need __poll_wait(). poll_wait() is inline, I think gcc will optimize out "if (p && wait_address)" check if poll_wait() is called from sock_poll_wait(). This all is up to Jiri of course. But speaking about cosmetic changes, I think it is better to make 2 patches. The first one fixes the problem using smp_mb(), another introduces smp_mb__xxx_lock() to optimize the code. 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
| Thomas Gleixner | Re: Linux 2.6.21-rc1 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| James Bottomley | [Ksummit-2008-discuss] Fixing the Kernel Janitors project |
| James Morris | Re: LSM conversion to static interface |
git: | |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Christoph Hellwig | Re: [PATCH 06/32] IGET: Mark iget() and read_inode() as being obsolete [try #2] |
| Linus Torvalds | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
