Re: [patch] real-time enhanced page allocator and throttling

From: Andrew Morton (akpm@osdl.org)
Date: Tue Aug 05 2003 - 19:45:36 EST


Robert Love <rml@tech9.net> 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/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:31 EST