Re: [PATCH] earlier allocation of order 0 pages from pcp in__alloc_pages

From: Rohit Seth
Date: Thu Sep 29 2005 - 19:58:36 EST


On Thu, 2005-09-29 at 15:36 -0700, Andrew Morton wrote:
> "Seth, Rohit" <rohit.seth@xxxxxxxxx> wrote:
> >
> > [PATCH]: Try to service a order 0 page request in __alloc_pages from the pcp list before checking the aone_watermarks.
> >
> > Try to service a order 0 page request from pcp list. This will allow us to not check and possibly start the reclaim activity when there are free pages present on the pcp. This early allocation does not try to replenish an empty pcp.
>
> (Please avoid the 240-column emails!)
>

This is bad. Sorry.

> Why is this a desirable change to make?

This change avoids any checks for watermarks and starting potential
reclaims for the cases where we already know we don't need to.

-rohit

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/