Re: [PATCH] net: convert to rcu_dereference_index_check()

From: David Miller
Date: Fri Aug 06 2010 - 17:49:00 EST


From: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Aug 2010 14:26:07 -0700

> At long last, the following is the final patch blocking acceptance
> of Arnd's sparse annotations for RCU. It was itself blocked behind
> the definition of rcu_dereference_index_check(), which made it to
> mainline only just today.
>
> Would you be willing to ack this patch so that I can push it to -tip,
> along with Arnd's work and a bunch of other stuff?
...
> net: convert to rcu_dereference_index_check()
>
> The task_cls_classid() function applies rcu_dereference() to integers,
> which does not work with the shiny new sparse-based checking in
> rcu_dereference(). This commit therefore moves to the new RCU API
> rcu_dereference_index_check().
>
> Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>

You should of course wait for Herbert's ACK too, but for
the record:

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>

:-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/