Files
linux/arch/powerpc/include/asm
Mel Gorman c46a7c817e x86: define _PAGE_NUMA by reusing software bits on the PMD and PTE levels
_PAGE_NUMA is currently an alias of _PROT_PROTNONE to trap NUMA hinting
faults on x86.  Care is taken such that _PAGE_NUMA is used only in
situations where the VMA flags distinguish between NUMA hinting faults
and prot_none faults.  This decision was x86-specific and conceptually
it is difficult requiring special casing to distinguish between PROTNONE
and NUMA ptes based on context.

Fundamentally, we only need the _PAGE_NUMA bit to tell the difference
between an entry that is really unmapped and a page that is protected
for NUMA hinting faults as if the PTE is not present then a fault will
be trapped.

Swap PTEs on x86-64 use the bits after _PAGE_GLOBAL for the offset.
This patch shrinks the maximum possible swap size and uses the bit to
uniquely distinguish between NUMA hinting ptes and swap ptes.

Signed-off-by: Mel Gorman <[email protected]>
Cc: David Vrabel <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Anvin <[email protected]>
Cc: Fengguang Wu <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Steven Noonan <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2014-06-04 16:53:55 -07:00
..
…
2014-04-18 14:20:41 +02:00
2014-04-18 14:20:41 +02:00
2014-04-18 14:20:41 +02:00
2012-03-28 18:30:02 +01:00
…
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
2013-04-18 13:03:53 +10:00
…
2014-04-09 12:53:28 +10:00
2012-03-28 18:30:02 +01:00
…
2014-01-23 16:36:54 -08:00
2011-11-08 14:51:46 +11:00
…
…
2012-03-20 21:48:30 +08:00
…
…
…
…
2011-12-08 14:02:23 +11:00
2011-05-22 08:47:53 -04:00
…
2011-07-26 16:49:47 -07:00
2013-12-09 11:40:25 +11:00
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
2010-10-26 16:52:08 -07:00
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
…
2014-04-07 10:33:12 +10:00
…
2013-11-06 14:13:49 +11:00
…
…
2013-11-26 12:12:28 +01:00
2012-09-17 16:31:51 +10:00
…
2011-03-31 11:26:23 -03:00
…
2014-06-02 09:24:27 +10:00
…
…
2014-06-02 09:24:27 +10:00
…
2011-03-31 11:26:23 -03:00
2014-02-17 11:19:37 +11:00
…
2011-05-06 13:32:35 +10:00
…
2013-10-30 16:02:28 +11:00