From: WANG Cong <xiyou.wangcong@gmail.com>
To: herbert@gondor.apana.org.au
Cc: linux-kernel@vger.kernel.org, davem@davemloft.net, akpm@osdl.org,
netdev@vger.kernel.org
Subject: Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with delayed_work
Date: Mon, 28 Apr 2008 22:53:12 +0800 (CST) [thread overview]
Message-ID: <20080428.225312.58450957.xiyou.wangcong@gmail.com> (raw)
In-Reply-To: <20080427011809.GA662@gondor.apana.org.au>
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sun, 27 Apr 2008 09:18:09 +0800
> 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.
next prev parent reply other threads:[~2008-04-28 14:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-16 15:55 WANG Cong
2008-04-27 1:18 ` Herbert Xu
2008-04-28 14:53 ` WANG Cong [this message]
2008-04-28 15:13 ` Herbert Xu
2008-04-30 16:06 ` WANG Cong
2008-05-01 1:11 ` Herbert Xu
2008-05-02 5:21 ` WANG Cong
2008-05-02 5:35 ` [Patch] (revised) net/xfrm/xfrm_policy.c: " WANG Cong
2008-05-02 23:54 ` David Miller
2008-05-03 14:46 ` WANG Cong
2008-05-03 15:06 ` Herbert Xu
2008-05-03 15:31 ` WANG Cong
2008-05-04 1:38 ` David Miller
2008-05-04 1:37 ` David Miller
2008-05-06 3:08 ` Herbert Xu
2008-05-06 3:57 ` WANG Cong
2008-05-02 5:43 ` [Patch](Revised) net/xfrm/xfrm_state.c: " WANG Cong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080428.225312.58450957.xiyou.wangcong@gmail.com \
--to=xiyou.wangcong@gmail.com \
--cc=akpm@osdl.org \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®