From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 3/3 net-next] pkt_sched: sch_htb: Warn on too many events. Date: Sun, 01 Feb 2009 01:13:50 -0800 (PST) Message-ID: <20090201.011350.220646279.davem@davemloft.net> References: <20090128125230.GA6282@ff.dom.local> <49808544.5010304@trash.net> <20090130101725.GC8882@ff.dom.local> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: kaber@trash.net, devik@cdi.cz, netdev@vger.kernel.org To: jarkao2@gmail.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:40661 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752137AbZBAJNx (ORCPT ); Sun, 1 Feb 2009 04:13:53 -0500 In-Reply-To: <20090130101725.GC8882@ff.dom.local> Sender: netdev-owner@vger.kernel.org List-ID: From: Jarek Poplawski Date: Fri, 30 Jan 2009 10:17:25 +0000 > pkt_sched: sch_htb: Use workqueue to schedule after too many events. > > Patrick McHardy suggested using a workqueue instead > of hrtimers to trigger netif_schedule() when there is a problem with > setting exact time of this event: 'The differnce - yeah, it shouldn't > make much, mainly wake up the qdisc earlier (but not too early) after > "too many events" occured _and_ no further enqueue events wake up the > qdisc anyways.' > > Signed-off-by: Jarek Poplawski Applied.