Received: from eggs.gnu.org ([2001:4830:134:3::10]:60244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4WVa-0007fv-Ha for qemu-devel@nongnu.org; Thu, 03 Dec 2015 11:13:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4WVW-0004tO-E6 for qemu-devel@nongnu.org; Thu, 03 Dec 2015 11:13:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4WVW-0004tG-8R for qemu-devel@nongnu.org; Thu, 03 Dec 2015 11:13:22 -0500 From: Markus Armbruster References: <1449087634-30846-1-git-send-email-armbru@redhat.com> <87zixr20ui.fsf@blackfin.pond.sub.org> <56603C54.6090604@suse.de> Date: Thu, 03 Dec 2015 17:13:18 +0100 In-Reply-To: <56603C54.6090604@suse.de> ("Andreas =?utf-8?Q?F=C3=A4rber=22?= =?utf-8?Q?'s?= message of "Thu, 3 Dec 2015 13:57:56 +0100") Message-ID: <87r3j3qzmp.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-2.5 0/2] tests: A cleanup and a fix List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: Peter Maydell , Alexander Graf , QEMU Developers , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Andreas F=C3=A4rber writes: > Am 03.12.2015 um 13:06 schrieb Markus Armbruster: >> Peter Maydell writes: >>=20 >>> On 2 December 2015 at 20:20, Markus Armbruster wrot= e: >>>> PATCH 1 cleans up unnecessary type punning. >>>> >>>> PATCH 2 plugs a massive memory leak in qom-test. I think it would be >>>> nice to have in 2.5, but at this late stage, it's really up to the >>>> maintainer. >>> >>> To go into 2.5 it needs to be reviewed and either be in a pull >>> request or have a request from the maintainer for me to apply it >>> directly by the end of today UK time. >>=20 >> Understood. >>=20 >>> Is the memory leak a regression, or have we always leaked and >>> not noticed? >>=20 >> As far as I can see, a minor leak was introduced in commit 5c1904f, but >> the major leakage comes from commit dc06cbd, both v2.0. > > Well, as the qom-test maintainer I have been struggling with the two 1GB > Exynos4 machines on i586 hosts from 2.3 on already > (http://bugzilla.opensuse.org/show_bug.cgi?id=3D957379). While this > happens really early and we have been able to work around it by > decoupling compilation and execution of the tests a little (blaming make > or whomever for memory fragmentation), I'd like to investigate whether > this helps that regression. Otherwise memory cleanup has not been a > topic for non-QAPI allocations in tests either so it does not seem too > urgent to me if it's just cosmetic. I agree chasing small memory leaks in tests is not a priority. However, tests dirtying hundreds of megabytes aren't so nice to developers with small machines. But as I said, for-2.5 is maintainer's discretion. > The preceding patch looks fine to me on a first look. > > An unrelated question to consider going forward is whether we should > conditionalize and by default skip my property tests for time reasons. qom-test has caught bugs early for me, but it is slooow. Perhaps mark the tests for all the old machine types as slow? [...]