Messages in this thread |  | | From | DJBARROW@de ... | Date | Fri, 25 Aug 2000 19:45:21 +0200 | Subject | Scheduler 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/
|  |