Re: Slow down stupid pounders

From: Borislav Petkov
Date: Tue May 06 2014 - 12:10:18 EST


On Tue, May 06, 2014 at 05:08:19PM +0200, Mike Galbraith wrote:
> Rather than ratelimit the interface perhaps send a ratelimited note
> telling the user straight up that he's begging for trouble. We can
> ignore it when regression testing, and point it out to Joe Pounder
> should he fail to notice.. or be somewhat dense.

Yeah, if those dudes don't stare at dmesg, that note doesn't bring us
whit.

Alternatively, we could do

add_taint(TAINT_HOTPLUG_POUNDER)

when the rate is exceeded...

I'd rather like to slow it down for a second, though, if it doesn't hurt
any sensible use cases in doing so.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/