Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with delayed_work

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: WANG Cong
Date: Wednesday, April 30, 2008 - 9:06 am

On Mon, 28 Apr 2008, Herbert Xu wrote:


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.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with dela ..., WANG Cong, (Wed Apr 30, 9:06 am)