From: Shannon Zhao <zhaoshenglong@huawei.com>
To: Michael Tokarev <mjt@tls.msk.ru>, <qemu-devel@nongnu.org>
Cc: qemu-trivial@nongnu.org, pbonzini@redhat.com,
shannon.zhao@linaro.org, peter.maydell@linaro.org
Subject: Re: [Qemu-trivial] [PATCH 00/29] Fix memory leak relevant to calling qemu_allocate_irqs
Date: Fri, 29 May 2015 10:21:06 +0800 [thread overview]
Message-ID: <5567CD12.9040106@huawei.com> (raw)
In-Reply-To: <55670B48.20106@msgid.tls.msk.ru>
On 2015/5/28 20:34, Michael Tokarev wrote:
> 28.05.2015 15:08, Shannon Zhao wrote:
>> From: Shannon Zhao <shannon.zhao@linaro.org>
>>
>> Before I sent some patches to fix memory leak spotted by valgrind and
>> those are relevant to qemu_allocate_irqs. Then I find all the places
>> calling this function through code searching and test by valgrind to
>> check whether they have memory leak. These patches fix these memory leaks.
>>
>> Sorry that maybe the names of the patches are vertiginous while I could
>> not find out better names and I try to sort them out.
>
> Maybe a better subject will be "fix memory leak after qemu_allocate_irqs"
> or something like that? And for some, "use qemu_allocate_irq not _irqs
> for single irq" -- this kind is sorta fun, I wonder why the codebase has
> so many cases of this API misuse.
>
> And one more question: do you really care that whole valgrind report is
> included into every commit message? :)
not really, while these reports show people the problems. You could deal
them in your way.
Thanks,
--
Shannon
WARNING: multiple messages have this Message-ID (diff)
From: Shannon Zhao <zhaoshenglong@huawei.com>
To: Michael Tokarev <mjt@tls.msk.ru>, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, pbonzini@redhat.com,
shannon.zhao@linaro.org, peter.maydell@linaro.org
Subject: Re: [Qemu-devel] [PATCH 00/29] Fix memory leak relevant to calling qemu_allocate_irqs
Date: Fri, 29 May 2015 10:21:06 +0800 [thread overview]
Message-ID: <5567CD12.9040106@huawei.com> (raw)
In-Reply-To: <55670B48.20106@msgid.tls.msk.ru>
On 2015/5/28 20:34, Michael Tokarev wrote:
> 28.05.2015 15:08, Shannon Zhao wrote:
>> From: Shannon Zhao <shannon.zhao@linaro.org>
>>
>> Before I sent some patches to fix memory leak spotted by valgrind and
>> those are relevant to qemu_allocate_irqs. Then I find all the places
>> calling this function through code searching and test by valgrind to
>> check whether they have memory leak. These patches fix these memory leaks.
>>
>> Sorry that maybe the names of the patches are vertiginous while I could
>> not find out better names and I try to sort them out.
>
> Maybe a better subject will be "fix memory leak after qemu_allocate_irqs"
> or something like that? And for some, "use qemu_allocate_irq not _irqs
> for single irq" -- this kind is sorta fun, I wonder why the codebase has
> so many cases of this API misuse.
>
> And one more question: do you really care that whole valgrind report is
> included into every commit message? :)
not really, while these reports show people the problems. You could deal
them in your way.
Thanks,
--
Shannon
next prev parent reply other threads:[~2015-05-29 2:25 UTC|newest]
Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 12:08 [Qemu-trivial] [PATCH 00/29] Fix memory leak relevant to calling qemu_allocate_irqs Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 01/29] hw/ide/ahci.c: Fix memory leak spotted by valgrind Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:16 ` [Qemu-trivial] " Peter Maydell
2015-05-28 12:16 ` [Qemu-devel] " Peter Maydell
2015-05-28 12:24 ` [Qemu-trivial] " Shannon Zhao
2015-05-28 12:24 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:39 ` [Qemu-trivial] " Peter Maydell
2015-05-28 12:39 ` [Qemu-devel] " Peter Maydell
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 02/29] hw/ide/cmd646.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 03/29] hw/i386/pc: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 04/29] hw/i386/pc_q35.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 05/29] hw/isa/lpc_ich9.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 06/29] hw/isa/i82378.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 07/29] hw/timer/arm_timer.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 08/29] hw/intc/exynos4210_gic.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 09/29] hw/sparc/leon3.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 10/29] hw/sparc/sun4m.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 11/29] hw/ppc/mac_oldworld.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 12/29] hw/ppc/ppc440_bamboo.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 13/29] hw/ppc/prep.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 14/29] hw/mips/mips_int.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 15/29] hw/mips/mips_jazz.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 16/29] hw/lm32/lm32_boards.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 17/29] hw/lm32/milkymist.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 18/29] hw/m68k/mcf5206.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 19/29] hw/openrisc/pic_cpu.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 20/29] hw/unicore32/puv3.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 21/29] hw/sh4/r2d.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:46 ` [Qemu-trivial] " Peter Maydell
2015-05-28 12:46 ` [Qemu-devel] " Peter Maydell
2015-05-29 2:11 ` [Qemu-trivial] " Shannon Zhao
2015-05-29 2:11 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 22/29] hw/alpha/typhoon.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 23/29] hw/arm/nseries.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 24/29] hw/arm/omap_sx1.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 25/29] hw/arm/palm.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 26/29] hw/arm/spitz.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 27/29] hw/arm/tosa.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 28/29] hw/display/tc6393xb.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:08 ` [Qemu-trivial] [PATCH 29/29] hw/s390x/sclpcpu.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] " Shannon Zhao
2015-05-28 13:11 ` [Qemu-trivial] " Cornelia Huck
2015-05-28 13:11 ` Cornelia Huck
2015-05-30 7:27 ` [Qemu-trivial] " Shannon Zhao
2015-05-30 7:27 ` Shannon Zhao
2015-05-28 13:21 ` [Qemu-trivial] " Peter Maydell
2015-05-28 13:21 ` [Qemu-devel] " Peter Maydell
2015-05-30 10:34 ` [Qemu-trivial] " Paolo Bonzini
2015-05-30 10:34 ` [Qemu-devel] " Paolo Bonzini
2015-05-30 11:07 ` [Qemu-trivial] " Shannon Zhao
2015-05-30 11:07 ` [Qemu-devel] " Shannon Zhao
2015-05-28 12:34 ` [Qemu-trivial] [PATCH 00/29] Fix memory leak relevant to calling qemu_allocate_irqs Michael Tokarev
2015-05-28 12:34 ` [Qemu-devel] " Michael Tokarev
2015-05-29 2:21 ` Shannon Zhao [this message]
2015-05-29 2:21 ` Shannon Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5567CD12.9040106@huawei.com \
--to=zhaoshenglong@huawei.com \
--cc=mjt@tls.msk.ru \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=shannon.zhao@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.