diff options
author | Minchan Kim <[email protected]> | 2010-12-21 17:24:16 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-12-22 19:43:33 -0800 |
commit | dd9e5efe3aa9fc5b1ce484a531ecdba3a7a30bbf (patch) | |
tree | 2ccf4d51b423706db976c5eab214d0e23195461b /net/unix/sysctl_net_unix.c | |
parent | 90a8a73c06cc32b609a880d48449d7083327e11a (diff) |
mm/compaction.c: avoid double mem_cgroup_del_lru()
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 <[email protected]>
Acked-by: Balbir Singh <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Reviewed-by: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions