Subject: Re: Interrupt, interrupt threads, continuations, and kernel lwps
To: Bucky Katz <bucky@picovex.com>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 02/23/2007 21:09:19
On Thu, Feb 22, 2007 at 10:33:36PM -0800, Bucky Katz wrote:
> 
> A wise man once told me that "if you're doing more work in interrupt
> context than you can comfortably code in assembler in an afternoon,
> you're doing too much work in interrupt context." ;)

However you are going to have to execute the cpu cycles at some point,
if the interrupt isn't going to schedule a process then you probably
want to avoid the cost of the scheduling the deferred code.

Remembers the ISR code to drive a stepper motor graph plotter under RSX/11M
(which expected the h/w ISR to just remove the IRQ and leave the rest of
the code to some os work queue...)

	David

-- 
David Laight: david@l8s.co.uk