diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2014-08-07 01:06:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 03:01:17 +0200 |
commit | a840cda63e543d41270698525542a82b7a8a18d7 (patch) | |
tree | 4e16e7a67514e3e3cbcd9368fdfeab8fd76f01f2 /drivers/base | |
parent | mm: memcontrol: remove ordering between pc->mem_cgroup and PageCgroupUsed (diff) | |
download | linux-a840cda63e543d41270698525542a82b7a8a18d7.tar.xz linux-a840cda63e543d41270698525542a82b7a8a18d7.zip |
mm: memcontrol: do not acquire page_cgroup lock for kmem pages
Kmem page charging and uncharging is serialized by means of exclusive
access to the page. Do not take the page_cgroup lock and don't set
pc->flags atomically.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Vladimir Davydov <vdavydov@parallels.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions