Re: [Qemu-devel] [PATCH v2 0/2] sheepdog: remove huge BSS object

2018-05-23 Thread Jeff Cody
On Wed, May 23, 2018 at 06:07:19PM +0200, Paolo Bonzini wrote: > block/sheepdog.o has a 4M static variable that is 90% of QEMU's whole .bss > section. Since it doesn't really have to be static, we can just use a > heap allocated block. We can actually make it smaller too. :) > > Patch 1 is a rel

[Qemu-devel] [PATCH v2 0/2] sheepdog: remove huge BSS object

2018-05-23 Thread Paolo Bonzini
block/sheepdog.o has a 4M static variable that is 90% of QEMU's whole .bss section. Since it doesn't really have to be static, we can just use a heap allocated block. We can actually make it smaller too. :) Patch 1 is a related cleanup since we're touching that area of the code. Paolo v1->v2: