diff options
| author | Tejun Heo <[email protected]> | 2015-10-27 05:19:39 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-10-28 12:17:30 +0000 |
| commit | b33e18f61bd18227a456016a77b1a968f5bc1d65 (patch) | |
| tree | 864f100a805ea16e59bad2fc003f747db27f94c1 /drivers/net/xen-netback/interface.c | |
| parent | Merge branch 'linus' into core/rcu, to fix up a semantic conflict (diff) | |
| download | kernel-b33e18f61bd18227a456016a77b1a968f5bc1d65.tar.gz kernel-b33e18f61bd18227a456016a77b1a968f5bc1d65.zip | |
fs/writeback, rcu: Don't use list_entry_rcu() for pointer offsetting in bdi_split_work_to_wbs()
bdi_split_work_to_wbs() uses list_for_each_entry_rcu_continue()
to walk @bdi->wb_list. To set up the initial iteration
condition, it uses list_entry_rcu() to calculate the entry
pointer corresponding to the list head; however, this isn't an
actual RCU dereference and using list_entry_rcu() for it ended
up breaking a proposed list_entry_rcu() change because it was
feeding an non-lvalue pointer into the macro.
Don't use the RCU variant for simple pointer offsetting. Use
list_entry() instead.
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Cc: Darren Hart <[email protected]>
Cc: David Howells <[email protected]>
Cc: Dipankar Sarma <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Josh Triplett <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Patrick Marlier <[email protected]>
Cc: Paul McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: pranith kumar <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
