RFC Reduce runqueue lock contention -v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 38 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sched: Always provide p->oncpuinclude/ kernel/ | +24 | 1 reply | |
| 2/5 | mutex: Use p->oncpu for the adaptive spininclude/ include/ kernel/ +4 more | +20 | 3 replies | |
| 3/5 | sched: Change the ttwu success detailsinclude/ kernel/ kernel/ +1 more | +18 | 6 replies | |
| 4/5 | sched: Clean up ttwu statskernel/ | +31 | 1 reply | |
| 5/5 | sched: Reduce ttwu rq->lock contentionarch/ include/ kernel/ +5 more | +190 | 21 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Frank Rowand |
|---|---|
| 1/5 | A-b |
| 2/5 | |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC][PATCH 0/5] Reduce runqueue lock contention -v2
Hi, here a new posting of my scary patch(es) ;-)
These actually survive a sembench run (and everything else I threw at it). The discussion between Mike and Frank over the task_running() check made me realize what was wrong with the previous one.
As it turns out, what was needed (p->oncpu) was something Thomas wanted me to do for an entirely different reason (see patch #2).
Frank's patch, while encouraging me to poke at it again, has a number of very fundamental problems with it, the most serious one being that it completely wrecks the wake-up load-balancing.
I'll try and come up with a way to unwreck the 32bit select_task_rq_fair() problem, but for now inspiration in that departments seems lacking, yet I still wanted to share these patches so that others can have a go at them.
If all you care about is the numbers, skip to patch #5.