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

2018-05-23 Thread Philippe Mathieu-Daudé
On 05/22/2018 10:43 PM, Fam Zheng wrote: > On Tue, 05/22 22:10, Paolo Bonzini wrote: >> block/sheepdog.o has a 4M static variable that is 90% of QEMU's whole .bss >> section. Replace it with a heap-allocated block, and make it smaller too >> since only the inode header is actually being used. >>

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

2018-05-22 Thread Fam Zheng
On Tue, 05/22 22:10, Paolo Bonzini wrote: > block/sheepdog.o has a 4M static variable that is 90% of QEMU's whole .bss > section. Replace it with a heap-allocated block, and make it smaller too > since only the inode header is actually being used. > > bss size goes down from 4464280 to 269976. >