The patch titled Subject: memcg-optimize-memorynuma_stat-like-memorystat-fix has been removed from the -mm tree. Its filename was memcg-optimize-memorynuma_stat-like-memorystat-fix.patch This patch was dropped because it was folded into memcg-optimize-memorynuma_stat-like-memorystat.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: memcg-optimize-memorynuma_stat-like-memorystat-fix avoid forcing out-of-line code generation Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxxxx> Cc: Roman Gushchin <guro@xxxxxx> Cc: Shakeel Butt <shakeelb@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memcontrol.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) --- a/mm/memcontrol.c~memcg-optimize-memorynuma_stat-like-memorystat-fix +++ a/mm/memcontrol.c @@ -3693,17 +3693,16 @@ static unsigned long mem_cgroup_node_nr_ struct lruvec *lruvec = mem_cgroup_lruvec(memcg, NODE_DATA(nid)); unsigned long nr = 0; enum lru_list lru; - unsigned long (*page_state)(struct lruvec *lruvec, - enum node_stat_item idx); VM_BUG_ON((unsigned)nid >= nr_node_ids); - page_state = tree ? lruvec_page_state : lruvec_page_state_local; - for_each_lru(lru) { if (!(BIT(lru) & lru_mask)) continue; - nr += page_state(lruvec, NR_LRU_BASE + lru); + if (tree) + nr += lruvec_page_state(lruvec, NR_LRU_BASE + lru); + else + nr += lruvec_page_state_local(lruvec, NR_LRU_BASE + lru); } return nr; } @@ -3714,14 +3713,14 @@ static unsigned long mem_cgroup_nr_lru_p { unsigned long nr = 0; enum lru_list lru; - unsigned long (*page_state)(struct mem_cgroup *memcg, int idx); - - page_state = tree ? memcg_page_state : memcg_page_state_local; for_each_lru(lru) { if (!(BIT(lru) & lru_mask)) continue; - nr += page_state(memcg, NR_LRU_BASE + lru); + if (tree) + nr += memcg_page_state(memcg, NR_LRU_BASE + lru); + else + nr += memcg_page_state_local(memcg, NR_LRU_BASE + lru); } return nr; } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-memcg-fix-error-return-value-of-mem_cgroup_css_alloc-fix.patch squashfs-migrate-from-ll_rw_block-usage-to-bio-fix.patch drivers-tty-serial-sh-scic-suppress-uninitialized-var-warning.patch mm.patch mm-slub-fix-corrupted-freechain-in-deactivate_slab-fix.patch memcg-optimize-memorynuma_stat-like-memorystat.patch mm-remove-__vmalloc_node_flags_caller-fix.patch mm-switch-the-test_vmalloc-module-to-use-__vmalloc_node-fix.patch mm-remove-vmalloc_user_node_flags-fix.patch mm-replace-zero-length-array-with-flexible-array-member-fix.patch mm-hugetlb-fix-a-typo-in-comment-manitained-maintained-v2-checkpatch-fixes.patch initrdmem=-option-to-specify-initrd-physical-address-checkpatch-fixes.patch linux-next-rejects.patch linux-next-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch