Thread (44 messages) 44 messages, 5 authors, 2011-04-04

Re: [PATCH 09/27] nfs: writeback pages wait queue

From: Peter Zijlstra <hidden>
Date: 2011-03-04 09:10:43
Also in: linux-fsdevel, lkml

On Fri, 2011-03-04 at 10:01 +0800, Wu Fengguang wrote:
                        clear_bdi_congested(bdi, BLK_RW_SYNC);
                        /*
                         * On the following wake_up(), nfs_wait_congested()
                         * will see the cleared bit and quit.
                         */
                        smp_mb__after_clear_bit();
                }
                if (waitqueue_active(&wqh[BLK_RW_SYNC]))
                        wake_up(&wqh[BLK_RW_SYNC]); 
If I tell you that: try_to_wake_up() implies an smp_wmb(), do you then
still need this?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help