Received: from [140.186.70.92] (port=44408 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObSBb-0003YR-7Z for qemu-devel@nongnu.org; Wed, 21 Jul 2010 01:49:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObSBZ-0001RS-Nt for qemu-devel@nongnu.org; Wed, 21 Jul 2010 01:49:42 -0400 Received: from mail-bw0-f45.google.com ([209.85.214.45]:64284) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObSBZ-0001RD-IA for qemu-devel@nongnu.org; Wed, 21 Jul 2010 01:49:41 -0400 Received: by bwz19 with SMTP id 19so3731625bwz.4 for ; Tue, 20 Jul 2010 22:49:38 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 21 Jul 2010 07:49:38 +0200 Message-ID: From: Corentin Chary Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] New Bitmap module ? List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu-development List , Anthony Liguori Cc: Alexander Graf Hi, I was working on merging VNC updates into bigger ones to see if it lower the overhead (big updates sometime use less network/cpu than a lot of small updates). For that, I needed some new bitmap functions, and no we got, in vnc.c: - set_bit - clear_bit - set_bits - clear_bits - find_next_bit - find_next_zero_bit - find_next_zero_area Should we move that into bitmap.c/bitmap.h ? Which part of QEMU could use that (block.c maybe ?) Thanks -- Corentin Chary http://xf.iksaif.net