From: akpm@linux-foundation.org
To: kirill.shutemov@linux.intel.com, aarcange@redhat.com,
mm-commits@vger.kernel.org
Subject: + thp-vmstats-count-deferred-split-events.patch added to -mm tree
Date: Tue, 09 Feb 2016 13:20:42 -0800 [thread overview]
Message-ID: <56ba582a.UFbyuqckp+orGz61%akpm@linux-foundation.org> (raw)
The patch titled
Subject: thp, vmstats: count deferred split events
has been added to the -mm tree. Its filename is
thp-vmstats-count-deferred-split-events.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/thp-vmstats-count-deferred-split-events.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/thp-vmstats-count-deferred-split-events.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Subject: thp, vmstats: count deferred split events
Counts how many times we put a THP in split queue. Currently, it happens
on partial unmap of a THP.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/vm_event_item.h | 1 +
mm/huge_memory.c | 1 +
mm/vmstat.c | 1 +
3 files changed, 3 insertions(+)
diff -puN include/linux/vm_event_item.h~thp-vmstats-count-deferred-split-events include/linux/vm_event_item.h
--- a/include/linux/vm_event_item.h~thp-vmstats-count-deferred-split-events
+++ a/include/linux/vm_event_item.h
@@ -72,6 +72,7 @@ enum vm_event_item { PGPGIN, PGPGOUT, PS
THP_COLLAPSE_ALLOC_FAILED,
THP_SPLIT_PAGE,
THP_SPLIT_PAGE_FAILED,
+ THP_DEFERRED_SPLIT_PAGE,
THP_SPLIT_PMD,
THP_ZERO_PAGE_ALLOC,
THP_ZERO_PAGE_ALLOC_FAILED,
diff -puN mm/huge_memory.c~thp-vmstats-count-deferred-split-events mm/huge_memory.c
--- a/mm/huge_memory.c~thp-vmstats-count-deferred-split-events
+++ a/mm/huge_memory.c
@@ -3452,6 +3452,7 @@ void deferred_split_huge_page(struct pag
spin_lock_irqsave(&pgdata->split_queue_lock, flags);
if (list_empty(page_deferred_list(page))) {
+ count_vm_event(THP_DEFERRED_SPLIT_PAGE);
list_add_tail(page_deferred_list(page), &pgdata->split_queue);
pgdata->split_queue_len++;
}
diff -puN mm/vmstat.c~thp-vmstats-count-deferred-split-events mm/vmstat.c
--- a/mm/vmstat.c~thp-vmstats-count-deferred-split-events
+++ a/mm/vmstat.c
@@ -848,6 +848,7 @@ const char * const vmstat_text[] = {
"thp_collapse_alloc_failed",
"thp_split_page",
"thp_split_page_failed",
+ "thp_deferred_split_page",
"thp_split_pmd",
"thp_zero_page_alloc",
"thp_zero_page_alloc_failed",
_
Patches currently in -mm which might be from kirill.shutemov@linux.intel.com are
mm-dax-check-for-pmd_none-after-split_huge_pmd.patch
ipc-shm-handle-removed-segments-gracefully-in-shm_mmap.patch
thp-cleanup-split_huge_page.patch
thp-vmstats-count-deferred-split-events.patch
mm-make-swapin-readahead-to-improve-thp-collapse-rate-fix.patch
mm-make-swapin-readahead-to-improve-thp-collapse-rate-fix-2.patch
mm-make-swapin-readahead-to-improve-thp-collapse-rate-fix-3.patch
reply other threads:[~2016-02-09 21:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56ba582a.UFbyuqckp+orGz61%akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=aarcange@redhat.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.