From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CDC0230BD9 for ; Wed, 5 Mar 2025 11:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=140.211.166.137 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741174052; cv=pass; b=iUKPPrs2MZT+Tao9HNNAnT7XjehIJuE07/spVkXNZ8jQLpgnlmYQlIOqRldrffgE7Wqu8MJHpIM/I5olosKosi5s4uFG5+XrQP13c00J3fAGvXjlPInp+LCNPNYH0VjFZGrJEzzpEcOfAxANKSBW7tH+xcaLMlLl93E7B/g9QtU= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741174052; c=relaxed/simple; bh=v80FmKrGAL6smsBWn6tIKL8x5t/5JRF4vkflAvMBkqA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Cd6OD00e14j7lv4TxIOnCxPLFTijSXho6NYSClP0mAGuVJgtYX+pURKjux8vpQJZU0KWKMcBvzDCOeDzjZQvXlus9ex+236WynigsuphltIlck+M6ZJEfaODuFZWN7FlPc8T6lvMbWYtvqhfOEfjuPvK+6ezJsXl0lfu7mPmKBs= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=collabora.com header.i=dmitry.osipenko@collabora.com header.b=QPYmHm4s; arc=pass smtp.client-ip=140.211.166.137 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=collabora.com header.i=dmitry.osipenko@collabora.com header.b="QPYmHm4s" Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id F0A4641207 for ; Wed, 5 Mar 2025 11:27:30 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org X-Spam-Flag: NO X-Spam-Score: -5.789 X-Spam-Level: Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Fjb8WTpiG6yb for ; Wed, 5 Mar 2025 11:27:30 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=136.143.188.112; helo=sender4-pp-f112.zoho.com; envelope-from=dmitry.osipenko@collabora.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org E684941211 Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=collabora.com DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org E684941211 Authentication-Results: smtp4.osuosl.org; dkim=pass (1024-bit key, unprotected) header.d=collabora.com header.i=dmitry.osipenko@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=QPYmHm4s Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) by smtp4.osuosl.org (Postfix) with ESMTPS id E684941211 for ; Wed, 5 Mar 2025 11:27:29 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1741174020; cv=none; d=zohomail.com; s=zohoarc; b=CGgNB9ioCrBhZoIu/54P4IE8VnMh233mFWObUx4IRiSRYQN0kgpLfN/b1j6tf5xb9Qvawe5SYEsGSK1SKsCH+dJbVCYse5EBI+9PFV7Rmc0b36jSY3crmcWENqDPN/6t7PReK6l5xQ+TsIlEZAEIJAYGp006r/VmxtROQH9FOZM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1741174020; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=NzN883oKEAj7l0UzhDNc+FFNuxWeXDfWS3FNs5UvJiU=; b=KkVW8eJlC1hVbD11lN1H56RQJHKk6lUI912ctlOYikwCfPSGLEc07HcNeJxn7AAdEZmZ5nhmYrx9qqHxOhBwSmmnQ4ECRwwSgoxZsLadBzP+9iQJ5cj6h719LPU4dPnnY7ua33GJYX/yGb/i/OF/92tiedgKjG3ea7e7CkQy86E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=dmitry.osipenko@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1741174019; s=zohomail; d=collabora.com; i=dmitry.osipenko@collabora.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=NzN883oKEAj7l0UzhDNc+FFNuxWeXDfWS3FNs5UvJiU=; b=QPYmHm4szIi7SlH9hSsNQbOfL5iaoAIjlaI4j/ShskiVl0RYg2oj2q+fLX7EyQBx djPTZWjB0QSPFT6ygEduHEVCS65V1dZkkAL0ipOv2v+S+NaDvJ4lQD+8EXil1bG9flW Z2CPVo0wGKJvUVQ5aKbtzC5q4r+fms/tl/5Nchk4= Received: by mx.zohomail.com with SMTPS id 1741174017652344.167196887577; Wed, 5 Mar 2025 03:26:57 -0800 (PST) Message-ID: Date: Wed, 5 Mar 2025 14:26:52 +0300 Precedence: bulk X-Mailing-List: virtualization@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v19 22/30] drm/shmem-helper: Add common memory shrinker To: Thomas Zimmermann , David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , =?UTF-8?Q?Christian_K=C3=B6nig?= , Qiang Yu , Steven Price , Boris Brezillon , Emma Anholt , Melissa Wen Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org References: <20240105184624.508603-1-dmitry.osipenko@collabora.com> <20240105184624.508603-23-dmitry.osipenko@collabora.com> <6b7d95b7-a9dd-43c9-b1db-8a636b85ad51@collabora.com> From: Dmitry Osipenko Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ZohoMailClient: External On 3/4/25 14:43, Thomas Zimmermann wrote: > Hi > > Am 04.03.25 um 11:59 schrieb Dmitry Osipenko: >> On 3/4/25 13:29, Thomas Zimmermann wrote: >>> Hi >>> >>> Am 05.01.24 um 19:46 schrieb Dmitry Osipenko: >>>> Introduce common drm-shmem shrinker for DRM drivers. >>> What's the status of this patch? >> It was de-prioritized on my list a year ago as I had to move to a higher >> priority problems. Rebasing and re-testing these patches takes much >> time, it either has to be split up in a smaller parts or applied in >> one go. > > The first 11 patches seem uncontroversial to me; maybe except for patch > 9. Could they be merged any time soon? > > The next batch could then be patches up to #20, which seem to be > reviewed as well. > >> >> The current status is that I started to work on v20 rather long time ago >> and the patches need to be rebased and re-tested again. Heard that >> Panthor driver may want shmem shrinker more than others today. > > I've been receiving reports about low performance of ast plus gem-shmem > recently. I suspect that the vmap/vunmap overhead could be related and > this series would likely lessen the problem. Alright, will refresh the patches. See if the first ones sill can be merged right away and then split the remainder into batches. -- Best regards, Dmitry