Re: [PATCH] vmscan: make kswapd use a correct order

From: Andrew Morton
Date: Thu Dec 09 2010 - 17:14:32 EST


On Fri, 3 Dec 2010 01:00:49 +0900
Minchan Kim <minchan.kim@xxxxxxxxx> wrote:

> +static bool kswapd_try_to_sleep(pg_data_t *pgdat, int order)

OT: kswapd_try_to_sleep() does a
trace_mm_vmscan_kswapd_sleep(pgdat->node_id) if it sleeps for a long
time, but doesn't trace anything at all if it does a short sleep.
Where's the sense in that?
--
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/