From: Paul E. McKenney on
From: Mathieu Desnoyers <mathieu.desnoyers(a)>

o Would it be possible to make this bisectable as follows?

a. Insert a new patch after current patch 4/6 that
defines destroy_rcu_head_on_stack(),
init_rcu_head_on_stack(), and init_rcu_head() with

This patch performs this transition.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers(a)>
CC: "Paul E. McKenney" <paulmck(a)>
CC: David S. Miller <davem(a)>
CC: akpm(a)
CC: mingo(a)
CC: laijs(a)
CC: dipankar(a)
CC: josh(a)
CC: dvhltc(a)
CC: niv(a)
CC: tglx(a)
CC: peterz(a)
CC: rostedt(a)
CC: Valdis.Kletnieks(a)
CC: dhowells(a)
CC: eric.dumazet(a)
CC: Alexey Dobriyan <adobriyan(a)>
Signed-off-by: Paul E. McKenney <paulmck(a)>
include/linux/rcupdate.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index 6e6f851..c63372b 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -79,6 +79,14 @@ extern void rcu_init(void);
(ptr)->next = NULL; (ptr)->func = NULL; \
} while (0)

+static inline void init_rcu_head_on_stack(struct rcu_head *head)
+static inline void destroy_rcu_head_on_stack(struct rcu_head *head)

extern struct lockdep_map rcu_lock_map;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at