Skip to content

sheepdog: remove huge BSS object

Paolo Bonzini qemu-devel 2 versions – Applied

Status from this message: Applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 6 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2sheepdog: cleanup repeated expressionblock/sheepdog.c+3 -30 replies
2/2sheepdog: remove huge BSS objectblock/sheepdog.c+12 -100 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchFam ZhengJeff Cody
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] sheepdog: remove huge BSS object

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(-)
Signature · 1 line
2.17.0