aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2007-07-31 00:38:48 -0700
committerLinus Torvalds <[email protected]>2007-07-31 15:39:40 -0700
commitb34bd06e485abf5b24fc13a9a988ebf4d2915dd6 (patch)
tree51121142a8c6194def341ab7a647bbd293790111 /scripts/patch-kernel
parent7be77e20d59fc3dd3fdde31641e0bc821114d26b (diff)
bpqether: fix rcu usage
The rcu_dereference() primitive needs to be applied to an l-value in order to ensure that compiler writers don't get an opportunity to apply reordering optimizations that could result in multiple fetches or in other misbehavior. This patch pulls the rcu_dereference() calls in bpq_seq_next() up to the point at which the fetched pointers are still l-values, rather than after list_entry() has transformed them into r-values. Signed-off-by: Paul E. McKenney <[email protected]> Cc: Jeff Garzik <[email protected]> Cc: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions