On 3/5/20 6:45 AM, Philippe Mathieu-Daudé wrote:
Since v1:
- merged 2 series
- reworked hw/usb/quirks
- added R-b/A-b tags

This series reduce the footprint of the QEMU binary:
.bss: 106KiB (moved to .heap)

Why is moving stuff from .bss to .heap beneficial? With .bss, 0-initialization is cheap (the OS gives it to us for free by mapping the entire .bss to a copy-on-write zero page); but with .heap, we generally have to zero it at runtime ourselves.

.data: 1MiB
.rodata: 4.34MiB

But reducing these sizes makes sense.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


Reply via email to