sched/numa: Skip VMA scanning on memory pinned to one NUMA node via cpuset.mems
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest2 patches 6 repliesIn review 1 of 2 applied
- v42 patches 6 repliesSuperseded
- v32 patches 12 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 8 replies | Superseded | |
| v1 | 1 patch | 4 replies | Superseded |
Changes in v5 from the cover letter
1. add BUILD_BUG_ON() in TP_fast_assign() to guard against future changes (particularly in size) in nodemask_t.
Patches in v5 1 of 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sched/numa: Skip VMA scanning on memory pinned to one NUMA node via cpuset.memskernel/ | +7 | 0 replies | |
| 2/2 | sched/numa: Add tracepoint that tracks the skipping of numa balancing due to cpuset memory pinninginclude/ kernel/ | +36 | 0 replies | Applied |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Chen Yu | K Prateek Nayak | Srikanth Aithal | Venkat Rao Bagalkote |
|---|---|---|---|---|
| Series | T-b | T-b T-b | T-b | T-b |
| 1/2 | T-b | |||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v5 0/2] sched/numa: Skip VMA scanning on memory pinned to one NUMA node via cpuset.mems
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.
v2->v3:
1. add enable_cpuset() based on Mel's suggestion but again I think it's redundant.
2. print out nodemask with %*p.. format in the tracepoint.
v3->v4:
1. fix an unsafe dereference of a pointer to content not on ring buffer, namely mem_allowed_ptr in the tracepoint.
v4->v5:
1. add BUILD_BUG_ON() in TP_fast_assign() to guard against future changes (particularly in size) in nodemask_t.
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 | 33 +++++++++++++++++++++++++++++++++ kernel/sched/fair.c | 9 +++++++++ 2 files changed, 42 insertions(+)
Signature · 1 line
2.43.5