login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
28
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with delayed_work
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: WANG Cong
Subject:
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with delayed_work
Date: Monday, April 28, 2008 - 7:53 am
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Sun, 27 Apr 2008 09:18:09 +0800
quoted text
> On Sat, Feb 16, 2008 at 11:55:34PM +0800, WANG Cong wrote: > > > > As suggested by Herbert, using workqueue is better than timer > > for net/xfrm/xfrm_policy.c, so replace them with delayed_work. > > > > Note that, this patch is not fully tested, just compile and > > run as a whole on an Intel Core Duo matchine. So should be > > in -mm first. > > > > Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> > > Cc: Herbert Xu <herbert@gondor.apana.org.au> > > Cc: David Miller <davem@davemloft.net> > > Sorry for the extremely long delay, but I've finally made it > to this email in my backlog :) > > The patch looks OK except for one thing, the read-write spin > lock needs to disable BH now that it's moved to process context. > Otherwise we'll get dead-locks with the softirq path taking the > same lock.
Do you mean ->lock of struct xfrm_policy? OK. I will recook these two patches soon. Thanks for review. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[Patch]net/xfrm/xfrm_policy.c: replace timer with delayed_work
, WANG Cong
, (Sat Feb 16, 8:55 am)
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with dela ...
, Herbert Xu
, (Sat Apr 26, 6:18 pm)
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with dela ...
, WANG Cong
, (Mon Apr 28, 7:53 am)
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with dela ...
, Herbert Xu
, (Mon Apr 28, 8:13 am)
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with dela ...
, WANG Cong
, (Wed Apr 30, 9:06 am)
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with dela ...
, Herbert Xu
, (Wed Apr 30, 6:11 pm)
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with dela ...
, WANG Cong
, (Thu May 1, 10:21 pm)
[Patch] (revised) net/xfrm/xfrm_policy.c: replace timer wi ...
, WANG Cong
, (Thu May 1, 10:35 pm)
[Patch](Revised) net/xfrm/xfrm_state.c: replace timer with ...
, WANG Cong
, (Thu May 1, 10:43 pm)
Re: [Patch] (revised) net/xfrm/xfrm_policy.c: replace time ...
, David Miller
, (Fri May 2, 4:54 pm)
Re: [Patch] (revised) net/xfrm/xfrm_policy.c: replace time ...
, WANG Cong
, (Sat May 3, 7:46 am)
Re: [Patch] (revised) net/xfrm/xfrm_policy.c: replace time ...
, Herbert Xu
, (Sat May 3, 8:06 am)
Re: [Patch] (revised) net/xfrm/xfrm_policy.c: replace time ...
, WANG Cong
, (Sat May 3, 8:31 am)
Re: [Patch] (revised) net/xfrm/xfrm_policy.c: replace time ...
, David Miller
, (Sat May 3, 6:37 pm)
Re: [Patch] (revised) net/xfrm/xfrm_policy.c: replace time ...
, David Miller
, (Sat May 3, 6:38 pm)
Re: [Patch] (revised) net/xfrm/xfrm_policy.c: replace time ...
, Herbert Xu
, (Mon May 5, 8:08 pm)
Re: [Patch] (revised) net/xfrm/xfrm_policy.c: replace time ...
, WANG Cong
, (Mon May 5, 8:57 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Brownell
Re: build #337 failed for 2.6.24-rc1-gb1d08ac In function `usbnet_set_settings':
Matthew Garrett
Re: 2.6.25-rc6 regression - hang on resume [Bug 10319]
Andy Walls
Re: [PATCH 11/32] v4l/cx18: update workqueue usage
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Thomas Gleixner
[patch -mm 19/28] x86_64: Use generic cmos update
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Johannes Schindelin
Re: error: cannot lock ref 'refs/remotes/origin/*'
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Jonathan Nieder
Re: [PATCH v2] git-send-email.perl: fix In-Reply-To for second and subsequent patc...
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Eric Dumazet
Re: HTB accuracy on 10GbE
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (8018): Add em2860 chip ID
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
[ARM] unconditionally define __virt_to_phys and __phys_to_virt
Linux Kernel Mailing List
ixgbe: fix automatic LRO/RSC settings for low latency
Linux Kernel Mailing List
3c515: convert to net_device_ops
openbsd-misc
:
Samuel Baldwin
Re: Forum engine
Robert
disklabel - cylinder rounding
nixlists
Re: Which laptops do the developers use?
Claudio Jeker
Re: OT: Python (was Re: vi in /bin)
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Colocation donated by:
Syndicate