[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080410.015556.143133279.davem@davemloft.net>
Date: Thu, 10 Apr 2008 01:55:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 6/6] IPV4: route rekey timer can be deferrable
From: Stephen Hemminger <shemminger@...tta.com>
Date: Mon, 31 Mar 2008 17:47:14 -0700
> No urgency on the rehash interval timer, so mark it as deferrable.
>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
Applied to net-2.6.26, thanks.
> - setup_timer(&rt_secret_timer, rt_secret_rebuild, 0);
> + rt_secret_timer.function = rt_secret_rebuild;
> + rt_secret_timer.data = 0;
> + init_timer_deferrable(&rt_secret_timer);
I've seen enough of these that a setup_timer_deferrable()
might be appropriate.
--
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