[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.10.0804302355120.2940@localhost.localdomain>
Date: Thu, 1 May 2008 00:06:55 +0800 (CST)
From: WANG Cong <xiyou.wangcong@...il.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
cc: WANG Cong <xiyou.wangcong@...il.com>, linux-kernel@...r.kernel.org,
davem@...emloft.net, akpm@...l.org, netdev@...r.kernel.org
Subject: Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with delayed_work
On Mon, 28 Apr 2008, Herbert Xu wrote:
> On Mon, Apr 28, 2008 at 10:53:12PM +0800, WANG Cong wrote:
>>
>> Do you mean ->lock of struct xfrm_policy?
>> OK. I will recook these two patches soon.
>
> Yep.
Hi, Herbert.
I referenced the book Linux Device Drivers, it is said that
the work function in workqueue can sleep, that is to say, it only
works in process context, so we don't need the disable the lock
in softirq, which is interrupt context, right?
Please teach me if I missed some obvious things. ;-)
Thanks.
--
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