Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S273027AbTHFAoA (ORCPT ); Tue, 5 Aug 2003 20:44:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S273028AbTHFAoA (ORCPT ); Tue, 5 Aug 2003 20:44:00 -0400 Received: from fw.osdl.org ([65.172.181.6]:37811 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S273027AbTHFAn7 (ORCPT ); Tue, 5 Aug 2003 20:43:59 -0400 Date: Tue, 5 Aug 2003 17:45:36 -0700 From: Andrew Morton To: Robert Love Cc: linux-kernel@vger.kernel.org, Valdis.Kletnieks@vt.edu, piggin@cyberone.com.au, kernel@kolivas.org, linux-mm@kvack.org Subject: Re: [patch] real-time enhanced page allocator and throttling Message-Id: <20030805174536.6cb5fbf0.akpm@osdl.org> In-Reply-To: <1060130368.4494.166.camel@localhost> References: <1060121638.4494.111.camel@localhost> <20030805170954.59385c78.akpm@osdl.org> <1060130368.4494.166.camel@localhost> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 942 Lines: 27 Robert Love wrote: > > On Tue, 2003-08-05 at 17:09, Andrew Morton wrote: > > > -void balance_dirty_pages(struct address_space *mapping) > > +static void balance_dirty_pages(struct address_space *mapping) > > Hrm. void? I have this as an int in my tree (test2-mm4), did you change > something? The function returns stuff.. I made it a 'static int' ah, I had inserted that patch before the AIO patches, which change that. > > dirty_exceeded = 1; > > + if (rt_task(current)) > > + break; > > OK, this was my other option. I think this is better because, as we have > both said, it allows us to wake up pdflush. > > Here is what I have right now, now .. It's testing time. - 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/