Messages in this thread | | | Date | Thu, 1 May 2008 00:06:55 +0800 (CST) | Subject | Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with delayed_work | From | WANG Cong <> |
| |
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.
| |