block: switch from g_slice allocator to malloc
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 11:04:39 +0000 (13:04 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 12 Oct 2015 10:17:45 +0000 (11:17 +0100)
commitc84b31926f018af6fea2ab37a1fc47060b4bcfa1
treec59a666dd58f626616bb85f606a347fd3bc6c1cf
parenta9718ef0005d6910097788936dc40c0204713729
block: switch from g_slice allocator to malloc

Simplify memory allocation by sticking with a single API.  GSlice
is not that fast anyway (tcmalloc/jemalloc are better).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/io.c
block/mirror.c
block/raw-posix.c
block/raw-win32.c
hw/block/virtio-blk.c