[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/5] block/nvme: Automatically free qemu_memalign() with QEMU
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH 1/5] block/nvme: Automatically free qemu_memalign() with QEMU_AUTO_VFREE |
Date: |
Thu, 7 Oct 2021 14:29:46 +0100 |
On Wed, Oct 06, 2021 at 06:49:27PM +0200, Philippe Mathieu-Daudé wrote:
> Since commit 4d324c0bf65 ("introduce QEMU_AUTO_VFREE") buffers
> allocated by qemu_memalign() can automatically freed when using
> the QEMU_AUTO_VFREE macro. Use it to simplify a bit.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> block/nvme.c | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- [PATCH 0/5] block/nvme: Fix a memory leak in nvme_free_queue_pair(), Philippe Mathieu-Daudé, 2021/10/06
- [PATCH 1/5] block/nvme: Automatically free qemu_memalign() with QEMU_AUTO_VFREE, Philippe Mathieu-Daudé, 2021/10/06
- Re: [PATCH 1/5] block/nvme: Automatically free qemu_memalign() with QEMU_AUTO_VFREE,
Stefan Hajnoczi <=
- [PATCH 3/5] block/nvme: Extract nvme_free_queue() from nvme_free_queue_pair(), Philippe Mathieu-Daudé, 2021/10/06
- [PATCH 2/5] block/nvme: Display CQ/SQ pointer in nvme_free_queue_pair(), Philippe Mathieu-Daudé, 2021/10/06
- [PATCH 4/5] block/nvme: Pass BDRVNVMeState* handle to nvme_free_queue_pair(), Philippe Mathieu-Daudé, 2021/10/06
- [PATCH 5/5] block/nvme: Fix memory leak from nvme_init_queue(), Philippe Mathieu-Daudé, 2021/10/06