Re: [PATCH 3/4] Count the number of times zone_reclaim() scans and fails
From: KOSAKI Motohiro
Date: Tue Jun 09 2009 - 21:47:33 EST
Hi
I like this patch. thank you mel.
> @@ -2489,6 +2489,10 @@ int zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order)
> ret = __zone_reclaim(zone, gfp_mask, order);
> zone_clear_flag(zone, ZONE_RECLAIM_LOCKED);
>
> + if (!ret) {
> + count_vm_events(PGSCAN_ZONERECLAIM_FAILED, 1);
> + }
> +
> return ret;
count_vm_event(PGSCAN_ZONERECLAIM_FAILED)?
--
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/