From: David Miller <davem@davemloft.net>
To: menage@google.com
Cc: lizf@cn.fujitsu.com, akpm@linux-foundation.org, tgraf@suug.ch,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH] cls_cgroup: read classid atomically in classifier
Date: Tue, 26 May 2009 20:47:10 -0700 (PDT) [thread overview]
Message-ID: <20090526.204710.124271694.davem@davemloft.net> (raw)
In-Reply-To: <20090526195840.8464.36548.stgit@menage.mtv.corp.google.com>
From: Paul Menage <menage@google.com>
Date: Tue, 26 May 2009 12:59:11 -0700
> cls_cgroup: read classid atomically in classifier
>
> Avoid reading the unsynchronized value cs->classid multiple times,
> since it could change concurrently from non-zero to zero; this would
> result in the classifier returning a positive result with a bogus
> (zero) classid.
>
> Signed-off-by: Paul Menage <menage@google.com>
> Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Patch applied, thanks!
next prev parent reply other threads:[~2009-05-27 3:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 19:59 Paul Menage
2009-05-26 21:04 ` Andrew Morton
2009-05-26 21:39 ` Paul Menage
2009-05-27 3:47 ` David Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-05-21 18:31 Paul Menage
2009-05-21 19:44 ` Jiri Pirko
2009-05-21 22:22 ` David Miller
2009-05-20 17:34 Paul Menage
2009-05-21 0:49 ` Li Zefan
2009-05-21 3:40 ` David Miller
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=20090526.204710.124271694.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=menage@google.com \
--cc=netdev@vger.kernel.org \
--cc=tgraf@suug.ch \
/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®