diff options
| author | ad <ad@NetBSD.org> | 2019-12-03 22:28:41 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2019-12-03 22:28:41 +0000 |
| commit | bc14e04bf890c1a574ae1313b9ea0f486854878b (patch) | |
| tree | 5ceff57b9391f058fd5a79ee8c5cd738f26854d8 /sys/dev/dm/dm_dev.c | |
| parent | 64f8fb9bda69d76ce4cc7fc2e1cdfff4abf92d78 (diff) | |
- Add some more failsafes to the CPU topology stuff, and build a 3rd
circular list of peer CPUs in other packages, so we might scroll through
them in the scheduler when looking to distribute or steal jobs.
- Fold the run queue data structure into spc_schedstate. Makes kern_runq.c
a far more pleasant place to work.
- Remove the code in sched_nextlwp() that tries to steal jobs from other
CPUs. It's not needed, because we do the very same thing in the idle LWP
anyway. Outside the VM system this was one of the the main causes of L3
cache misses I saw during builds. On my machine, this change yields a
60%-70% drop in time on the "hackbench" benchmark (there's clearly a bit
more going on here, but basically being less aggressive helps).
Diffstat (limited to 'sys/dev/dm/dm_dev.c')
0 files changed, 0 insertions, 0 deletions
