[PATCH v2 0/2] sched/numa: skip VMA scanning on memory pinned

Libo Chen posted 2 patches 8 months, 3 weeks ago
include/trace/events/sched.h | 31 +++++++++++++++++++++++++++++++
kernel/sched/fair.c          |  9 +++++++++
2 files changed, 40 insertions(+)
[PATCH v2 0/2] sched/numa: skip VMA scanning on memory pinned
Posted by Libo Chen 8 months, 3 weeks ago
v1->v2:
1. add perf improvment numbers in commit log. Yet to find perf diff on
will-it-scale, so not included here. Plan to run more workloads.
2. add tracepoint.
3. To peterz's comment, this will make it impossible to attract tasks to
those memory just like other VMA skippings. This is the current
implementation, I think we can improve that in the future, but at the
moment it's probabaly better to keep it consistent.


Libo Chen (2):
  sched/numa: skip VMA scanning on memory pinned to one NUMA node via
    cpuset.mems
  sched/numa: Add tracepoint that tracks the skipping of numa balancing
    due to cpuset memory pinning

 include/trace/events/sched.h | 31 +++++++++++++++++++++++++++++++
 kernel/sched/fair.c          |  9 +++++++++
 2 files changed, 40 insertions(+)

-- 
2.43.5