[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/15] bitmap: add a generic bitmap and bitops l
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 11/15] bitmap: add a generic bitmap and bitops library |
Date: |
Tue, 7 Sep 2010 10:16:27 +0100 |
On Wed, Aug 11, 2010 at 6:49 AM, Corentin Chary <address@hidden> wrote:
> Add most used bitmap and bitops functions into bitmap.c and bitops.c.
> Theses functions are mostly copied from Linux kernel source.
>
> Some of these functions are already redefined in the VNC server. Some
> of them could be used for some block stuff. The yet yo be submitted
> NUMA work also need bitmaps.
>
> Signed-off-by: Corentin Chary <address@hidden>
> ---
> Makefile.objs | 1 +
> bitmap.c | 255 +++++++++++++++++++++++++++++++++++++++++++++++++++++
> bitmap.h | 222 ++++++++++++++++++++++++++++++++++++++++++++++
> bitops.c | 142 ++++++++++++++++++++++++++++++
> bitops.h | 272
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> osdep.h | 4 +
> 6 files changed, 896 insertions(+), 0 deletions(-)
> create mode 100644 bitmap.c
> create mode 100644 bitmap.h
> create mode 100644 bitops.c
> create mode 100644 bitops.h
I hit a case yesterday where a common bitmap implementation would be
nice. For now I've moved the bitmap from hw/openpic.c to bitmap.h and
modified hw/apic.c to use it too, but I was kind of hoping this patch
would make it in. Any status?
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 11/15] bitmap: add a generic bitmap and bitops library,
Stefan Hajnoczi <=