From: Andrew Morton <akpm@linux-foundation.org>
To: Paul Menage <menage@google.com>
Cc: lizf@cn.fujitsu.com, davem@davemloft.net, 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 14:04:08 -0700 [thread overview]
Message-ID: <20090526140408.6c829124.akpm@linux-foundation.org> (raw)
In-Reply-To: <20090526195840.8464.36548.stgit@menage.mtv.corp.google.com>
On Tue, 26 May 2009 12:59:11 -0700
Paul Menage <menage@google.com> wrote:
> 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.
When this race occurs, what are the user-visible consequences?
People who need to decide to which kernels a patch should be applied
like to know such things.
next prev parent reply other threads:[~2009-05-26 21:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 19:59 [PATCH] cls_cgroup: read classid atomically in classifier Paul Menage
2009-05-26 21:04 ` Andrew Morton [this message]
2009-05-26 21:39 ` Paul Menage
2009-05-27 3:47 ` David Miller
-- 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=20090526140408.6c829124.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.