Skip to content

Commit

Permalink
powerpc: Remove all rcu head initializations
Browse files Browse the repository at this point in the history
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 <mathieu.desnoyers@efficios.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Paul E. McKenney authored and Benjamin Herrenschmidt committed Jul 9, 2010
1 parent 540c6c3 commit a591f6b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/powerpc/mm/pgtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ static void pte_free_rcu_callback(struct rcu_head *head)

static void pte_free_submit(struct pte_freelist_batch *batch)
{
INIT_RCU_HEAD(&batch->rcu);
call_rcu(&batch->rcu, pte_free_rcu_callback);
}

Expand Down

0 comments on commit a591f6b

Please sign in to comment.