From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9CD3C433E0 for ; Tue, 21 Jul 2020 08:18:06 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6CCA82068F for ; Tue, 21 Jul 2020 08:18:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=web.de header.i=@web.de header.b="LgfaTu3l" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6CCA82068F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 06F886E430; Tue, 21 Jul 2020 08:18:04 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.3]) by gabe.freedesktop.org (Postfix) with ESMTPS id CB41189AB2 for ; Mon, 20 Jul 2020 11:48:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1595245698; bh=B9YFGKXCwbpCJaQ7rDkbGRRvr272ma/yhkp2sjxpSeo=; h=X-UI-Sender-Class:To:Cc:Subject:From:Date; b=LgfaTu3lVPIlzmS5JPiviQcuIglycwKxzcEgvfA1je3siuYEbOMbGcZ6Ivz4/fOMd 4th7IaAnAgDU9GPgaknJ5WS1DkHsvHczpYq3rZzO/1QTCupk43weFFB/5eqISKxBts FpqOXdhnh4DSEverjurGdzYgKr4DeKyPD7bBN0qE= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.2] ([93.131.85.87]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MN43c-1jvJUY1toe-006bma; Mon, 20 Jul 2020 13:48:18 +0200 To: hexin.op@bytedance.com, Liu Qi , dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: Re: [PATCH] drm/virtio: Fix memory leak in virtio_gpu_execbuffer_ioctl() From: Markus Elfring Autocrypt: addr=Markus.Elfring@web.de; prefer-encrypt=mutual; keydata= mQINBFg2+xABEADBJW2hoUoFXVFWTeKbqqif8VjszdMkriilx90WB5c0ddWQX14h6w5bT/A8 +v43YoGpDNyhgA0w9CEhuwfZrE91GocMtjLO67TAc2i2nxMc/FJRDI0OemO4VJ9RwID6ltwt mpVJgXGKkNJ1ey+QOXouzlErVvE2fRh+KXXN1Q7fSmTJlAW9XJYHS3BDHb0uRpymRSX3O+E2 lA87C7R8qAigPDZi6Z7UmwIA83ZMKXQ5stA0lhPyYgQcM7fh7V4ZYhnR0I5/qkUoxKpqaYLp YHBczVP+Zx/zHOM0KQphOMbU7X3c1pmMruoe6ti9uZzqZSLsF+NKXFEPBS665tQr66HJvZvY GMDlntZFAZ6xQvCC1r3MGoxEC1tuEa24vPCC9RZ9wk2sY5Csbva0WwYv3WKRZZBv8eIhGMxs rcpeGShRFyZ/0BYO53wZAPV1pEhGLLxd8eLN/nEWjJE0ejakPC1H/mt5F+yQBJAzz9JzbToU 5jKLu0Sug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KzC1/WLrcr072vrdiN0icyOHQlfWmaPv0pUnW3AwtiMYngT96BevfA qlwaymjPTvH+cTXScnbydfOQW8220JQwykUe+sHRZfAF5TS2YCkQvsyf7vIpSqo/ttDk4+xc Z/wsLiWTgKlih2QYULvW61XU+mWsK8+ZlYUrRMpkauN4CJ5yTpvp+Orcz5KixHQmc5tbkLWf x0n1QFc1xxJhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE= Message-ID: <17aea294-f51c-f2b0-bfe3-a47261e2039b@web.de> Date: Mon, 20 Jul 2020 13:48:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Language: en-GB X-Provags-ID: V03:K1:8UASvadiCjLpcNDtHhCbZpI6TcIU0yEkxWb0gWTZnrImQFoq3dd MNWueY1Eu4wlcxbeM9O8Mv3yfuAePAa9+HFnccnBnuY60sz9Ymn3ndfNhvu08Qf9lO8JPpO /CmqgPJ0Q0qt4oG5DIfruTDRYRqjsJSUWisIjhCu/TSXDeCfc0W4yO4KGaBTnLM5HzScxJg 60RzpOKDDifuB8hS8Sm2w== X-UI-Out-Filterresults: notjunk:1;V03:K0:xM55sP9bbik=:bbsFmXYbgmZwbrLmx6n3pX gsmvrKoJyheKqtK1yL2VSTygH5GqfPFLzOg3jMRKeuP1W7urJ04FpvPtTmWwOU2kGWztgAdBw YwhSwaPW4jkG5rvtkrS/zKRuZfGIwiWXBBNY1wwuxMn+Vf9TnjRYjY5mrwR5TXblKnwTqgnkw 1xuG4ei4iMpjfWSSNBDHQ+GqceZmhBHSEkJDy/HssuWKbuFbVXNTFtJpVJokin1E1J5TbPINc QoelQkAhO7VDO1r3AeMkRpEXfUCE4kUshJmRsdq6ol7rhnmwG4/57kBEwQ46pOAwJRUfk/qfj I2BOa4AiHPmqr/BD+4+nQyb+wLj8krBBwhMQmts0Pf+u2+wbxp3nAyPubltiBKkUM3Sj5V4Jj KCIhiB+3cXbhqT6HMyDxYrso2KzYHPo7GEItBtQZtdG2gnKmrvRXBrnO+VjroridB8kjyaOsm TzxqOSJNfwbsxX64Jp85fFXVCU/vP1xKgmrQV9rJ2URBGKu4vzTzhdeNvG8R6TEuUsY6gijsQ zpkSLxwnPjR2RpowzV2fRmG+D/xZdaPJ3+5bHNAI6aop9LV3zG5C/CwDsM/xLWJyaUDShVe+j zDs0bh0lQetNULMvqk1Cyo400KrSUK0504eMEzL4njruM98lbmU+pahb0fo8XXSSTQ4OLWq1q pLlDr1ErcGs/rUMgLLAQR54Up5irSCaIBHc1j9tk8bTJZX6Upkz+iABYeXae0X0yvclzlwGkh RjTf+QWvuzUMn7o1xE53oVoPHVb+ikNUYud2sfSPyxC0XC2pg+kyBr1XNTwluyfkPwG3mpyFl tzhAkf1bmcPrx7r58xTPdteWu9FUQrjPSzDn7QuVceD1llP8yk3zMHPdfSQHa5qiKiMKsUAsb eRmqtcp2R43IepUkwpfnFrzUtsNNbja+O0hseQSpjadYmv+LByU67fnkouiGT1PYyO51iBwYC pTghpVMvOucJdMguRm+mjqIBPEf9z6R0nnerfN7EhvtWgd13TMfncgIZH/+AayusEAcNsX/Fo FAeewdJ742Vg9hvTKEUl6JZQ1OPMsnveyDYWHlnEW6Wme0dGJYE8o9bIPw8MTUZjeImeGd1zd kUO0rDEUAmStD0hMGgurwmE8hdm619Y5xBg9dmi0rN8tSGbt8koI44frT5Hqi67HUce+LJ8Yp hAMs6F1p0Ayc63r9wtZ2ggKrPFmObPnh1+yIM/wx7uN2ilN6y1s0WR5dJBN9R3SvbD+gph99r YDtmAOoGzFm9RfxCndEIlaGeH2gWfRN8iLfEEWQ== X-Mailman-Approved-At: Tue, 21 Jul 2020 08:18:03 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, =?UTF-8?Q?Christian_K=c3=b6nig?= , Gerd Hoffmann Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" KiBJIHN1Z2dlc3QgdG8gYWRkIGEgY2hhbmdlIGRlc2NyaXB0aW9uLgoKKiBJcyDigJxoZXhpbi5v cOKAnSBhIHJlYWwgbmFtZT8KClJlZ2FyZHMsCk1hcmt1cwpfX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fXwpkcmktZGV2ZWwgbWFpbGluZyBsaXN0CmRyaS1kZXZl bEBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5mcmVlZGVza3RvcC5vcmcvbWFp bG1hbi9saXN0aW5mby9kcmktZGV2ZWwK