-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Concurrent tags: use parallel_cpus instead of qemu_tcg_mttcg_enabled()
qemu_tcg_mttcg_enabled() will return true even when we only have a single emulated CPU. This adds noticeable overhead to a CheriBSD boot without `-smp` (243s instead of 215s) to boot. Use an immutable view of `parallel_cpus` instead to avoid locking if max_cpu==1.
- Loading branch information
1 parent
6c66a34
commit 11e9301
Showing
2 changed files
with
51 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters