lkml.org 
[lkml]   [1999]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: scheduling policy of bottom halfs, task_queues and timers?
   Date: 	Thu, 8 Apr 1999 11:21:59 -0400 (EDT)
From: Kirk Reiser <kirk@braille.uwo.ca>

Could someone explain the scheduling policy around bottom-halfs,
task_queues and timer_lists. If one of the functions has been called
from these types, are they subject to normal time slicing or are they
allowed to run to completion? The documentation I've read doesn't
really address this point.

All kernel code is not preemtible unless the kernel functions explicitly
call schedule() or attempt to get a lock or call some other function
which might block and allow another kernel to run.

Functiosn which are triggered by bottom-half, task_queues, and
timer_lists are run at interrupt time, so they are not allowed call a
function which may block or call schedule().

- Ted

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

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