From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minchan Kim Subject: Re: [PATCH] writeback: skip balance_dirty_pages() for in-memory fs Date: Sat, 18 Dec 2010 00:34:04 +0900 Message-ID: References: <20101213144646.341970461@intel.com> <20101213150329.002158963@intel.com> <20101217021934.GA9525@localhost> <20101217112111.GA8323@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Hugh Dickins , Andrew Morton , Jan Kara , Christoph Hellwig , Trond Myklebust , Dave Chinner , "Theodore Ts'o" , Chris Mason , Peter Zijlstra , Mel Gorman , Rik van Riel , KOSAKI Motohiro , Greg Thelen , linux-mm , "linux-fsdevel@vger.kernel.org" , LKML To: Wu Fengguang Return-path: In-Reply-To: <20101217112111.GA8323@localhost> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, Dec 17, 2010 at 8:21 PM, Wu Fengguang = wrote: > This avoids unnecessary checks and dirty throttling on tmpfs/ramfs. > > It also prevents > > [ =A0388.126563] BUG: unable to handle kernel NULL pointer dereferenc= e at 0000000000000050 > > in the balance_dirty_pages tracepoint, which will call > > =A0 =A0 =A0 =A0dev_name(mapping->backing_dev_info->dev) > > but shmem_backing_dev_info.dev is NULL. > > CC: Hugh Dickins > Signed-off-by: Wu Fengguang Reviewed-by: Minchan Kim Is it a material for -stable? --=20 Kind regards, Minchan Kim