Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2818611ybl; Mon, 20 Jan 2020 09:55:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxivU0p0AfMqXjcl8jMS2F/ci532vT9SNOSk1Xc2dFXR5YU1+iQyzk0RpshnVHSdaqq8zYB X-Received: by 2002:a05:6830:1e16:: with SMTP id s22mr510594otr.340.1579542944591; Mon, 20 Jan 2020 09:55:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579542944; cv=none; d=google.com; s=arc-20160816; b=XyxyPJhjGXHAwZUDi3JOEV3z5+qfEYCADFM0Men5i5YzyisIoKSppOpyJmFAYfk4tr 0eK1mQ6IzIT4FZ2rIHbFMFNupRLHOAtvp6V7UYrVIfVh8mchb7pV+mYCoGa4hfejGURw iCOgMTkLysA4HFaN08jek2TfAsGLq2jJp7n55phXS/z9YH0aHlKi7RVaE5f47t9/o8jJ 0ph6cmMxM++qxhrl6E2if/YDrsCwaki7G7PcEM5xSGrJWfVPQn+7X/tv77CC78U6G+Yh 8kjfzU6yiDibyH76KbR70cWa9RUjhDl/c7rtHxnVAxk77G0ajtoJLCvMGIAx3rlMj4de 7d7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:cc:to:from:subject:dkim-signature :dkim-filter; bh=s14Tjymw/v9Byd80J79G1eYHiWpomQTUFQYZl/ghrNk=; b=A7UU/NJTmNO2PbIolm5tx5nIJ7pzKKblfuGAbQwPhA2KwwP1Fu6REuKiWpr4PXcgyM v4I3h1N0PigroxEoAXLDs3J/lJOA68eVF6VCKxk0Exqs2oePVg2Y+doJBgOp6z4TTmNp ix7HbH0YMyS0de/Jpj0Fc1RnrQwCiJV3/MvD4Ecywl9x4XXhpvyICMRo8Dg5C/78Coqi XUucGM1MqstpGhxZ3jfG5JxnEpzIoOvNs6FGS43Cpm4EGkpRd6KsOHTuEPmHisBT+PQF V4oQie0LbKQCri7jAVrNYQxrWEFBNaJawKbJKDUux8t023xL3YHJxwk5SeqebwGyFhet 2lhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jFImkGId; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f22si11924283otp.145.2020.01.20.09.55.31; Mon, 20 Jan 2020 09:55:44 -0800 (PST) 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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jFImkGId; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727092AbgATRyf (ORCPT + 99 others); Mon, 20 Jan 2020 12:54:35 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:53722 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726897AbgATRye (ORCPT ); Mon, 20 Jan 2020 12:54:34 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200120175433euoutp016def80c453d74a5e2fd055d6039dc4de~rqd-nhDpN0179201792euoutp01y for ; Mon, 20 Jan 2020 17:54:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200120175433euoutp016def80c453d74a5e2fd055d6039dc4de~rqd-nhDpN0179201792euoutp01y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1579542873; bh=s14Tjymw/v9Byd80J79G1eYHiWpomQTUFQYZl/ghrNk=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=jFImkGIdKrkZ+ECWkpMse/KUDd0JA7+Tl/wz6PVqZu9aZA30vv5aPBvtg17LoGW0C Iuw0/izwieSup9D7g1y3IzhO0UESr3QyHZm61xhG9bJ+EIOeuFEnuvwTpswt8sA/HY Sd8Vl1BNHz52xqeZCFoo/XG/KGm5PutadTsh6FqY= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200120175432eucas1p107f9c642b59c542a1cd6f8c735db1e07~rqd_-olrA1568115681eucas1p1k; Mon, 20 Jan 2020 17:54:32 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id EA.F6.60679.859E52E5; Mon, 20 Jan 2020 17:54:32 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200120175432eucas1p2609e38ccdda10cb0ba91392207b12f99~rqd_XwLd10980509805eucas1p2U; Mon, 20 Jan 2020 17:54:32 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200120175432eusmtrp176216afc29f4bb8af192b144ca752959~rqd_XNPWa3187631876eusmtrp1q; Mon, 20 Jan 2020 17:54:32 +0000 (GMT) X-AuditID: cbfec7f4-0e5ff7000001ed07-53-5e25e9582c2a Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A3.89.08375.759E52E5; Mon, 20 Jan 2020 17:54:31 +0000 (GMT) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200120175431eusmtip173cf6a03147fbb7524c5bb429f75ed58~rqd9jCQVB2386023860eusmtip1M; Mon, 20 Jan 2020 17:54:31 +0000 (GMT) Subject: Re: [PATCH] fbdev: wait for references go away From: Bartlomiej Zolnierkiewicz To: Gerd Hoffmann , dri-devel@lists.freedesktop.org Cc: marmarek@invisiblethingslab.com, "open list:FRAMEBUFFER LAYER" , open list Message-ID: Date: Mon, 20 Jan 2020 18:54:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRju2zk7OxtNPqe2NzWDgZWSmpY4StYFEX/6U4SsUzuo6bxsalp/ 1MjLvFUq2lAzjUyNEkk3LaQWZSYa5SUxsQsqXpvpBBe2cvuQ/Pc8z/u8V16WktUJPdnElAxe m8IlKxgJ3f3WNhwQs+Abd2zyuZ9ydMPCKOcmByjlu/JVoXKkt45Rruf10meEUWV906KoryX9 gihL3xgTtd7pE03HSsLVfHJiFq8NUl2UJCxbaum0IUF2cadNlItqBHrEsoBPwGN9rB5JWBl+ hGChp1BEiBVBrWmaImQdgaXVtJ0hdmZMd5oRCbQgsNbnCQlZQWAcb0MOlxsOgx+ri5QDM/gk 3C4kujuOhJHadtqRQOFSBEuv6pwmKVZBQ2uJswWNfaHr5yjjwB44Bta+vRYSjysM3J2hHViM T4Phw2dnUQrLYXLmnoDgg2BcITUBN4mgun0fwRFQbJ9FBLvBYv8zEcHeMFhZ6hwI8BMEf4rm KUKMCFoq7QxxnYKp4d+M42QU9oOnvUFEPgvW/AcickkXmFhxJTO4wJ3uGorIUigqkBH3Ieh4 2MHstNX3tFK3kMKwazPDrm0Mu7Yx/O/biOg2JOczdZp4XheSwl8N1HEaXWZKfODlVE0n2v6Z QXu/1YR6ty6ZEWaRYq90vtI3T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2pyPMn664thqA/cpD5ffn7Lgc6bdr8OifVVKLMUZiYZazEXFiQAyUnU6 wgIAAA== X-CMS-MailID: 20200120175432eucas1p2609e38ccdda10cb0ba91392207b12f99 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200120100025eucas1p21f5e2da0fd7c1fcb33cb47a97e9e645c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200120100025eucas1p21f5e2da0fd7c1fcb33cb47a97e9e645c References: <20200120100014.23488-1-kraxel@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/20/20 6:51 PM, Bartlomiej Zolnierkiewicz wrote: > do_unregister_framebuffer() doesn't guarantee that fb_info is freed after > function's return (it only drops the kernel reference on fb_info). s/kernel/fbdev device driver/ Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics