diff options
| author | David Hildenbrand | 2021-12-17 14:46:07 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2022-01-07 11:19:55 +0100 |
| commit | 89aec6411c429adb662c53c94a986a5397961a7f (patch) | |
| tree | 430c01ebb424f95438075cada44940c1dc5c609f /include/standard-headers/linux | |
| parent | util/oslib-posix: Introduce and use MemsetContext for touch_all_pages() (diff) | |
| download | qemu-89aec6411c429adb662c53c94a986a5397961a7f.tar.gz qemu-89aec6411c429adb662c53c94a986a5397961a7f.tar.xz qemu-89aec6411c429adb662c53c94a986a5397961a7f.zip | |
util/oslib-posix: Don't create too many threads with small memory or little pages
Let's limit the number of threads to something sane, especially that
- We don't have more threads than the number of pages we have
- We don't have threads that initialize small (< 64 MiB) memory
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20211217134611.31172-5-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/standard-headers/linux')
0 files changed, 0 insertions, 0 deletions
