Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755208AbZGNQAx (ORCPT ); Tue, 14 Jul 2009 12:00:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753503AbZGNQAw (ORCPT ); Tue, 14 Jul 2009 12:00:52 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:54455 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751267AbZGNQAv (ORCPT ); Tue, 14 Jul 2009 12:00:51 -0400 Date: Tue, 14 Jul 2009 09:00:55 -0700 (PDT) Message-Id: <20090714.090055.56906831.davem@davemloft.net> To: tglx@linutronix.de Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kaber@trash.net, peterz@infradead.org Subject: Re: [patch 1/3] net: serialize hrtimer callback in sched_cbq From: David Miller In-Reply-To: References: <20090709215606.526259917@linutronix.de> <20090712.135555.207096388.davem@davemloft.net> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 30 From: Thomas Gleixner Date: Tue, 14 Jul 2009 10:55:14 +0200 (CEST) > David, > > On Sun, 12 Jul 2009, David Miller wrote: > >> What should probably happen is that the hrtimer merely fires off work >> at software interrupt context (perhaps a tasklet or similar), and that >> software interrupt code take the qdisc's root lock throughout it's >> execution. > > Sigh, I almost expected that the removal of the callback modes will > fire back some day. Well this makes hrtimers decidedly less useful for networking and we have a ton of bugs right now, basically in every hrtimer used by the networking currently. The only way we can use them, as things currently stand, is as triggers for softirq work. Is it really that troublesome to provide this kind of facility generically, rather than having various subsystems replicate such code where they want to use hrtimers and are restricted to softirqs? -- 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/