Re: [Patch] (revised) net/xfrm/xfrm_policy.c: replace timer withdelayed_work

From: David Miller
Date: Fri May 02 2008 - 19:55:15 EST


From: WANG Cong <xiyou.wangcong@xxxxxxxxx>
Date: Fri, 2 May 2008 13:35:55 +0800 (CST)

>
> As suggested by Herbert Xu, using workqueue is better than timer
> for net/xfrm/xfrm_policy.c, so replace them with delayed_work.
> And due to this change, we have to disable BH when trying to
> lock.
>
> Note that, this patch is not fully tested, so should be
> in -mm first.
>
> Signed-off-by: WANG Cong <wangcong@xxxxxxxxx>

Please let me know when these two patches have gotten some
good testing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/