From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH 3/5] mm: Implement IO-less balance_dirty_pages() Date: Fri, 04 Feb 2011 14:19:52 +0100 Message-ID: <1296825592.26581.654.camel@laptop> References: <1296783534-11585-1-git-send-email-jack@suse.cz> <1296783534-11585-4-git-send-email-jack@suse.cz> <1296824956.26581.649.camel@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Christoph Hellwig , Dave Chinner , Wu Fengguang To: Jan Kara Return-path: In-Reply-To: <1296824956.26581.649.camel@laptop> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Fri, 2011-02-04 at 14:09 +0100, Peter Zijlstra wrote: > > You can do that by keeping ->bw_to_write in task_struct and normalize it > by the estimated bdi bandwidth (patch 5), that way, when you next > increment it it will turn out to be lower and the wait will be shorter. The down-side is of course that time will leak from the system on exit, since its impossible to map back to a bdi. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org