Re: [PATCH] serial8250: ratelimit "too much work" error

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Monday, October 4, 2010 - 4:49 pm

On Mon, 04 Oct 2010 16:34:05 -0700
Joe Perches <joe@perches.com> wrote:


It might need changes when adapted to additional uses.  These things
happen.


Gee I dunno.  Sending occasional packets of accumulated counters up to
userspace via netlink?  Who knows, people do all sorts of things.
I bet there's code in the kernel right now which could use this.

Look at the file!  It all does one thing.  It encapsulates a single
concept.  It's simply a bad thing to add single-concept
application-specific material into that.  Layering, and all that.


I know that.  It's the first thing I thought of, before deciding that
it would be a poor thing to do.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] serial8250: ratelimit "too much work" error, Andrew Morton, (Mon Oct 4, 4:49 pm)