[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250417080708.1333-1-jameshongleiwang@126.com>
Date: Thu, 17 Apr 2025 16:07:06 +0800
From: Honglei Wang <jameshongleiwang@....com>
To: tj@...nel.org,
void@...ifault.com,
arighi@...dia.com,
changwoo@...lia.com
Cc: mingo@...hat.com,
peterz@...radead.org,
juri.lelli@...hat.com,
vincent.guittot@...aro.org,
dietmar.eggemann@....com,
rostedt@...dmis.org,
bsegall@...gle.com,
mgorman@...e.de,
vschneid@...hat.com,
joshdon@...gle.com,
brho@...gle.com,
linux-kernel@...r.kernel.org,
bpf@...r.kernel.org,
jameshongleiwang@....com
Subject: [PATCH 0/2] rename var for slice refill event and add helper
SCX_EV_ENQ_SLICE_DFL gives the impression that the event only occurs
when the tasks were enqueued, which seems not accurate. So rename the
variable to SCX_EV_REFILL_SLICE_DFL.
The slice refilling with default slice always come with event
statistics together, add a helper routine to make it cleaner.
Honglei Wang (2):
sched_ext: change the variable name for slice refill event
sched_ext: add helper for refill task with default slice
kernel/sched/ext.c | 36 +++++++++++++++++-----------------
tools/sched_ext/scx_qmap.bpf.c | 4 ++--
2 files changed, 20 insertions(+), 20 deletions(-)
--
2.45.2
Powered by blists - more mailing lists