aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2011-01-20 22:44:31 +0000
committerLinus Torvalds <[email protected]>2011-01-21 01:02:06 +0000
commit713735b4233fad3ae35b5cad656baa41413887ca (patch)
treebba0310f23fb911106e04d75eebe1c6ee7e8d423 /drivers/net/xen-netback/interface.c
parentbacklight: fix 88pm860x_bl macro collision (diff)
downloadkernel-713735b4233fad3ae35b5cad656baa41413887ca.tar.gz
kernel-713735b4233fad3ae35b5cad656baa41413887ca.zip
memcg: correctly order reading PCG_USED and pc->mem_cgroup
The placement of the read-side barrier is confused: the writer first sets pc->mem_cgroup, then PCG_USED. The read-side barrier has to be between testing PCG_USED and reading pc->mem_cgroup. Signed-off-by: Johannes Weiner <[email protected]> Acked-by: KAMEZAWA Hiroyuki <[email protected]> Acked-by: Daisuke Nishimura <[email protected]> Cc: Balbir Singh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions