From: David Miller <davem@davemloft.net>
To: jolsa@redhat.com
Cc: dhowells@redhat.com, lizf@cn.fujitsu.com, paul.moore@hp.com,
johannes@sipsolutions.net, dipankar@in.ibm.com,
linux-kernel@vger.kernel.org,
containers@lists.linux-foundation.org, kvm@vger.kernel.org
Subject: Re: [PATCH 3/3] net - removing superfluous rcu_read_lock_held check
Date: Mon, 01 Nov 2010 13:33:28 -0700 (PDT) [thread overview]
Message-ID: <20101101.133328.232758664.davem@davemloft.net> (raw)
In-Reply-To: <1288638909-10541-4-git-send-email-jolsa@redhat.com>
From: Jiri Olsa <jolsa@redhat.com>
Date: Mon, 1 Nov 2010 20:15:09 +0100
> the rcu_dereference_check is defined as
>
> #define rcu_dereference_check(p, c) \
> __rcu_dereference_check((p), rcu_read_lock_held() || (c), __rcu)
>
> so the caller does not need to specify rcu_read_lock_held() condition.
>
> Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
next prev parent reply other threads:[~2010-11-01 20:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-01 19:15 [PATCH 0/3] rcu " Jiri Olsa
2010-11-01 19:15 ` [PATCH 1/3] cgroup " Jiri Olsa
2010-11-02 17:54 ` Li Zefan
2010-11-01 19:15 ` [PATCH 2/3] kernel,cred,kvm,security " Jiri Olsa
2010-11-01 22:42 ` Paolo Bonzini
2010-11-02 7:21 ` Jiri Olsa
2010-11-01 19:15 ` [PATCH 3/3] net " Jiri Olsa
2010-11-01 20:33 ` David Miller [this message]
2010-11-01 21:47 ` Paul Moore
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=20101101.133328.232758664.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=containers@lists.linux-foundation.org \
--cc=dhowells@redhat.com \
--cc=dipankar@in.ibm.com \
--cc=johannes@sipsolutions.net \
--cc=jolsa@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=paul.moore@hp.com \
/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
Powered by JetHome