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

From: WANG Cong
Date: Sat May 03 2008 - 10:43:28 EST


On Fri, May 02, 2008 at 04:54:55PM -0700, David Miller wrote:
>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.

Thanks for your comments, David!

I thought it can go into -mm so that many other people can help
me to test it. Since I didn't have the IPSec environment. ;(

I will try if I can set up one, then test it.

Thanks.
--
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/