diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2016-11-18 12:02:54 +0100 |
|---|---|---|
| committer | Eduardo Habkost <ehabkost@redhat.com> | 2017-01-12 15:51:36 -0200 |
| commit | cdda2018e3b9ce0c18938767dfdb1e05a05b67ca (patch) | |
| tree | c63be6fa7675181574676569d5fc21a88069d115 /util/qemu-thread-win32.c | |
| parent | 410e98146ffde201ab4c778823ac8beaa74c4c3f (diff) | |
| download | focaccia-qemu-cdda2018e3b9ce0c18938767dfdb1e05a05b67ca.tar.gz focaccia-qemu-cdda2018e3b9ce0c18938767dfdb1e05a05b67ca.zip | |
numa: make -numa parser dynamically allocate CPUs masks
so it won't impose an additional limits on max_cpus limits supported by different targets. It removes global MAX_CPUMASK_BITS constant and need to bump it up whenever max_cpus is being increased for a target above MAX_CPUMASK_BITS value. Use runtime max_cpus value instead to allocate sufficiently sized node_cpu bitmasks in numa parser. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <1479466974-249781-1-git-send-email-imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> [ehabkost: Added asserts to ensure cpu_index < max_cpus] Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'util/qemu-thread-win32.c')
0 files changed, 0 insertions, 0 deletions