summaryrefslogtreecommitdiffstats
path: root/stubs/cpu-get-clock.c
diff options
context:
space:
mode:
authorPaolo Bonzini2018-05-23 18:07:21 +0200
committerJeff Cody2018-06-05 16:15:12 +0200
commit68acc99f143b60ec4faa2903065b187d4d3c4bf3 (patch)
tree3ca2960edfd6412cd61ee0b7ff4be7de34a115d4 /stubs/cpu-get-clock.c
parentsheepdog: cleanup repeated expression (diff)
downloadqemu-68acc99f143b60ec4faa2903065b187d4d3c4bf3.tar.gz
qemu-68acc99f143b60ec4faa2903065b187d4d3c4bf3.tar.xz
qemu-68acc99f143b60ec4faa2903065b187d4d3c4bf3.zip
sheepdog: remove huge BSS object
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. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20180523160721.14018-3-pbonzini@redhat.com> Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'stubs/cpu-get-clock.c')
0 files changed, 0 insertions, 0 deletions