Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 25 Jul 2002 05:26:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 25 Jul 2002 05:26:51 -0400 Received: from mx1.elte.hu ([157.181.1.137]:7892 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Thu, 25 Jul 2002 05:26:19 -0400 Date: Thu, 25 Jul 2002 11:28:15 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: "David S. Miller" Cc: torvalds@transmeta.com, Subject: Re: Linux-2.5.28 In-Reply-To: <20020724.225921.108418454.davem@redhat.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: 728 Lines: 18 On Wed, 24 Jul 2002, David S. Miller wrote: > I really think it is unwise to even imply that this kind of cli/sti > fixup can be done in some mindless manner, it really can't :-) i think the networking code is a special case - nothing else relies on the interaction of timers and IRQ contexts in such a deep way. (which it does for performance reasons.) I'd say 99% of all cli()/sti() users are in the 'introduce a per-driver or per-subsystem lock' league Linus mentioned. 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/