[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 01/38] bitmap: use long as index
From: |
Juan Quintela |
Subject: |
Re: [Qemu-devel] [PATCH 01/38] bitmap: use long as index |
Date: |
Tue, 17 Dec 2013 21:21:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Eric Blake <address@hidden> wrote:
> On 12/17/2013 08:25 AM, Juan Quintela wrote:
>> Move index and size fields from int to long. We need that for
>> migration. long is 64 bits on sane architectures, and 32bits should
>> be enough on all the 32bits architectures.
>>
>> Signed-off-by: Juan Quintela <address@hidden>
>> ---
>> include/qemu/bitmap.h | 77
>> ++++++++++++++++++++++++++-------------------------
>> include/qemu/bitops.h | 14 +++++-----
>> util/bitmap.c | 60 +++++++++++++++++++--------------------
>> 3 files changed, 76 insertions(+), 75 deletions(-)
>>
>> diff --git a/include/qemu/bitmap.h b/include/qemu/bitmap.h
>> index 308bbb7..afdd257 100644
>> --- a/include/qemu/bitmap.h
>> +++ b/include/qemu/bitmap.h
>> @@ -31,7 +31,7 @@
>> * bitmap_andnot(dst, src1, src2, nbits) *dst = *src1 & ~(*src2)
>> * bitmap_complement(dst, src, nbits) *dst = ~(*src)
>> * bitmap_equal(src1, src2, nbits) Are *src1 and *src2 equal?
>> - * bitmap_intersects(src1, src2, nbits) Do *src1 and *src2 overlap?
>> + * bitmap_intersects(src1, src2, nbits) Do *src1 and *src2 overlap?
>
> Spurious whitespace change?
>
> Worth cleaning up this whitespace while in the area?
Yeap. After passing checkpatch, it complained about lots of lines. And
after that only three tabs or so were left, so I fixed them.
And forget to fix the comment.
>
> Content changes seem sane to me:
> Reviewed-by: Eric Blake <address@hidden>
Thanks, Juan.
- [Qemu-devel] [PATCH v3 00/38] bitmap queue, Juan Quintela, 2013/12/17
- [Qemu-devel] [PATCH 02/38] memory: cpu_physical_memory_set_dirty_flags() result is never used, Juan Quintela, 2013/12/17
- [Qemu-devel] [PATCH 03/38] memory: cpu_physical_memory_set_dirty_range() return void, Juan Quintela, 2013/12/17
- [Qemu-devel] [PATCH 01/38] bitmap: use long as index, Juan Quintela, 2013/12/17
- [Qemu-devel] [PATCH 04/38] exec: use accessor function to know if memory is dirty, Juan Quintela, 2013/12/17
- [Qemu-devel] [PATCH 05/38] memory: create function to set a single dirty bit, Juan Quintela, 2013/12/17
- [Qemu-devel] [PATCH 06/38] exec: create function to get a single dirty bit, Juan Quintela, 2013/12/17
- [Qemu-devel] [PATCH 07/38] memory: make cpu_physical_memory_is_dirty return bool, Juan Quintela, 2013/12/17
- [Qemu-devel] [PATCH 08/38] memory: all users of cpu_physical_memory_get_dirty used only one flag, Juan Quintela, 2013/12/17
- [Qemu-devel] [PATCH 09/38] memory: set single dirty flags when possible, Juan Quintela, 2013/12/17