Re: [patch 5/5] tree/tiny rcu: Add debug RCU head objects (v5)

From: Lai Jiangshan
Date: Sun Apr 18 2010 - 21:17:49 EST



Reviewed-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>

Mathieu Desnoyers wrote:
> Helps finding racy users of call_rcu(), which results in hangs because list
> entries are overwritten and/or skipped.
>
> Changelog since v4:
> - Bissectability is now OK
> - Now generate a WARN_ON_ONCE() for non-initialized rcu_head passed to
> call_rcu(). Statically initialized objects are detected with
> object_is_static().
> - Rename rcu_head_init_on_stack to init_rcu_head_on_stack.
> - Remove init_rcu_head() completely.
>
> Changelog since v3:
> - Include comments from Lai Jiangshan
>
--
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/