mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] sched/numa: Skip VMA scanning on memory pinned
@ 2025-04-17 19:15 Libo Chen
  2025-04-17 19:15 ` [PATCH v3 1/2] sched/numa: Skip VMA scanning on memory pinned to one NUMA node via cpuset.mems Libo Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Libo Chen @ 2025-04-17 19:15 UTC (permalink / raw)
  To: peterz, mgorman, mingo, juri.lelli, vincent.guittot, tj, akpm,
	rostedt, llong
  Cc: kprateek.nayak, raghavendra.kt, yu.c.chen, tim.c.chen, vineethr,
	chris.hyser, daniel.m.jordan, lorenzo.stoakes, mkoutny,
	Dhaval.Giani, cgroups, linux-kernel

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

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 | 30 ++++++++++++++++++++++++++++++
 kernel/sched/fair.c          |  9 +++++++++
 2 files changed, 39 insertions(+)

-- 
2.43.5


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-04-23 18:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-17 19:15 [PATCH v3 0/2] sched/numa: Skip VMA scanning on memory pinned Libo Chen
2025-04-17 19:15 ` [PATCH v3 1/2] sched/numa: Skip VMA scanning on memory pinned to one NUMA node via cpuset.mems Libo Chen
2025-04-19 11:16   ` Chen, Yu C
2025-04-22 22:20     ` Libo Chen
2025-04-22 23:27       ` Chen, Yu C
2025-04-17 19:15 ` [PATCH v3 2/2] sched/numa: Add tracepoint that tracks the skipping of numa balancing due to cpuset memory pinning Libo Chen
2025-04-23 15:34   ` Steven Rostedt
2025-04-23 16:05     ` Libo Chen
2025-04-23 16:12       ` Steven Rostedt
2025-04-23 16:50         ` Libo Chen
2025-04-23 16:56           ` Steven Rostedt
2025-04-23 16:57             ` Steven Rostedt
2025-04-23 18:22             ` Libo Chen
2025-04-17 20:12 ` [PATCH v3 0/2] sched/numa: Skip VMA scanning on memory pinned Andrew Morton
2025-04-17 21:07   ` Libo Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®