aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorRik van Riel <[email protected]>2017-07-31 15:28:46 -0400
committerIngo Molnar <[email protected]>2017-08-10 12:18:16 +0200
commit37ec97deb3a8c68a7adfab61beb261ffeab19d09 (patch)
tree6e1c13c810d1c45e9ba84f382eeeba97ca6cbf19 /net/lapb/lapb_iface.c
parentf235a54f00449c611f85173fe8a66c4d189c5ce1 (diff)
sched/numa: Slow down scan rate if shared faults dominate
The comment above update_task_scan_period() says the scan period should be increased (scanning slows down) if the majority of memory accesses are on the local node, or if the majority of the page accesses are shared with other tasks. However, with the current code, all a high ratio of shared accesses does is slow down the rate at which scanning is made faster. This patch changes things so either lots of shared accesses or lots of local accesses will slow down scanning, and numa scanning is sped up only when there are lots of private faults on remote memory pages. Signed-off-by: Rik van Riel <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Mel Gorman <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions