[PATCH 0/3] rculist: Fix list_entry_rcu to read ptr with, rcu_dereference_raw

2015-03-24 Thread Patrick Marlier
Hi Paul and Josh, While running some benchmarks with rcu, I noticed that rculist had a performance issue compared to the non-rcu list. Having a closer look at the rlulist, I found that there is a bad usage of rcu_dereference_raw in list_entry_rcu(). Indeed, "typeof (*ptr) *__ptr = ptr;" reads

[PATCH 0/3] rculist: Fix list_entry_rcu to read ptr with, rcu_dereference_raw

2015-03-24 Thread Patrick Marlier
Hi Paul and Josh, While running some benchmarks with rcu, I noticed that rculist had a performance issue compared to the non-rcu list. Having a closer look at the rlulist, I found that there is a bad usage of rcu_dereference_raw in list_entry_rcu(). Indeed, typeof (*ptr) *__ptr = ptr; reads