Re: [patch] Reset the high water marks in CPUs pcp list

Rohit Seth
2005-09-28T20:26:25Z

On Wed, 2005-09-28 at 13:01 -0700, Christoph Lameter wrote:
> On Wed, 28 Sep 2005, Seth, Rohit wrote:
>
> > Recent changes in page allocations for pcps has increased the high watermark for these lists. This has resulted in scenarios where pcp lists could be having bigger number of free pages even under low memory conditions.
> >
> > [PATCH]: Reduce the high mark in cpu's pcp lists.
>
> There is no need for such a patch. The pcp lists are regularly flushed.
> See drain_remote_pages.

CONFIG_NUMA needs to be defined for that. And then too for flushing the
remote pages. Also, when are you flushing the local pcps. Also note
that this patch is just bringing the free pages on the pcp list closer
to what used to be the number earlier.

-rohit