* [merged] mm-vmstats-add-thp_split_pud-event-for-clarify.patch removed from -mm tree
@ 2017-03-10 21:43 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-03-10 21:43 UTC (permalink / raw)
To: xieyisheng1, aarcange, aneesh.kumar, bigeasy, cl, ebru.akagunduz,
guohanjun, hannes, hughd, iamjoonsoo.kim, kirill.shutemov,
mgorman, mhocko, rientjes, vbabka, mm-commits
The patch titled
Subject: mm/vmstats: add thp_split_pud event for clarity
has been removed from the -mm tree. Its filename was
mm-vmstats-add-thp_split_pud-event-for-clarify.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Yisheng Xie <xieyisheng1@huawei.com>
Subject: mm/vmstats: add thp_split_pud event for clarity
We added support for PUD-sized transparent hugepages, however we count the
event "thp split pud" into thp_split_pmd event.
To separate the event count of thp split pud from pmd, add a new event
named thp_split_pud.
Link: http://lkml.kernel.org/r/1488282380-5076-1-git-send-email-xieyisheng1@huawei.com
Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Hugh Dickins <hughd@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/vm_event_item.h | 3 +++
mm/huge_memory.c | 2 +-
mm/vmstat.c | 3 +++
3 files changed, 7 insertions(+), 1 deletion(-)
diff -puN include/linux/vm_event_item.h~mm-vmstats-add-thp_split_pud-event-for-clarify include/linux/vm_event_item.h
--- a/include/linux/vm_event_item.h~mm-vmstats-add-thp_split_pud-event-for-clarify
+++ a/include/linux/vm_event_item.h
@@ -79,6 +79,9 @@ enum vm_event_item { PGPGIN, PGPGOUT, PS
THP_SPLIT_PAGE_FAILED,
THP_DEFERRED_SPLIT_PAGE,
THP_SPLIT_PMD,
+#ifdef CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD
+ THP_SPLIT_PUD,
+#endif
THP_ZERO_PAGE_ALLOC,
THP_ZERO_PAGE_ALLOC_FAILED,
#endif
diff -puN mm/huge_memory.c~mm-vmstats-add-thp_split_pud-event-for-clarify mm/huge_memory.c
--- a/mm/huge_memory.c~mm-vmstats-add-thp_split_pud-event-for-clarify
+++ a/mm/huge_memory.c
@@ -1828,7 +1828,7 @@ static void __split_huge_pud_locked(stru
VM_BUG_ON_VMA(vma->vm_end < haddr + HPAGE_PUD_SIZE, vma);
VM_BUG_ON(!pud_trans_huge(*pud) && !pud_devmap(*pud));
- count_vm_event(THP_SPLIT_PMD);
+ count_vm_event(THP_SPLIT_PUD);
pudp_huge_clear_flush_notify(vma, haddr, pud);
}
diff -puN mm/vmstat.c~mm-vmstats-add-thp_split_pud-event-for-clarify mm/vmstat.c
--- a/mm/vmstat.c~mm-vmstats-add-thp_split_pud-event-for-clarify
+++ a/mm/vmstat.c
@@ -1065,6 +1065,9 @@ const char * const vmstat_text[] = {
"thp_split_page_failed",
"thp_deferred_split_page",
"thp_split_pmd",
+#ifdef CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD
+ "thp_split_pud",
+#endif
"thp_zero_page_alloc",
"thp_zero_page_alloc_failed",
#endif
_
Patches currently in -mm which might be from xieyisheng1@huawei.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-10 21:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-10 21:43 [merged] mm-vmstats-add-thp_split_pud-event-for-clarify.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.