Re: [PATCH RFC] mm: Implement balance_dirty_pages() through waiting for flusher thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-06-17 at 20:04 +0200, Jan Kara wrote:
> +                       /*
> +                        * Now we can wakeup the writer which frees wc entry
> +                        * The barrier is here so that woken task sees the
> +                        * modification of wc.
> +                        */
> +                       smp_wmb();
> +                       __wake_up_locked(&bdi->wb_written_wait, TASK_NORMAL); 

wakeups imply a wmb.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]