Re: [PATCH] mm: Warn about costly page allocation

From: Andrew Morton
Date: Mon Jul 09 2012 - 16:53:25 EST


On Mon, 9 Jul 2012 22:19:42 +0900
Minchan Kim <minchan@xxxxxxxxxx> wrote:

> > As you are using printk_ratelimit()

include/linux/printk.h sayeth

/*
* Please don't use printk_ratelimit(), because it shares ratelimiting state
* with all other unrelated printk_ratelimit() callsites. Instead use
* printk_ratelimited() or plain old __ratelimit().
*/

--
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/