linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/5] Use an alternative to _PAGE_PROTNONE for _PAGE_NUMA v2
@ 2014-04-08 13:09 Mel Gorman
  2014-04-08 13:09 ` [PATCH 1/5] x86: Require x86-64 for automatic NUMA balancing Mel Gorman
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: Mel Gorman @ 2014-04-08 13:09 UTC (permalink / raw)
  To: Linux-X86
  Cc: Linus Torvalds, Cyrill Gorcunov, Mel Gorman, Peter Anvin,
	Ingo Molnar, Steven Noonan, Rik van Riel, David Vrabel,
	Andrew Morton, Peter Zijlstra, Andrea Arcangeli, Dave Hansen,
	Srikar Dronamraju, Linux-MM, LKML

Using unused physical bits is something that will break eventually.

Changelog since V1
o Reuse software-bits
o Use paravirt ops when modifying PTEs in the NUMA helpers

Aliasing _PAGE_NUMA and _PAGE_PROTNONE had some convenient properties but
it ultimately gave Xen a headache and pisses almost everybody off that
looks closely at it. Two discussions on "why this makes sense" is one
discussion too many so rather than having a third so here is this series.
This series reuses the PTE bits that are available to the programmer.
This adds some contraints on how and when automatic NUMA balancing can be
enabled but it should go away again when Xen stops using _PAGE_IOMAP.

The series also converts the NUMA helpers to use paravirt-friendly operations
but it needs a Tested-by from the Xen and powerpc people.

 arch/x86/Kconfig                     |  2 +-
 arch/x86/include/asm/pgtable.h       |  5 +++
 arch/x86/include/asm/pgtable_types.h | 66 ++++++++++++++++++++----------------
 include/asm-generic/pgtable.h        | 31 ++++++++++++-----
 mm/memory.c                          | 12 -------
 5 files changed, 66 insertions(+), 50 deletions(-)

-- 
1.8.4.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2014-04-15 14:44 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 13:09 [RFC PATCH 0/5] Use an alternative to _PAGE_PROTNONE for _PAGE_NUMA v2 Mel Gorman
2014-04-08 13:09 ` [PATCH 1/5] x86: Require x86-64 for automatic NUMA balancing Mel Gorman
2014-04-08 13:09 ` [PATCH 2/5] x86: Define _PAGE_NUMA by reusing software bits on the PMD and PTE levels Mel Gorman
2014-04-08 13:09 ` [PATCH 3/5] mm: Allow FOLL_NUMA on FOLL_FORCE Mel Gorman
2014-04-08 13:09 ` [PATCH 4/5] mm: use paravirt friendly ops for NUMA hinting ptes Mel Gorman
2014-04-08 17:21   ` David Vrabel
2014-04-15 10:27   ` David Vrabel
2014-04-15 14:44     ` Mel Gorman
2014-04-08 13:09 ` [PATCH 5/5] x86: Allow Xen to enable NUMA_BALANCING Mel Gorman
2014-04-08 14:40 ` [RFC PATCH 0/5] Use an alternative to _PAGE_PROTNONE for _PAGE_NUMA v2 H. Peter Anvin
2014-04-08 15:22   ` Linus Torvalds
2014-04-08 16:04     ` H. Peter Anvin
2014-04-08 16:12     ` Peter Zijlstra
2014-04-08 16:46     ` Mel Gorman
2014-04-08 17:01       ` Linus Torvalds
2014-04-08 18:51         ` Mel Gorman
2014-04-08 18:55           ` Linus Torvalds
2014-04-08 19:06             ` Mel Gorman
2014-04-08 19:08             ` Rik van Riel
2014-04-08 17:03       ` Mel Gorman
2014-04-08 17:30       ` Peter Zijlstra
2014-04-08 17:41         ` Linus Torvalds
2014-04-08 18:16         ` Cyrill Gorcunov
2014-04-09  6:21         ` Ingo Molnar
2014-04-09 23:34           ` H. Peter Anvin
2014-04-10  0:12             ` 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).