Skip to content

Tidy qemu_malloc

Richard Henderson qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Use calloc in qemu_mallocz.qemu-malloc.c+4 -40 replies
2/2linux-user: Use qemu-malloc.c.Makefile.target linux-user/mmap.c+2 -530 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Tidy qemu_malloc

I was reminded of this by the discussion on the list recently of using calloc for qemu_mallocz. I'd vaguely remembered that I already had a patch that did this.

The second patch is a cleanup enabled by Paul's patch:
2e9a5713f0567fffaa3518f495b8d16a2b74f84a
which removed PAGE_RESERVED.

r~

Richard Henderson (2):
Use calloc in qemu_mallocz.
linux-user: Use qemu-malloc.c.

 Makefile.target   |    3 ++-
 linux-user/mmap.c |   52 ----------------------------------------------------
 qemu-malloc.c     |    8 ++++----
 3 files changed, 6 insertions(+), 57 deletions(-)