Re: Solid doc for kernel

Peter Samuelson (peter@wire.cadcamlab.org)
06 Dec 1999 13:20:39 -0600


[Pavel Machek <pavel@suse.cz>]
> It would be nice to warn if such condition is detected. Silently
> correcting problems is bad thing (tm). So patch currently looks like
> this.

> /* glitch! bail out... */
> else {
> printk( "Keyboard glitch detected, ignoring keypress\n" );
> return;
> }

Without rate-limiting? Remember that this can happen four times per
second. That adds up to a lot of syslog. Print *one* message, maybe
two, then decrement your int variable so it will never happen again....

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/