sched/fair: reduce repeated work in enqueue path
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 9 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sched/fair: reuse the ENQUEUE_DELAYED calculation in enqueue_task_fair()kernel/ | +3 | 0 replies | |
| 1/2 | sched/fair: reuse the ENQUEUE_DELAYED calculation in enqueue_task_fair()kernel/ | +3 | 4 replies | |
| 2/2 | sched/fair: avoid recalculating curr status in place_entity() and requeue_delayed_entity()kernel/ | +22 | 0 replies | |
| 2/2 | sched/fair: avoid recalculating curr status in place_entity() and requeue_delayed_entity()kernel/ | +22 | 16 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Christian Loehle |
|---|---|
| 1/2 | |
| 1/2 | |
| 2/2 | T-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] sched/fair: reduce repeated work in enqueue path
1/2: Gather the flags & DELAYED_QUEUE controls in one place.
2/2: give the calculated curr == se onto requeue_delayed_entity() and place_entity()
Changelog:
1/2: No changes.
2/2: add (is_curr || curr->on_rq) condition to the
check for calculating curr_weight so when both of them are false the curr_weight won't go to waste.
v1: https://lore.kernel.org/lkml/[email protected]/
Kayra Cizmeci (2):
sched/fair: reuse the ENQUEUE_DELAYED calculation in
enqueue_task_fair()
sched/fair: avoid recalculating curr status in place_entity() and
requeue_delayed_entity()
kernel/sched/fair.c | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-)
Signature · 1 line
2.53.0