Skip to content

sched_ext: rename var for slice refill event and add helper

Honglei Wang bpf lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 3 repliesIn review
  2. v2 posting 1/22 patches 3 repliesApplied
  3. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Refine the comments base on Andrea's suggestion.

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched_ext: change the variable name for slice refill eventkernel/sched/ext.c tools/sched_ext/scx_qmap.bpf.c+13 -130 replies
2/2sched_ext: add helper for refill task with default slicekernel/sched/ext.c+12 -120 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChangwoo Min
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RESEND PATCH v2 0/2] sched_ext: 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.

Changes in v2:
Refine the comments base on Andrea's suggestion.

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(-)
Signature · 1 line
2.45.2