Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 15 Oct 2002 17:12:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 15 Oct 2002 17:11:18 -0400 Received: from mx1.elte.hu ([157.181.1.137]:52432 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Tue, 15 Oct 2002 17:11:06 -0400 Date: Tue, 15 Oct 2002 23:28:00 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: "Maksim (Max) Krasnyanskiy" Cc: "David S. Miller" , , Subject: Re: [RFC] Rename _bh to _softirq In-Reply-To: <5.1.0.14.2.20021015135529.051b49b0@mail1.qualcomm.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1142 Lines: 27 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/