Re: [Qemu-devel] [RFC 1/3] using CPUMASK bitmaps to calculate cpu index

2014-05-27 Thread Igor Mammedov
On Tue, 27 May 2014 08:39:00 + "chen.fan.f...@cn.fujitsu.com" wrote: > On Thu, 2014-05-22 at 15:26 +0200, Igor Mammedov wrote: > > On Tue, 13 May 2014 18:08:47 +0800 > > Chen Fan wrote: > > > > > instead of seeking the number of CPUs, using CPUMASK bitmaps to > > > calculate the cpu index,

Re: [Qemu-devel] [RFC 1/3] using CPUMASK bitmaps to calculate cpu index

2014-05-27 Thread chen.fan.f...@cn.fujitsu.com
On Thu, 2014-05-22 at 15:26 +0200, Igor Mammedov wrote: > On Tue, 13 May 2014 18:08:47 +0800 > Chen Fan wrote: > > > instead of seeking the number of CPUs, using CPUMASK bitmaps to > > calculate the cpu index, also would be a gread benefit to remove > > cpu index. > How would it help to remove c

Re: [Qemu-devel] [RFC 1/3] using CPUMASK bitmaps to calculate cpu index

2014-05-22 Thread Igor Mammedov
On Tue, 13 May 2014 18:08:47 +0800 Chen Fan wrote: > instead of seeking the number of CPUs, using CPUMASK bitmaps to > calculate the cpu index, also would be a gread benefit to remove > cpu index. How would it help to remove cpu_index? What if there is only one CPU at start nad there is a need to

[Qemu-devel] [RFC 1/3] using CPUMASK bitmaps to calculate cpu index

2014-05-13 Thread Chen Fan
instead of seeking the number of CPUs, using CPUMASK bitmaps to calculate the cpu index, also would be a gread benefit to remove cpu index. Signed-off-by: Chen Fan --- exec.c | 9 - include/qom/cpu.h | 9 + include/sysemu/sysemu.h | 7 --- 3 files chang