[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090901.154910.199945922.davem@davemloft.net>
Date: Tue, 01 Sep 2009 15:49:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: netdev@...r.kernel.org, tglx@...utronix.de
Subject: Re: [PATCH 1/2]: pkt_sched: Convert qdisc_watchdog to
tasklet_hrtimer
From: Jarek Poplawski <jarkao2@...il.com>
Date: Thu, 27 Aug 2009 08:36:41 +0000
> On 22-08-2009 02:03, David Miller wrote:
>> None of this stuff should execute in hw IRQ context, therefore
>> use a tasklet_hrtimer so that it runs in softirq context.
>>
>> Signed-off-by: David S. Miller <davem@...emloft.net>
>> ---
> ...
>> void qdisc_watchdog_cancel(struct qdisc_watchdog *wd)
>> {
>> - hrtimer_cancel(&wd->timer);
>> + tasklet_hrtimer_cancel(&wd->timer);
>> wd->qdisc->flags &= ~TCQ_F_THROTTLED;
>> }
>> EXPORT_SYMBOL(qdisc_watchdog_cancel);
>
> I've had a second look at it and I wonder why it's not reported, but
> since qdisc_watchdog_cancel is run in qdisc_reset with BHs disabled
> it seems there should be (at least) a warning triggered in
> tasklet_kill on positive in_interrupt test (unless I miss something,
> but can't test it now).
There are a lot of unknowns about this stuff.
It's very likely I'm going to simply revert these two patches
and try to work on these issues in net-next-2.6 instead.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists