Re: swapper: page allocation failure. order:3, mode:0x20

From: Anton Blanchard
Date: Thu Jan 01 2004 - 17:56:52 EST



> > How does this look?
> > [...]
> > + static unsigned long toks = 10*5*HZ;
> > + static unsigned long last_msg;
> > + static int missed;
>
> This would mean that all users of printk_ratelimit share this. If
> printk_ratelimit is bombed by one user other perhaps important messages
> are also suppressed.

printk_ratelimit is only to be used for things which we can afford to
lose (eg our VM debugging messages). Don't use it on anything important :)

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