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 1665A2FD7D6; Fri, 15 Aug 2025 10:12:49 +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=1755252770; cv=none; b=PPoziPiJX0aARq0T3eAR695hQ/CcrtlwAnLURAyTkW/xiXvo3dCEQK/9QUDKJdFY20/rfw5gpbf7wyjXzezm716SFySJOBGJuTLOj56iZJI7hK7ccgC/VF1tMF7OdSd2EV2/fzND6qC5cLFWeJo8NeZTLZaacgRBBn0oXjio+mo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755252770; c=relaxed/simple; bh=U6AVGw5ariZZSMxl2IiAStpx1ls9hsDC53C66pAWBxg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=IK+S89WEW4cQ9ylVkIUXPbNPoOrokSnuGl1ptCDgDZJvuyLpHxj2gsDpMIjktHk4Vn08seTeoL6WYs1pPJPN3LRFA4BnhQqFCiwsYNNQhwpYXsuKlG2bXzTxfetDfNaKIxY5nXTQ5kYzfbHKF/f+/f0AqZkBCU+t2XNIcycRy94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bwHTTOvU; 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="bwHTTOvU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20029C4CEEB; Fri, 15 Aug 2025 10:12:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755252769; bh=U6AVGw5ariZZSMxl2IiAStpx1ls9hsDC53C66pAWBxg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=bwHTTOvUrAXSDauxNWRB7voWcblsRNXkz++/LtGVEARiz6QQIVOYXXV1qPBCarPK3 t37nTEM/jMreYj/l8XjmjJceQ8bJoiIYVSKbE0KKqwrY9Wipolk8ByNyR6bdYwgVLA ig22KP2hL/Rpdcq2VTW5kuPdUJMha49kWT1VJbJkzFALGpa7cRXyEhKqTjC9i6LCvQ W1KeMQJ+YheRjly1OCqI0qvrkLZbBDFp56DzUyeJ81sCUj6906PCIZM4B9PSCGRL8n dzAnB+nkuT1tntkWmk436hF+IklU40aivAkmTFwo/FxmInU4N/K3+QTl55ss/tSmWU /v6YlTSWO90Kg== 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 , Asahi Lina Cc: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Oliver Mangold Subject: Re: [PATCH v11 0/4] New trait OwnableRefCounted for ARef<->Owned conversion. In-Reply-To: <20250618-unique-ref-v11-0-49eadcdc0aa6@pm.me> References: <20250618-unique-ref-v11-0-49eadcdc0aa6@pm.me> Date: Fri, 15 Aug 2025 12:12:40 +0200 Message-ID: <875xeoevvr.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 > --- In case it might save you some work, I rebased your series on v6.17-rc1: https://github.com/metaspace/linux/commits/217c7ba3b95213abf9c1ce1a98ca496a48401f10 Best regards, Andreas Hindborg