diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-23 18:07:21 +0200 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2018-06-05 10:15:12 -0400 |
commit | 68acc99f143b60ec4faa2903065b187d4d3c4bf3 (patch) | |
tree | 3ca2960edfd6412cd61ee0b7ff4be7de34a115d4 /linux-headers | |
parent | 03b036cc0ca3362ff1aacd70315f5e53f4234f5c (diff) |
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 'linux-headers')
0 files changed, 0 insertions, 0 deletions