Skip to content

Commit a591f6b

Browse files
paulmckozbenh
authored andcommitted
powerpc: Remove all rcu head initializations
Remove all rcu head inits. We don't care about the RCU head state before passing it to call_rcu() anyway. Only leave the "on_stack" variants so debugobjects can keep track of objects on stack. Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
1 parent 540c6c3 commit a591f6b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/powerpc/mm/pgtable.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ static void pte_free_rcu_callback(struct rcu_head *head)
9292

9393
static void pte_free_submit(struct pte_freelist_batch *batch)
9494
{
95-
INIT_RCU_HEAD(&batch->rcu);
9695
call_rcu(&batch->rcu, pte_free_rcu_callback);
9796
}
9897

0 commit comments

Comments
 (0)