[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CA3056B.6010901@trash.net>
Date: Wed, 29 Sep 2010 11:22:51 +0200
From: Patrick McHardy <kaber@...sh.net>
To: didier <did447@...il.com>
CC: netdev@...r.kernel.org
Subject: Re: VLAN GARP triggers a lot of timers if linux compiled with VLAN_8021Q_GVRP
Am 29.09.2010 02:35, schrieb didier:
> Hi,
>
> In my understanding GARP is using a periodic timer but in net/802/garp.c:
>
> garp_join_timer_arm()
>
> delay = (u64)msecs_to_jiffies(garp_join_time)* net_random() >> 32;
> mod_timer(&app->join_timer, jiffies +delay)
>
> Isn't this stuff triggering a *lot* of events?
Yeah, something around 5-10 timers per second IIRC. There was an RFC
patch a while ago to only schedule the timer on-demand, I'll see
whether I can find it again.
--
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