sched_ext: Fix spurious WARN on stale ops_state in ops_dequeue()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest1 patch 3 repliesIn review
- v11 patch 7 repliesSuperseded
Changes in v2 from the cover letter
- Use READ_ONCE() for p->scx.flags to ensure fresh reads
- Add cpu_relax() to reduce power consumption and improve performance during the spin-wait
- Use unlikely() to optimize branch prediction for the common case
- Expand comment to document the bounded retry guarantee
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | sched_ext: Fix spurious WARN on stale ops_state in ops_dequeue()kernel/ | +15 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Andrea Righi |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/1] sched_ext: Fix spurious WARN on stale ops_state in ops_dequeue()
Hello everyone,
Note: scripts/checkpatch.pl reports a false positive for the word "fallthrough" in a comment. The wording was intentionally kept as-is per review discussion, as it accurately describes the control flow.
Changes v1 -> v2:
- Use READ_ONCE() for p->scx.flags to ensure fresh reads
- Add cpu_relax() to reduce power consumption and improve performance during the spin-wait
- Use unlikely() to optimize branch prediction for the common case
- Expand comment to document the bounded retry guarantee
Thanks,
Samuele
Samuele Mariotti (1):
sched_ext: Fix spurious WARN on stale ops_state in ops_dequeue()
kernel/sched/ext.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-)
Signature · 1 line
2.54.0