lkml.org 
[lkml]   [2000]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectScheduler question


Hi,
We have noticed that do_bottom_half leaves interrupts disabled on the local
cpu when it exits,
This results in the tq_scheduler task queue sometimes running with
interrupts disabled.
Which has been causing some sad happenings in our code,we were not
expecting this & it
has caused some grief in drivers.

It has been suggested that this is required to prevent infinite recursion
in do_bottom_half,
I have been using this to do things like starting kernel threads it hasn't
crashed yet but
I have a friend whose code did deadlock because of this.

I know I could keep a thread permanently running & wake it up when
neccessary but this is a little wasteful.

Suggestions/Opinions.

D.J. Barrow Linux for S/390 kernel developer
eMail: djbarrow@de.ibm.com,barrow_dj@yahoo.com
Phone: +49-(0)7031-16-2583
IBM Germany Lab, Schönaicherstr. 220, 71032 Böblingen


D.J. Barrow Linux for S/390 kernel developer
eMail: djbarrow@de.ibm.com,barrow_dj@yahoo.com
Phone: +49-(0)7031-16-2583
IBM Germany Lab, Schönaicherstr. 220, 71032 Böblingen


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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.031 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site