From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 333522773F9; Thu, 30 Oct 2025 14:51:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761835913; cv=none; b=eAWSo8Xv0PV/xgGVFZzKrCZF3o6uGBDotSNMBscJ5aMQ0tAZVKhVbSN4vNhZ70pX7TUdd2MrxNGztVadJVQn1dXn09JBGPxumyJxIjPnrjWtdLC4xYQ0eEjSjED82r0il5epMHmsZuY/IzN+yUZzdcE08PbtPLiMQr1qNJMngck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761835913; c=relaxed/simple; bh=WKwjBQEqXFPKO+WzYJAtU397ptDKk7qO+md5aDf4qeI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=g+lImkSjRg8fBNcIP8qM82K+9mGVlSGppCxwkE4CF3mUanGenAw5nvcjRnk4wEcldle+q6ctZ3RBFQgM/sKEtSVJGVaf/d8PkM/MpIoGcMSTl/H+ZfrqwiHqRGLiMLMUaxeT+orle5NrxPtznXLI5Y8S4iEtyrS672Q+UByCSeI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eQk1KEPL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eQk1KEPL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A797C4CEF1; Thu, 30 Oct 2025 14:51:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761835912; bh=WKwjBQEqXFPKO+WzYJAtU397ptDKk7qO+md5aDf4qeI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=eQk1KEPLZSr8AEWd/EU8u+Rrrky9aVBOpC7OJb24MtNAy8lk0RV3tvhMD4m4ACHgr fMlATft9Er2BS36a8xMX9gPc8K4bBTSuSpOK5p3EBHonicaJ4mGIeI7f3kztqcEmTe SRD8UsdgXC55zByvBL2GPf9BGZR+5Z6bCWvWJ48Guof+RmgX8uZh/na2+7gRavwx5/ 5rqNlDqOvtDtHZ7DFY/4iS63rM4nUKvfa0DBlZL9xCA/LxOOXy0Wuh1dST1pH8CTe/ Ds9vTfVN/js3WH8pZd2wSp+qSUJy5qicslENSC1jFjvj8vnfDDjb5Z40aSUNg9UkYL AfUfkjCtX7Bqg== From: Andreas Hindborg To: Oliver Mangold , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?utf-8?Q?Bj=C3=B6rn?= Roy Baron , Alice Ryhl , Trevor Gross , Benno Lossin , Danilo Krummrich , Greg Kroah-Hartman , Dave Ertman , Ira Weiny , Leon Romanovsky , "Rafael J. Wysocki" , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Alexander Viro , Christian Brauner , Jan Kara , Lorenzo Stoakes , "Liam R. Howlett" , Viresh Kumar , Nishanth Menon , Stephen Boyd , Bjorn Helgaas , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Asahi Lina Cc: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-pm@vger.kernel.org, linux-pci@vger.kernel.org, Oliver Mangold Subject: Re: [PATCH v12 0/4] New trait OwnableRefCounted for ARef<->Owned conversion. In-Reply-To: <20251001-unique-ref-v12-0-fa5c31f0c0c4@pm.me> References: <20251001-unique-ref-v12-0-fa5c31f0c0c4@pm.me> Date: Thu, 30 Oct 2025 15:51:38 +0100 Message-ID: <87v7jw8mth.fsf@t14s.mail-host-address-is-not-set> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Hi Oliver, Oliver Mangold writes: > This allows to convert between ARef and Owned by > implementing the new trait OwnedRefCounted. > > This way we will have a shared/unique reference counting scheme > for types with built-in refcounts in analogy to Arc/UniqueArc. > > Signed-off-by: Oliver Mangold I rebased your series on top of v6.18-rc3 and pushed it here [1]. I also added some commits with review feedback. Best regards, Andreas Hindborg [1] https://github.com/metaspace/linux/tree/ownable-v12