sched/proxy: doodles..
Status from this message: The following commit has been merged into the sched/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | sched/proxy: Remove superfluous clear_task_blocked_in()kernel/ | +0 | 16 replies | |
| 2/6 | sched/proxy: Optimize try_to_wake_up()kernel/ | +4 | 1 reply | |
| 3/6 | sched: Be more strict about p->is_blockedkernel/ | +2 | 1 reply | |
| 4/6 | sched/proxy: Switch proxy to use p->is_blockedkernel/ | +6 | 4 replies | |
| 5/6 | sched/proxy: Remove PROXY_WAKINGinclude/ kernel/ kernel/ +1 more | +7 | 8 replies | |
| 6/6 | sched: Simplify ttwu_runnable()kernel/ | +6 | 0 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | John Stultz |
|---|---|
| 1/6 | A-b |
| 2/6 | A-b |
| 3/6 | A-b |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] sched/proxy: doodles..
This goes on top of queue:sched/proxy.
I was trying to do some cleanups and playing around with that PROXY_WAKING removal, and also moving towards using ->is_blocked to replace the core se.sched_delayed usage.
But aside from making a few silly mistakes and taking far too long to figure out WTF happened, I've ran into a snag with the scheme to remove PROXY_WAKING.
This happens in patch #4, where we switch the proxy paths to be guarded by ->is_blocked, rather than ->blocked_on. This works fine for schedule() / pick_next_task, since that guarantees there are no delayed tasks.
However ttwu_runnable() has no such luck, and if ->is_blocked is all we have, then it turns out that we'll always fully block delayed tasks and send then through the long path.
Now, I did me some ttwu-delayed patches a while ago, and Mike has been poking me about them. Those patches pick out the delayed things before we take locks, so perhaps we can resolve this that way. I'll have to poke a bit more.
In the meantime, I figured I'd share the patches I got... I think at least the first 3 might live :-)