Commit 82e9d04
Peter Zijlstra
sched/fair: Avoid re-setting virtual deadline on 'migrations'
During OSPM24 Youssef noted that migrations are re-setting the virtual
deadline. Notably everything that does a dequeue-enqueue, like setting
nice, changing preferred numa-node, and a myriad of other random crap,
will cause this to happen.
This shouldn't be. Preserve the relative virtual deadline across such
dequeue/enqueue cycles.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Tested-by: Valentin Schneider <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]1 parent fc1892b commit 82e9d04
3 files changed
+26
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
548 | | - | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
549 | 551 | | |
550 | 552 | | |
551 | 553 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5270 | 5270 | | |
5271 | 5271 | | |
5272 | 5272 | | |
| 5273 | + | |
| 5274 | + | |
| 5275 | + | |
| 5276 | + | |
| 5277 | + | |
| 5278 | + | |
5273 | 5279 | | |
5274 | 5280 | | |
5275 | 5281 | | |
| |||
5382 | 5388 | | |
5383 | 5389 | | |
5384 | 5390 | | |
| 5391 | + | |
| 5392 | + | |
5385 | 5393 | | |
5386 | 5394 | | |
5387 | 5395 | | |
5388 | 5396 | | |
5389 | 5397 | | |
5390 | | - | |
5391 | | - | |
| 5398 | + | |
5392 | 5399 | | |
5393 | 5400 | | |
5394 | 5401 | | |
5395 | 5402 | | |
5396 | 5403 | | |
5397 | | - | |
| 5404 | + | |
5398 | 5405 | | |
5399 | | - | |
| 5406 | + | |
5400 | 5407 | | |
5401 | | - | |
| 5408 | + | |
5402 | 5409 | | |
5403 | 5410 | | |
5404 | 5411 | | |
| |||
5429 | 5436 | | |
5430 | 5437 | | |
5431 | 5438 | | |
| 5439 | + | |
| 5440 | + | |
| 5441 | + | |
| 5442 | + | |
| 5443 | + | |
5432 | 5444 | | |
5433 | 5445 | | |
5434 | 5446 | | |
| |||
12992 | 13004 | | |
12993 | 13005 | | |
12994 | 13006 | | |
| 13007 | + | |
12995 | 13008 | | |
12996 | 13009 | | |
12997 | 13010 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
0 commit comments