On 25-Aug-2000 DJBARROW@de.ibm.com wrote:
> 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.
2.4 does
handle_tq_scheduler:
/*
* do not run the task queue with disabled interrupts,
* cli() wouldn't work on SMP
*/
sti();
run_task_queue(&tq_scheduler);
-- Dimitris Michailidis dimitris@engr.sgi.com - 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/
This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:16 EST