* + mm-thp-autonuma-use-tnf-flag-instead-of-vm-fault.patch added to -mm tree
@ 2017-02-21 22:08 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-02-21 22:08 UTC (permalink / raw)
To: aneesh.kumar, hillf.zj, kirill.shutemov, mgorman, riel, mm-commits
The patch titled
Subject: mm/thp/autonuma: use TNF flag instead of vm fault
has been added to the -mm tree. Its filename is
mm-thp-autonuma-use-tnf-flag-instead-of-vm-fault.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-thp-autonuma-use-tnf-flag-instead-of-vm-fault.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-thp-autonuma-use-tnf-flag-instead-of-vm-fault.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: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Subject: mm/thp/autonuma: use TNF flag instead of vm fault
We are using the wrong flag value in task_numa_falt function. This can
result in us doing wrong numa fault statistics update, because we update
num_pages_migrate and numa_fault_locality etc based on the flag argument
passed.
Fixes: bae473a423 ("mm: introduce fault_env")
Link: http://lkml.kernel.org/r/1487498395-9544-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/huge_memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/huge_memory.c~mm-thp-autonuma-use-tnf-flag-instead-of-vm-fault mm/huge_memory.c
--- a/mm/huge_memory.c~mm-thp-autonuma-use-tnf-flag-instead-of-vm-fault
+++ a/mm/huge_memory.c
@@ -1506,7 +1506,7 @@ out:
if (page_nid != -1)
task_numa_fault(last_cpupid, page_nid, HPAGE_PMD_NR,
- vmf->flags);
+ flags);
return 0;
}
_
Patches currently in -mm which might be from aneesh.kumar@linux.vnet.ibm.com are
mm-autonuma-dont-use-set_pte_at-when-updating-protnone-ptes.patch
mm-autonuma-let-architecture-override-how-the-write-bit-should-be-stashed-in-a-protnone-pte.patch
mm-autonuma-let-architecture-override-how-the-write-bit-should-be-stashed-in-a-protnone-pte-v3.patch
mm-ksm-handle-protnone-saved-writes-when-making-page-write-protect.patch
powerpc-mm-autonuma-switch-ppc64-to-its-own-implementeation-of-saved-write.patch
powerpc-mm-autonuma-switch-ppc64-to-its-own-implementeation-of-saved-write-v3.patch
mm-thp-autonuma-use-tnf-flag-instead-of-vm-fault.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-21 22:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 22:08 + mm-thp-autonuma-use-tnf-flag-instead-of-vm-fault.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).