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

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/

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