> > 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 _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: swapper: page allocation failure. order:3, mode:0x20Christophe Saout
- swapper: page allocation failure. order:3, mode:0x20Joonas Kortesalmi
- Re: swapper: page allocation failure. order:3, mode:0x20Anton Blanchard
- Re: swapper: page allocation failure. order:3, mode:0x20Andrew Morton
- Re: swapper: page allocation failure. order:3, mode:0x20Anton Blanchard
- Re: swapper: page allocation failure. order:3, mode:0x20Christophe Saout
- Prev by Date: Re: swapper: page allocation failure. order:3, mode:0x20
- Next by Date: Re: 2.6.1-rc1-mm1 - ieee1394 broken again?
- Previous by thread: Re: swapper: page allocation failure. order:3, mode:0x20
- Next by thread: Re: swapper: page allocation failure. order:3, mode:0x20
- Indexes:[Main][Thread]