Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1260303 > unrolled thread
| Started by | Alexey Kardashevskiy <aik@ozlabs.ru> |
|---|---|
| First post | 2015-11-02 03:30 +0100 |
| Last post | 2015-11-02 04:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH kernel] rcu: Fix comment for rcu_dereference_raw_notrace Alexey Kardashevskiy <aik@ozlabs.ru> - 2015-11-02 03:30 +0100
Re: [PATCH kernel] rcu: Fix comment for rcu_dereference_raw_notrace "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-11-02 04:20 +0100
| From | Alexey Kardashevskiy <aik@ozlabs.ru> |
|---|---|
| Date | 2015-11-02 03:30 +0100 |
| Subject | [PATCH kernel] rcu: Fix comment for rcu_dereference_raw_notrace |
| Message-ID | <qqd2G-7YD-3@gated-at.bofh.it> |
rcu_dereference_raw() calls indirectly rcu_read_lock_held() while rcu_dereference_raw_notrace() does not so fix the comment about the latter. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> --- include/linux/rcupdate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 581abf8..931d627 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -760,7 +760,7 @@ static inline void rcu_preempt_sleep_check(void) * The tracing infrastructure traces RCU (we want that), but unfortunately * some of the RCU checks causes tracing to lock up the system. * - * The tracing version of rcu_dereference_raw() must not call + * The no-tracing version of rcu_dereference_raw() must not call * rcu_read_lock_held(). */ #define rcu_dereference_raw_notrace(p) __rcu_dereference_check((p), 1, __rcu) -- 2.5.0.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> |
|---|---|
| Date | 2015-11-02 04:20 +0100 |
| Message-ID | <qqdP3-89-3@gated-at.bofh.it> |
| In reply to | #1260303 |
On Mon, Nov 02, 2015 at 01:21:47PM +1100, Alexey Kardashevskiy wrote: > rcu_dereference_raw() calls indirectly rcu_read_lock_held() while > rcu_dereference_raw_notrace() does not so fix the comment about the latter. > > Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Good eyes! Queued for 4.5, thank you! Thanx, Paul > --- > include/linux/rcupdate.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h > index 581abf8..931d627 100644 > --- a/include/linux/rcupdate.h > +++ b/include/linux/rcupdate.h > @@ -760,7 +760,7 @@ static inline void rcu_preempt_sleep_check(void) > * The tracing infrastructure traces RCU (we want that), but unfortunately > * some of the RCU checks causes tracing to lock up the system. > * > - * The tracing version of rcu_dereference_raw() must not call > + * The no-tracing version of rcu_dereference_raw() must not call > * rcu_read_lock_held(). > */ > #define rcu_dereference_raw_notrace(p) __rcu_dereference_check((p), 1, __rcu) > -- > 2.5.0.rc3 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web