From: David Miller <davem@davemloft.net>
To: akpm@linux-foundation.org
Cc: netdev@vger.kernel.org, lizf@cn.fujitsu.com,
lizf@cn.fujitsuc.com, menage@google.com
Subject: Re: [patch 1/2] cls_cgroup: remove unneeded cgroup_lock
Date: Sun, 17 May 2009 13:58:56 -0700 (PDT) [thread overview]
Message-ID: <20090517.135856.123307111.davem@davemloft.net> (raw)
In-Reply-To: <200905122106.n4CL6ndX009858@imap1.linux-foundation.org>
From: akpm@linux-foundation.org
Date: Tue, 12 May 2009 13:47:33 -0700
> From: Li Zefan <lizf@cn.fujitsu.com>
>
> We can remove this lock here, since we are in cgroup write handler and
> thus the cgrp is guaranteed to be valid, and no lock is needed when
> writing a u32 variable.
>
> Signed-off-by: Li Zefan <lizf@cn.fujitsuc.com>
> Acked-by: Paul Menage <menage@google.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Applied to net-next-2.6
prev parent reply other threads:[~2009-05-17 20:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 20:47 [patch 1/2] cls_cgroup: remove unneeded cgroup_lock akpm
2009-05-17 20:58 ` David Miller [this message]
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=20090517.135856.123307111.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=akpm@linux-foundation.org \
--cc=lizf@cn.fujitsu.com \
--cc=lizf@cn.fujitsuc.com \
--cc=menage@google.com \
--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;
as well as URLs for NNTP newsgroup(s).