summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorAndrea Arcangeli <aarcange@redhat.com>2012-10-04 03:50:47 +0400
committerMel Gorman <mgorman@suse.de>2012-12-11 18:42:36 +0400
commitbe3a728427a605990a7a0b6dbf9e29b68e266146 (patch)
tree878fb07cca478c4444d85fc26fc16c9f574034a3 /Kbuild
parentdbe4d2035a5b273c910f8f7eb0b7189ee76f63ad (diff)
downloadlinux-be3a728427a605990a7a0b6dbf9e29b68e266146.tar.xz
mm: numa: pte_numa() and pmd_numa()
Implement pte_numa and pmd_numa. We must atomically set the numa bit and clear the present bit to define a pte_numa or pmd_numa. Once a pte or pmd has been set as pte_numa or pmd_numa, the next time a thread touches a virtual address in the corresponding virtual range, a NUMA hinting page fault will trigger. The NUMA hinting page fault will clear the NUMA bit and set the present bit again to resolve the page fault. The expectation is that a NUMA hinting page fault is used as part of a placement policy that decides if a page should remain on the current node or migrated to a different node. Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Mel Gorman <mgorman@suse.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions