https://github.com/torvalds/linux
Revision dd9e5efe3aa9fc5b1ce484a531ecdba3a7a30bbf authored by Minchan Kim on 22 December 2010, 01:24:16 UTC, committed by Linus Torvalds on 23 December 2010, 03:43:33 UTC
del_page_from_lru_list() already called mem_cgroup_del_lru().  So we must
not call it again.  It adds unnecessary overhead.

It was not a runtime bug because the TestClearPageCgroupAcctLRU() early in
mem_cgroup_del_lru_list() will prevent any double-deletion, etc.

Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 90a8a73
History
Tip revision: dd9e5efe3aa9fc5b1ce484a531ecdba3a7a30bbf authored by Minchan Kim on 22 December 2010, 01:24:16 UTC
mm/compaction.c: avoid double mem_cgroup_del_lru()
Tip revision: dd9e5ef
File Mode Size
apparmor
integrity
keys
selinux
smack
tomoyo
Kconfig -rw-r--r-- 6.8 KB
Makefile -rw-r--r-- 938 bytes
capability.c -rw-r--r-- 23.2 KB
commoncap.c -rw-r--r-- 25.9 KB
device_cgroup.c -rw-r--r-- 11.8 KB
inode.c -rw-r--r-- 8.7 KB
lsm_audit.c -rw-r--r-- 8.7 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 32.0 KB

back to top