Received: by 10.213.65.68 with SMTP id h4csp3027077imn; Mon, 9 Apr 2018 13:00:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx48OkgI0c6ElpVVe6scvVc/GR6/dMhiYg78T259CAqUgTlyZQuAXSHyT3dA2Ld4AleoqKQJ3 X-Received: by 10.98.166.14 with SMTP id t14mr254266pfe.195.1523303999996; Mon, 09 Apr 2018 12:59:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523303999; cv=none; d=google.com; s=arc-20160816; b=zXobhOtWDWThzzcocswVW+70pgL7nqyvXsp7gaFkPZMa7UXUxxfNl3+OS8J1vC4Rmd 70JS7xbjajDOIjmm3KkoKVkaiuk16VnM/pfiaW45yaJk4o0nByZH5T/slA8vCUrIde3g YmBTtAvBW22+qgisgI4AEcqj9jm/g4yAVKOjbaY7sTZGEMkgm+kCPNf/sy+hHxRGD74V GBTfxEA5JXDiznW4q0LAj5O/CJVpkssVpQD1SpmIZnsEJ4J7DQibvfFYQRWbdfo9ZaUD wushGqtp1OSj/ubGHVa/VJKd3qPNerrxaDgKYmUSK7gOWez57ExUw4DJjRB7w7ExpbT1 GqTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from :arc-authentication-results; bh=uonp6hwZaGUVzSe3Coh0Oi5cR1kTWUZG0/hhkyC0TUc=; b=c39svwrjeiKq9hWWATZjW3dWIcxhsAI+EgFZnZ4/OqP+asnSwK0x8fiIT8j2uEZhOy ydMXzaiRnO9+A1NvtHWd1AiCpi+Rm66sPDT5plFIYcaNvyIb9G6RDXnKNvppaLyJILub XzRTubEpHWO33aOV4af6lzRBTn2iQ2o5rmoEj3NNznfot1dle5UQXwMBSnkxbOJzCCOM u0/+uoWBPPhB/I/pvwbK6kdwzWPEQ9pHBQQg+hqo57prhMgUqhxg3MjEMFf4dLOiVGZ0 5sNIt32yogQzEkrZEymO4qEKT6LS24PSLJNp/YmS7egckrh1f5ZUeZSWJbWmlgTh1IMG W53g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3-v6si918712pld.49.2018.04.09.12.59.22; Mon, 09 Apr 2018 12:59:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753740AbeDIT4Q (ORCPT + 99 others); Mon, 9 Apr 2018 15:56:16 -0400 Received: from anholt.net ([50.246.234.109]:53558 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751662AbeDIT4P (ORCPT ); Mon, 9 Apr 2018 15:56:15 -0400 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id A16A210A1521; Mon, 9 Apr 2018 12:56:14 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s4hT3Tn5txtf; Mon, 9 Apr 2018 12:56:13 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 7F4D210A03D5; Mon, 9 Apr 2018 12:56:13 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id F13B82FE2D4F; Mon, 9 Apr 2018 12:56:12 -0700 (PDT) From: Eric Anholt To: Daniel J Blueman , linux-kernel@vger.kernel.org Cc: Daniel J Blueman , dri-devel@lists.freedesktop.org, Dave Airlie , stable@vger.kernel.org Subject: Re: [PATCH] drm/vc4: Fix memory leak during BO teardown In-Reply-To: <20180402071035.25356-1-daniel@quora.org> References: <20180402071035.25356-1-daniel@quora.org> User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu) Date: Mon, 09 Apr 2018 12:56:12 -0700 Message-ID: <87in90w3vn.fsf@anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Daniel J Blueman writes: > During BO teardown, an indirect list 'uniform_addr_offsets' wasn't being > freed leading to leaking many 128B allocations. Fix the memory leak by > releasing it at teardown time. Reviewed, added a Fixes tag, and pushed to drm-misc-fixes. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlrLxVwACgkQtdYpNtH8 nujpIQ/7BQVTpsscUF18PveYd+8y9mL2en6wNEqKO8oXta166lSKzJ/8bT+MImbI 5cl56hu4uM/u7hys2hABRVfNp/IhLbY815uFBG79uOJQtYEuK4+i9RRaSs8tHh4h eLMZgJhJEMVy7gJ0+NmafGbndIVB6rxCQ6GZIqE7Z3PQwZtITNPkDG5KOkhDBS7X gKMVI/jPK/HkTfi1f6FSowIk2TPcyQiysyO54sFkEcWqp/DUjDmmxRljQYZn3xUC QUC8SGuOSoryH8/GCUScOS408IYAx6Qm9xkz92ets6OYQWDwTPmedgiONX2hi7Ue taAG8AJ345drHwu2Y4qZcNInZcdR0aKcveRhsAP1nibOwhFHSxltt2T/SichqJWC Oubr8esuqtx2sRINBnx4KR1fbyn7l4sPsk4SuinPVEmMf0r2M/G1JKj5tJjlC3uc eZ4cRVIHX8ba9rIBfqMoJyOfdM6WUxQvHUEIN10M6ShqkH0vPd6Urb4fmr/wqYN0 0cSLM2zvb4CtmWwAblW9jubCPpmIfavOb8SjYURFWhKVnZPwI8eC7uI/eNUMRuQJ EMw7wZQZs8LWtui5ZklgiSf0NXgmcBJA0vhHepF6KpFykVkDIEFt0TUO0TOe/jfl t86n7EtPcPvWoxjvWnMR2rjEHHFIshXgWN8kUDlTj7eQIp/GlWQ= =JkeT -----END PGP SIGNATURE----- --=-=-=--