diff options
author | Johannes Weiner <[email protected]> | 2011-01-20 14:44:31 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-01-20 17:02:06 -0800 |
commit | 713735b4233fad3ae35b5cad656baa41413887ca (patch) | |
tree | bba0310f23fb911106e04d75eebe1c6ee7e8d423 /tools/perf/util/trace-event-scripting.c | |
parent | 2550326ac7a062fdfc204f9a3b98bdb9179638fc (diff) |
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 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions