mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mm: numa: Add fault driven placement and migration
NOTE: This patch is based on "sched, numa, mm: Add fault driven placement and migration policy" but as it throws away all the policy to just leave a basic foundation I had to drop the signed-offs-by. This patch creates a bare-bones method for setting PTEs pte_numa in the context of the scheduler that when faulted later will be faulted onto the node the CPU is running on. In itself this does nothing useful but any placement policy will fundamentally depend on receiving hints on placement from fault context and doing something intelligent about it. Signed-off-by: Mel Gorman <[email protected]> Acked-by: Rik van Riel <[email protected]>
This commit is contained in:
parent
a720094ded
commit
cbee9f88ec
11 changed files with 224 additions and 4 deletions
|
|
@ -111,6 +111,7 @@ config VSYSCALL
|
|||
config NUMA
|
||||
bool "Non Uniform Memory Access (NUMA) Support"
|
||||
depends on MMU && SYS_SUPPORTS_NUMA && EXPERIMENTAL
|
||||
select ARCH_WANT_NUMA_VARIABLE_LOCALITY
|
||||
default n
|
||||
help
|
||||
Some SH systems have many various memories scattered around
|
||||
|
|
|
|||
Loading…
Reference in a new issue