* Fw: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking
@ 2014-10-28 23:49 Paul E. McKenney
2014-10-29 0:25 ` Mike Snitzer
0 siblings, 1 reply; 3+ messages in thread
From: Paul E. McKenney @ 2014-10-28 23:49 UTC (permalink / raw)
To: agk, snitzer, dm-devel
And similarly for this one on both counts.
Thanx, Paul
----- Forwarded message from "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> -----
Date: Tue, 28 Oct 2014 15:09:57 -0700
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: mingo@kernel.org, laijs@cn.fujitsu.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, dvhart@linux.intel.com, fweisbec@gmail.com,
oleg@redhat.com, bobby.prani@gmail.com, "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Subject: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking
X-Mailer: git-send-email 1.8.1.5
From: Pranith Kumar <bobby.prani@gmail.com>
Annotate the map field with __rcu since this is a rcu pointer which is checked
by sparse.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
drivers/md/dm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index e7399362722e..3372b8378830 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -140,7 +140,7 @@ struct mapped_device {
* Use dm_get_live_table{_fast} or take suspend_lock for
* dereference.
*/
- struct dm_table *map;
+ struct dm_table __rcu *map;
struct list_head table_devices;
struct mutex table_devices_lock;
--
1.8.1.5
----- End forwarded message -----
----- End forwarded message -----
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Fw: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking
2014-10-28 23:49 Fw: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking Paul E. McKenney
@ 2014-10-29 0:25 ` Mike Snitzer
2014-10-29 2:43 ` Paul E. McKenney
0 siblings, 1 reply; 3+ messages in thread
From: Mike Snitzer @ 2014-10-29 0:25 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: dm-devel, agk
On Tue, Oct 28 2014 at 7:49pm -0400,
Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
> And similarly for this one on both counts.
Yeap, I'll take it, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Fw: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking
2014-10-29 0:25 ` Mike Snitzer
@ 2014-10-29 2:43 ` Paul E. McKenney
0 siblings, 0 replies; 3+ messages in thread
From: Paul E. McKenney @ 2014-10-29 2:43 UTC (permalink / raw)
To: Mike Snitzer; +Cc: dm-devel, agk
On Tue, Oct 28, 2014 at 08:25:13PM -0400, Mike Snitzer wrote:
> On Tue, Oct 28 2014 at 7:49pm -0400,
> Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
>
> > And similarly for this one on both counts.
>
> Yeap, I'll take it, thanks.
Very good, I will drop both from my tree.
Thanx, Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-29 2:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28 23:49 Fw: [PATCH tip/core/rcu 4/9] dm: sparse: Annotate field with __rcu for checking Paul E. McKenney
2014-10-29 0:25 ` Mike Snitzer
2014-10-29 2:43 ` Paul E. McKenney
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.