diff options
author | Mel Gorman <mgorman@suse.de> | 2012-11-22 15:40:03 +0100 |
---|---|---|
committer | Mel Gorman <mgorman@suse.de> | 2012-12-11 15:42:56 +0100 |
commit | 5bca23035391928c4c7301835accca3551b96cc2 (patch) | |
tree | 2feb63abf318e6edfded8bb97b43ca29c3c5b312 /mm/internal.h | |
parent | mm: sched: numa: Control enabling and disabling of NUMA balancing if !SCHED_D... (diff) | |
download | linux-5bca23035391928c4c7301835accca3551b96cc2.tar.xz linux-5bca23035391928c4c7301835accca3551b96cc2.zip |
mm: sched: numa: Delay PTE scanning until a task is scheduled on a new node
Due to the fact that migrations are driven by the CPU a task is running
on there is no point tracking NUMA faults until one task runs on a new
node. This patch tracks the first node used by an address space. Until
it changes, PTE scanning is disabled and no NUMA hinting faults are
trapped. This should help workloads that are short-lived, do not care
about NUMA placement or have bound themselves to a single node.
This takes advantage of the logic in "mm: sched: numa: Implement slow
start for working set sampling" to delay when the checks are made. This
will take advantage of processes that set their CPU and node bindings
early in their lifetime. It will also potentially allow any initial load
balancing to take place.
Signed-off-by: Mel Gorman <mgorman@suse.de>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions