Files
erofs-linux/include/asm-generic
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-07 16:36:10 -07:00
…
…
2012-10-03 21:33:53 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-02 18:01:56 +01:00
…
…
…
…
2012-12-09 23:14:14 +01:00
…
…
2013-01-03 15:57:16 -08:00
…
2014-04-07 16:36:13 -07:00
…
…
2014-05-15 00:32:09 +01:00
…
2014-03-14 18:02:08 +00:00
…
…
2013-11-09 00:16:29 -05:00
2012-11-29 00:01:23 -05:00
…
…
2013-02-14 09:21:15 -05:00
…
…
…
2014-05-20 15:19:25 -05:00