lkml.org 
[lkml]   [2002]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Rename _bh to _softirq

On Tue, 15 Oct 2002, Maksim (Max) Krasnyanskiy wrote:

> tasklets are softirqs. I mean they aren't much different. Tasklets are
> executed from the softirq, so they have same context and stuff.

well, tasklets are a subset of softirqs, in that the code triggered by a
tasklet can run only on one CPU at once. Ie. they are a special kind of
softirq that knows about global things like "I'm executing currently".

Ie., just to confuse things, they are similar to what old-BHs used to be,
with the difference that the enumeration of tasklets is much nicer
(pointer based and can be embedded in any structure), not some global
registry of integers like old-BHs were.

(tasklets can also be scheduled via two priority levels: a 'high' priority
scheduling and a 'low' priority scheduling. old-BHs used to have fixed
priority levels directly attached to their global enumeration integer
values.)

Ingo

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

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