[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v2 0/2] sheepdog: remove huge BSS object
From: |
Paolo Bonzini |
Subject: |
[Qemu-block] [PATCH v2 0/2] sheepdog: remove huge BSS object |
Date: |
Wed, 23 May 2018 18:07:19 +0200 |
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: free the data...
Paolo Bonzini (2):
sheepdog: cleanup repeated expression
sheepdog: remove huge BSS object
block/sheepdog.c | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
--
2.17.0
- [Qemu-block] [PATCH v2 0/2] sheepdog: remove huge BSS object,
Paolo Bonzini <=