From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752264Ab1HLMyy (ORCPT ); Fri, 12 Aug 2011 08:54:54 -0400 Received: from merlin.infradead.org ([205.233.59.134]:49024 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870Ab1HLMyw convert rfc822-to-8bit (ORCPT ); Fri, 12 Aug 2011 08:54:52 -0400 Subject: Re: [PATCH 2/5] writeback: dirty position control From: Peter Zijlstra To: Wu Fengguang Cc: "linux-fsdevel@vger.kernel.org" , Andrew Morton , Jan Kara , Christoph Hellwig , Dave Chinner , Greg Thelen , Minchan Kim , Vivek Goyal , Andrea Righi , linux-mm , LKML Date: Fri, 12 Aug 2011 14:54:17 +0200 References: <20110806084447.388624428@intel.com> <20110806094526.733282037@intel.com> <1312811193.10488.33.camel@twins> <20110808141128.GA22080@localhost> <1312814501.10488.41.camel@twins> <20110808230535.GC7176@localhost> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.0.2- Message-ID: <1313153657.6576.40.camel@twins> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2011-08-12 at 00:56 +0200, Peter Zijlstra wrote: > > s - x 3 > f(x) := 1 + (-----) > d > btw, if you want steeper slopes for rampup and brake you can add another factor like: s - x 3 f(x) := 1 + a(-----) d And solve the whole f(l)=0 thing again to determine d in l and a. For 0 < a < 1 the slopes increase.