Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751833Ab0GRGok (ORCPT ); Sun, 18 Jul 2010 02:44:40 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:36299 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751750Ab0GRGoh (ORCPT ); Sun, 18 Jul 2010 02:44:37 -0400 Date: Sun, 18 Jul 2010 02:44:35 -0400 From: Christoph Hellwig To: Artem Bityutskiy Cc: Jens Axboe , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH 01/16] writeback: do not self-wakeup Message-ID: <20100718064435.GA23811@infradead.org> References: <1279284312-2411-1-git-send-email-dedekind1@gmail.com> <1279284312-2411-2-git-send-email-dedekind1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1279284312-2411-2-git-send-email-dedekind1@gmail.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 670 Lines: 15 On Fri, Jul 16, 2010 at 03:44:57PM +0300, Artem Bityutskiy wrote: > From: Artem Bityutskiy > > The bdi forker thread wakes up itself via 'bdi_add_to_pending()'. > And the thread is the only user of 'bdi_add_to_pending()'. Thus, > we can safely zap the unneeded 'wake_up_process()' call. At least right now it's called using call_rcu, which offloads the function to a RCU thread of some sorts. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/