linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] NUMA balancing related fixlets
@ 2014-10-02 13:29 Mel Gorman
  2014-10-02 13:29 ` [PATCH 1/4] mm: remove misleading ARCH_USES_NUMA_PROT_NONE (from Andrew's tree) Mel Gorman
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Mel Gorman @ 2014-10-02 13:29 UTC (permalink / raw)
  To: Dave Jones
  Cc: Linus Torvalds, Hugh Dickins, Al Viro, Rik van Riel, Ingo Molnar,
	Peter Zijlstra, Aneesh Kumar, Michel Lespinasse,
	Kirill A Shutemov, Mel Gorman, Linux Kernel

The following is in reaction to the thread "pipe/page fault oddness".
The first patch cleans up a lot of mess related to ARCH_USES_NUMA_PROT_NONE.
It's already in Andrew's tree but included here for context.

The second patch removes a race between migration and mprotect, particularly
from compaction context.

The third patch should have no real effect but it's an oversight that
should be corrected in case MPOL_MF_LAZY is exposed to userspace.

The fourth patch addresses a problem whereby a split_huge_page can leave
a pte_numa PTE in the wrong location and is one potential source of the
bug Dave observed.

Note that none of this prevents a pte_protnone approach being applied on
top or replacing patch 4 with it.  They should not be in conflict but if
patch 4 in particular addresses Dave's problem then it may be considerably
lower risk for 3.17.

 arch/powerpc/include/asm/pgtable.h    | 57 ++++++++---------------------------
 arch/powerpc/include/asm/pte-common.h |  5 +++
 arch/x86/Kconfig                      |  1 -
 arch/x86/include/asm/pgtable_types.h  | 14 +++++++++
 include/asm-generic/pgtable.h         | 27 ++++++-----------
 init/Kconfig                          | 11 -------
 mm/huge_memory.c                      |  2 --
 mm/mempolicy.c                        |  4 ++-
 mm/migrate.c                          |  4 ++-
 9 files changed, 46 insertions(+), 79 deletions(-)

-- 
1.8.4.5


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-10-02 19:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-02 13:29 [PATCH 0/4] NUMA balancing related fixlets Mel Gorman
2014-10-02 13:29 ` [PATCH 1/4] mm: remove misleading ARCH_USES_NUMA_PROT_NONE (from Andrew's tree) Mel Gorman
2014-10-02 13:29 ` [PATCH 2/4] mm: migrate: Close race between migration completion and mprotect Mel Gorman
2014-10-02 15:48   ` Rik van Riel
2014-10-02 16:41   ` Linus Torvalds
2014-10-02 13:29 ` [PATCH 3/4] mm: mempolicy: Skip inaccessible VMAs when setting MPOL_MF_LAZY Mel Gorman
2014-10-02 15:51   ` Rik van Riel
2014-10-02 13:29 ` [PATCH 4/4] mm: numa: Do not mark PTEs pte_numa when splitting huge pages Mel Gorman
2014-10-02 15:18   ` Kirill A. Shutemov
2014-10-02 16:19   ` Rik van Riel
2014-10-02 16:36   ` Linus Torvalds
2014-10-02 18:58     ` Sasha Levin
2014-10-02 19:03       ` Linus Torvalds
2014-10-02 19:07         ` Kirill A. Shutemov
2014-10-02 19:12           ` Sasha Levin
2014-10-02 19:26           ` Linus Torvalds
2014-10-02 19:28             ` Rik van Riel
2014-10-02 19:32               ` Linus Torvalds

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).