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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 62DC5C05027 for ; Thu, 26 Jan 2023 12:17:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B8EAE10E615; Thu, 26 Jan 2023 12:17:17 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8081410E615 for ; Thu, 26 Jan 2023 12:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674735434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JmjWDDDaOKoHLyiWRUyi7QZP+P/9RQam7lY9KQxWlvQ=; b=QZwo0EAcbYdfyvgxBa3GS+ZeDiMKj/EfN8UTzx9TpSaYULyfxtkY0rGLK8Ji5HPFczen5g dmSmAZd3chxJWnmnYBtiVpJs0q7jiO+5NLWlGLMuUJNrONAm8LsMB/2oLZhFbW/HMYGIWl zqIkqFRPP0fzjljWjp9We8onr3E0mNQ= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-516-StpZteGWPNupwA7THPGiNA-1; Thu, 26 Jan 2023 07:17:07 -0500 X-MC-Unique: StpZteGWPNupwA7THPGiNA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BC0233C42204; Thu, 26 Jan 2023 12:17:06 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 872EB140EBF5; Thu, 26 Jan 2023 12:17:06 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 57F9B180093F; Thu, 26 Jan 2023 13:17:05 +0100 (CET) Date: Thu, 26 Jan 2023 13:17:05 +0100 From: Gerd Hoffmann To: Dmitry Osipenko Subject: Re: [PATCH v10 06/11] drm/shmem-helper: Don't use vmap_use_count for dma-bufs Message-ID: <20230126121705.wsm62yxco7cubwyf@sirius.home.kraxel.org> References: <20230108210445.3948344-1-dmitry.osipenko@collabora.com> <20230108210445.3948344-7-dmitry.osipenko@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230108210445.3948344-7-dmitry.osipenko@collabora.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 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: Daniel Almeida , dri-devel@lists.freedesktop.org, Gurchetan Singh , kernel@collabora.com, Sumit Semwal , Steven Price , Gustavo Padovan , Alyssa Rosenzweig , Abhinav Kumar , virtualization@lists.linux-foundation.org, Sean Paul , Tomeu Vizoso , linux-kernel@vger.kernel.org, Qiang Yu , Thomas Zimmermann , Dmitry Baryshkov , Christian =?utf-8?B?S8O2bmln?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Jan 09, 2023 at 12:04:40AM +0300, Dmitry Osipenko wrote: > its own refcounting of vmaps, use it instead of drm-shmem > counting. This change prepares drm-shmem for addition of memory shrinker > support where drm-shmem will use a single dma-buf reservation lock for > all operations performed over dma-bufs. Likewise truncated? take care, Gerd