Re: [Qemu-devel] [PATCH RFC 0/2] numa: allocate CPUs masks dynamically

2016-11-21 Thread Alexey Kardashevskiy
On 22/11/16 05:46, Greg Kurz wrote: > On Thu, 17 Nov 2016 17:27:20 +1100 > Alexey Kardashevskiy wrote: > >> On 17/11/16 03:02, Igor Mammedov wrote: >>> This series removes global MAX_CPUMASK_BITS constant >>> so that it won't inderectly influence maximum CPUs count >>> supported by different targ

Re: [Qemu-devel] [PATCH RFC 0/2] numa: allocate CPUs masks dynamically

2016-11-21 Thread Greg Kurz
On Thu, 17 Nov 2016 17:27:20 +1100 Alexey Kardashevskiy wrote: > On 17/11/16 03:02, Igor Mammedov wrote: > > This series removes global MAX_CPUMASK_BITS constant > > so that it won't inderectly influence maximum CPUs count > > supported by different targets. > > > > It replaces statically alloca

Re: [Qemu-devel] [PATCH RFC 0/2] numa: allocate CPUs masks dynamically

2016-11-16 Thread Alexey Kardashevskiy
On 17/11/16 03:02, Igor Mammedov wrote: > This series removes global MAX_CPUMASK_BITS constant > so that it won't inderectly influence maximum CPUs count > supported by different targets. > > It replaces statically allocated bitmasks with dynamically > allocated ones using '-smp maxcpus' value for

[Qemu-devel] [PATCH RFC 0/2] numa: allocate CPUs masks dynamically

2016-11-16 Thread Igor Mammedov
This series removes global MAX_CPUMASK_BITS constant so that it won't inderectly influence maximum CPUs count supported by different targets. It replaces statically allocated bitmasks with dynamically allocated ones using '-smp maxcpus' value for setting bitmasks size. That would allocate just eno