* [PATCH kernel] rcu: Fix comment for rcu_dereference_raw_notrace
@ 2015-11-02 2:21 Alexey Kardashevskiy
2015-11-02 3:15 ` Paul E. McKenney
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Kardashevskiy @ 2015-11-02 2:21 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: Alexey Kardashevskiy, Steven Rostedt, linux-kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH kernel] rcu: Fix comment for rcu_dereference_raw_notrace
2015-11-02 2:21 [PATCH kernel] rcu: Fix comment for rcu_dereference_raw_notrace Alexey Kardashevskiy
@ 2015-11-02 3:15 ` Paul E. McKenney
0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2015-11-02 3:15 UTC (permalink / raw)
To: Alexey Kardashevskiy; +Cc: Steven Rostedt, linux-kernel
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-02 3:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-02 2:21 [PATCH kernel] rcu: Fix comment for rcu_dereference_raw_notrace Alexey Kardashevskiy
2015-11-02 3:15 ` Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox