Re: [VM PATCH 2.6.8-rc1] Prevent excessive scanning of lower zone

From: Nick Piggin
Date: Thu Jul 22 2004 - 22:47:26 EST

Andrew Morton wrote:
Shantanu Goel <sgoel01@xxxxxxxxx> wrote:

I emailed this a few weeks back to the list but it
seems to have gotten lost...

I think your total_reclaimed fix is correct. I sent the same one to Andrew
a while ago, but I'm not sure if he picked it up.

The sc->nr_to_reclaim fix I guess is alright but a bit ugly. Setting
nr_to_reclaim it in try_to_free_pages and balance_pgdat is what I'm doing
now, but that requires teaching balance_pgdat about the lower zone protection
and takes a little more work.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at