diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2009-09-24 00:56:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 16:20:58 +0200 |
commit | 261fb61a8bf6d3bd964ae6f1e6af49585d30db51 (patch) | |
tree | 417cebd2e18bc2457b5b09d8359ad71ba6afd56d /mm/debug-pagealloc.c | |
parent | memcg: remove the overhead associated with the root cgroup (diff) | |
download | linux-261fb61a8bf6d3bd964ae6f1e6af49585d30db51.tar.xz linux-261fb61a8bf6d3bd964ae6f1e6af49585d30db51.zip |
memcg: add comments explaining memory barriers
Add comments for the reason of smp_wmb() in mem_cgroup_commit_charge().
[akpm@linux-foundation.org: coding-style fixes]
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/debug-pagealloc.c')
0 files changed, 0 insertions, 0 deletions