From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with ESMTP id BB5286B00F4 for ; Mon, 13 Sep 2010 05:24:07 -0400 (EDT) Date: Mon, 13 Sep 2010 11:23:55 +0200 From: Johannes Weiner Subject: Re: [PATCH 01/17] writeback: remove the internal 5% low bound on dirty_ratio Message-ID: <20100913092355.GA20954@cmpxchg.org> References: <20100912154945.758129106@intel.com> <20100912155202.733389420@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100912155202.733389420@intel.com> Sender: owner-linux-mm@kvack.org To: Wu Fengguang Cc: linux-mm , LKML , Jan Kara , Peter Zijlstra , Andrew Morton , Theodore Ts'o , Dave Chinner , Mel Gorman , Rik van Riel , KOSAKI Motohiro , Chris Mason , Christoph Hellwig , Li Shaohua List-ID: On Sun, Sep 12, 2010 at 11:49:46PM +0800, Wu Fengguang wrote: > The dirty_ratio was siliently limited in global_dirty_limits() to >= 5%. > This is not a user expected behavior. And it's inconsistent with > calc_period_shift(), which uses the plain vm_dirty_ratio value. > > Let's rip the arbitrary internal bound. It may impact some very weird > user space applications. However we are going to dynamicly sizing the > dirty limits anyway, which may well break such applications, too. > > At the same time, fix balance_dirty_pages() to work with the > dirty_thresh=0 case. This allows applications to proceed when > dirty+writeback pages are all cleaned. > > And ">" fits with the name "exceeded" better than ">=" does. Neil > think it is an aesthetic improvement as well as a functional one :) > > CC: Jan Kara > Proposed-by: Con Kolivas > Acked-by: Peter Zijlstra > Reviewed-by: Rik van Riel > Reviewed-by: Neil Brown > Reviewed-by: KOSAKI Motohiro > Signed-off-by: Wu Fengguang Acked-by: Johannes Weiner -- 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