From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH RFC] mm: Implement balance_dirty_pages() through waiting for flusher thread Date: Fri, 18 Jun 2010 12:21:35 +0200 Message-ID: <1276856495.27822.1697.camel@twins> References: <1276797878-28893-1-git-send-email-jack@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, hch@infradead.org, akpm@linux-foundation.org, wfg@mail.ustc.edu.cn To: Jan Kara Return-path: In-Reply-To: <1276797878-28893-1-git-send-email-jack@suse.cz> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Thu, 2010-06-17 at 20:04 +0200, Jan Kara wrote: > + /* > + * Now we can wakeup the writer which frees wc en= try > + * The barrier is here so that woken task sees th= e > + * modification of wc. > + */ > + smp_wmb(); > + __wake_up_locked(&bdi->wb_written_wait, TASK_NORM= AL);=20 wakeups imply a wmb. -- 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/ . Don't email: email@kvack.org