[Ilugc] Using scheduler queue in Interrupt Handler crashes the system

  • From: ajosephantony@xxxxxxxxxxx (Joseph Antony)
  • Date: Tue, 3 Feb 2004 11:03:36 -0800 (PST)

You got it right. Just that, we can implement only
scheduler queue in the interrupt handler as it is the
only queue that is allowed to sleep without crashing
the system.

--- "Arvind R." <arvind@xxxxxxxxxxx> wrote:

Hi,
On Sun, Feb 01, 2004 at 09:03:14PM -0800, Joseph
Antony wrote:

I tried to implement a scheduler queue in the
interrupt handler.

If I understand you correctly -
You CANNOT implement a scheduler queue IN the
interrupt handler!
The queue is implemented in some dispatch function
of some driver
and signalled ( wake-up ) by the interrupt handler -
which is
ideally used to just setup/cleanup the hardware
interrupt interfaces
Put simply - 
The interruptible_sleep_on occurs in the driver's
dispatch function
and wake_up ocuurs in the interrupt handler

- arvind
_______________________________________________
To unsubscribe, email
ilugc-request@xxxxxxxxxxxxxxxxxx with 
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

Other related posts: