Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1077111lqh; Sun, 5 May 2024 15:28:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWelYhc4/1lzctvK4waQsnNRQ/u9QnBEqg4qD4xpO+n9jvgS0xOSatGz+K5VPscp8UNSJCpSCXqThy4PITzzEhqwmUIV6ICQO0OQ4B4UQ== X-Google-Smtp-Source: AGHT+IHIyzFUzt5ZLaHqM1wdUKN+682ENhSMiIMrNO7Sp23rFtzfTZGp/WptBYnIr1VE8c0QUpS4 X-Received: by 2002:a17:903:246:b0:1e5:d021:cf58 with SMTP id j6-20020a170903024600b001e5d021cf58mr11826172plh.36.1714948131632; Sun, 05 May 2024 15:28:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714948131; cv=pass; d=google.com; s=arc-20160816; b=kvnJILheFPm8NWMevEW+nO/rclEDdMalDCBTvL9yNosDEdIGDB7Wu5DsMzc+EEOHk5 OqzDtdrDmMU/HNxdBmO03460v+qpbayoaHkWVyvWYYVT590f9bBSEW+TKL05TBx0W+bY MBK2oRO/KTyc4ni7RJhqcGbwdvsC+bgXo4qxpIRY8PMwA+Bsooy4q/1F8rb2ZbU7Muct Ga63lIGtEC2MbenhI6/j+/Vmk2t8m0gVELchOGlBw6n+T2WG+Sr7Bg0IHJkiqmTcB3TN vVtOaxbMXXYravoBsvep9M3qce35XwC9A1oSd7ghvc6URYEP+PaFJplDzk+VadR73h9E xaBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=dOMv06zfp+EfFEk9ksXdm4XuRLTgcKDRnrVHao70bRc=; fh=mrh54LJpMm9J7IpTehKmehlcuqXtXtHLhc2baNNXRxA=; b=UdyKRFsoJhwUC4+fAfdz+xjm1H7XgYc4renRS07r8x6uLCsf8YODaylVTLjUmhURTB aHlVlht8Mcfvv3r9pVrlF9/++QeFSuC69DjQ3tJOcuUKF6n5jyyTgI6zSdH2dkF+4L0Y 0phu7XEmf1AaI3IWhvYEY7AdMqYsOeykXVZzRLtg3N6apF8k7E1AbJ2kUEvpz3m6obiJ 3gOYU+rkEnrABhMQj4YUWTXB1abm2G6UijJg5P/9RjsK8qIhzBMzlyNdTNIB/53vQ1jD bzUjSnSsOnNVQuMmOqSWTxUjS8+u0yHgacdITP8U6oNCbsPh0NGHsfph9UQTpDSDsr36 kJQA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YjtHe+N5; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-169178-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h18-20020a170902f2d200b001e5893023c1si54972plc.150.2024.05.05.15.28.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 15:28:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169178-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YjtHe+N5; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-169178-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 402D22815A7 for ; Sun, 5 May 2024 22:28:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B4029137741; Sun, 5 May 2024 22:28:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YjtHe+N5" Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B16567EF0F; Sun, 5 May 2024 22:28:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714948122; cv=none; b=INyE9wSDJip91spGmGi7cimM28E27zWSM+O9Tjg+7gRMftvv90h80hi7h0MYKR44ipvkFbuI1HbTwA4bys4jVZmP+h4vInBpL5pJS3i4iRN4OjGve3naxAEuHQYpNvLmP20Ldkny/3k0JHFDmV2bBmFxv6Rbu8pXz8D0IW0ZJ48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714948122; c=relaxed/simple; bh=dOMv06zfp+EfFEk9ksXdm4XuRLTgcKDRnrVHao70bRc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Nt3aONqLf0KCOC62kHnMCUY6ugX4f0vPr0296ZR/pmyo1rgmUvALPf+5CYL5xyatp703xboZgnKHfT5ZcbJHJPl272SpUO1xAsbCF9d0FQWHixRoeWyRsSynoxWEMZ6uU3xIAgt6vNjHRkj+sNId7exaZI1OuFAKsQVIiEx3Mpk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YjtHe+N5; arc=none smtp.client-ip=209.85.215.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-5d8b887bb0cso1214287a12.2; Sun, 05 May 2024 15:28:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714948121; x=1715552921; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dOMv06zfp+EfFEk9ksXdm4XuRLTgcKDRnrVHao70bRc=; b=YjtHe+N5YGgyKPdVSxLzyiBU4AIH1iDbDzyvEu7iWY1P3KIutFKJaN/F7hbAmlBWD3 OomuTE6ZwyN1HqM3UpfjQWUAh7UQS4Bbpc9ShGuBfhJJSfD6n3mSrsLvxpnJikrR+Mpr 8zg1W8Jx5X4A42KE66Il0VKFpKuFe/yba4c+BLN/4Bj7FesZNtmyfIFu90Jnti8aTXOK 875YpPOY+GzYmuqsdqO2psc3tjja8dT2bn65C8F8OwC1PIXuYpJ21LO6EoZr/5ybqi2y TTO19kwYijwMJNoPBO6i8X6kntm1h4mLnjr+fGQx/1ARg0SEqiNt5TBa7ZN5a88E3iKB gdug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714948121; x=1715552921; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dOMv06zfp+EfFEk9ksXdm4XuRLTgcKDRnrVHao70bRc=; b=HJXSnIIVEs52YLglaxmRPZ2fF98ugbjOQn+pR61MgeaoJgKFtQlQu9DPrTXBWn1ibh XwYN4Iw67K4509M9TShnaBV+H/o4u8V8qhsZLntX5dlr8g29h3r1Y4Pz7U3/uuX/dp0n aOcjZNErzvmuIwSJarvgh5IX6OZFB0QFH0XG2QhRBWspoMWbfWqD/Oxu8VmnNKe4kaF+ rObKNBVloFzDIjVPmLMGfa8ESIiskN95oug3B04g2DYd4kYP88PhXRjlxT38l/NXNlhM yY15aTTYRdUk2FcWi53PsNCsxKkNfw5bmX4RlMAPxLipR7cJeccN/tYlR2mnns/nLclc tPsQ== X-Forwarded-Encrypted: i=1; AJvYcCVjYBo80LMsv0j8BAJ4r9BLxPZsQdat28fxXpmd0salditvdxmXJyEHFXsXroLXUfWLbxNvBjWjUPTlQKHHrnAxpddWpXC+7yYTgtkTP5hkbZjkyvBDME41N8Pjso1Of0IufcU8H4ZM1/VVoPw= X-Gm-Message-State: AOJu0YzHAK9QzXj5Y3oTRzr1GdppCrxXNMHjv8ZL20/n+rxZUIEEpDPr A1gWs1gTW24kb5ZWN0Z+IY2XT9rCHbVQX2532kLRfPzkmz1I01dmDsWmJEVZ0BmUXx2dmXq9+u2 wXfzeyOr6QVyj6kprlqpSKpXz2BU= X-Received: by 2002:a05:6a21:3395:b0:1a7:5780:1f4b with SMTP id yy21-20020a056a21339500b001a757801f4bmr12340587pzb.24.1714948120941; Sun, 05 May 2024 15:28:40 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240402-arc-for-list-v4-0-54db6440a9a9@google.com> In-Reply-To: <20240402-arc-for-list-v4-0-54db6440a9a9@google.com> From: Miguel Ojeda Date: Mon, 6 May 2024 00:27:17 +0200 Message-ID: Subject: Re: [PATCH v4 0/2] Arc methods for linked list To: Alice Ryhl Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 2, 2024 at 3:07=E2=80=AFPM Alice Ryhl wr= ote: > > This patchset contains two useful methods for the Arc type. They will be > used in my Rust linked list implementation [1], which Rust Binder uses. S= ee > the Rust Binder RFC [2] for more information. > > Link: https://lore.kernel.org/rust-for-linux/20240402-linked-list-v1-0-b1= c59ba7ae3b@google.com/ [1] > Link: https://lore.kernel.org/rust-for-linux/20231101-rust-binder-v1-0-08= ba9197f637@google.com/ [2] > Signed-off-by: Alice Ryhl [ Replace `try_new` with `new` in example since we now have the new allocation APIs. - Miguel ] Applied to `rust-next` -- thanks everyone! Cheers, Miguel