summaryrefslogtreecommitdiff
path: root/lib/crc-itu-t.c
diff options
context:
space:
mode:
authorDaisuke Nishimura <nishimura@mxp.nes.nec.co.jp>2009-04-30 22:08:11 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-02 22:36:09 (GMT)
commitc0bd3f63ce01a1757dbce6373122a05fbf99ced7 (patch)
tree4034e701106d1ed819441f4f32a04dfa020398ae /lib/crc-itu-t.c
parent1e50cc9022d6c0b9175d804573e3f401d00d1381 (diff)
downloadlinux-c0bd3f63ce01a1757dbce6373122a05fbf99ced7.tar.xz
memcg: fix try_get_mem_cgroup_from_swapcache()
This is a bugfix for commit 3c776e64660028236313f0e54f3a9945764422df ("memcg: charge swapcache to proper memcg"). Used bit of swapcache is solid under page lock, but considering move_account, pc->mem_cgroup is not. We need lock_page_cgroup() anyway. Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Balbir Singh <balbir@in.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions