Received: by 2002:ac8:6d01:0:b0:423:7e07:f8e4 with SMTP id o1csp6904833qtt; Mon, 18 Dec 2023 09:53:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEROtL5aWeqEu2a5pbbHW8fWe1asxY5Hs1jeFlQnSizTAeWOag7nadcxfnUZEOHT19us6Nj X-Received: by 2002:a17:906:2803:b0:9fc:3a70:4430 with SMTP id r3-20020a170906280300b009fc3a704430mr7455216ejc.70.1702921995516; Mon, 18 Dec 2023 09:53:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702921995; cv=none; d=google.com; s=arc-20160816; b=NAr5H5EdWufW3EMiBGWSKfpkaMyp77M25NdL2C01x4sexRiruv71H6J9/gOUnP9X0j qfiHmpPK+LV9FxTyosEWRB7NuLw0TwvBk6oOOYa8pvRdvKL+HyvJ9jG8oRPPZfefNwfk ciIp8PSfYy1gd5E92wMZmvtCsBT9ijPc0svGhWFiy18Hccsxvtu0sN8LuHnkah6k/2CR Snge23UNZhA5NGJU4voXCf8B5H+/1xWlUXKTBjmGYiVc7SaD0k0yp47/fwCXeh3X6QXi 8wHy6a0OFh++LpKq+c4Fe8nviTsYhoy2+lEXTMVNKMzdrmxvzsBpAZYY/PG1foMIkZOs ShtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:feedback-id:references :in-reply-to:message-id:subject:cc:from:to:date:dkim-signature; bh=kWoPrvQBKwAi266j+G1U1GXzd4+9SxzFGBqgXoz6f0s=; fh=hxbrysqDG+Q0ak9ujWMSB5SFd1qj6DYrxx/eSD99aG0=; b=dEnPjie3bJsli1SlG96wtd3+8paRp1cIhM1SNnIaaGdz1S5EN74ZD/f4W2aP21M5FT 4hjpEDd/OjsFAp5oNGSKh8IG7x/zGzAr97eiu00LIKw8KleY8c0MnBOqBfQ0PJvRPWcc NIIcqQ9G3AchoN5v72SOAgUC7vB4b0QAphQ9Cr4YaQCVBa799W2ogUcQGPjqIvkWUoyb d+6VIes0EzLRGEwpKyuqFiK7ML3eIgvOcbySCdPcoxoXbiS3zOmdtE96n+hcddyqqLW7 e2rrsRGv8sGeSFKgaDYWCqdpsxrz6XjldIGaNDHXHYVIvoFeNHsd+YWyoKgGiuC2sQAn 10Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail header.b="Yyd+/Wg+"; spf=pass (google.com: domain of linux-kernel+bounces-4213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u6-20020a1709060b0600b00a236ad517dfsi286369ejg.143.2023.12.18.09.53.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 09:53:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail header.b="Yyd+/Wg+"; spf=pass (google.com: domain of linux-kernel+bounces-4213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me 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 am.mirrors.kernel.org (Postfix) with ESMTPS id F37511F23DDE for ; Mon, 18 Dec 2023 17:51:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7459774E29; Mon, 18 Dec 2023 17:47:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b="Yyd+/Wg+" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) (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 CCE8E74E06 for ; Mon, 18 Dec 2023 17:47:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proton.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1702921673; x=1703180873; bh=kWoPrvQBKwAi266j+G1U1GXzd4+9SxzFGBqgXoz6f0s=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Yyd+/Wg+Dy/TKDp06JYVsaH2QBQ2MJY8/rUWLjTkOHhENDcOukl9LIwicPsl3V4Td R9JrmNoCDBlcyUyPZ+t1t7OPKV8fUl9S5+M5rvqp9z+a3z81WMIYirRwpPcTKM2dbJ 1v8/hOi6VFtGaKt9n7+Ggm2tR/HePFXlFXpd53MAesdwrfIdIS3Nz1j5PFph2KT8vD ARwlrh/WBe3PWdlyaqoQzBdOAdpIIWu8Gl3uj1X7FEIJckQvb7kJlkbqYiV0vCD5sD D4vym2dV6ue3jZkwrg96UuE6NqP2R/5h1cFguwk/MWpUMlaDHh2K1dESVmpJZWVGh+ /SL5kYUgPgbGQ== Date: Mon, 18 Dec 2023 17:47:30 +0000 To: Martin Rodriguez Reboredo , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?utf-8?Q?Bj=C3=B6rn_Roy_Baron?= , Andreas Hindborg , Alice Ryhl , Tejun Heo From: Benno Lossin Cc: Wedson Almeida Filho , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] rust: workqueue: add `#[pin_data]` to `Work` Message-ID: In-Reply-To: <05fa58f3-f351-4119-9c07-1f5bb04503d2@gmail.com> References: <20231213220447.3613500-1-benno.lossin@proton.me> <20231213220447.3613500-3-benno.lossin@proton.me> <05fa58f3-f351-4119-9c07-1f5bb04503d2@gmail.com> Feedback-ID: 71780778:user:proton Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/14/23 04:13, Martin Rodriguez Reboredo wrote: > On 12/13/23 19:09, Benno Lossin wrote: >> The previous two patches made it possible to add `#[pin_data]` on >> structs with default generic parameter values. >> This patch makes `Work` use `#[pin_data]` and removes an invocation of >> `pin_init_from_closure`. This function is intended as a low level manual >> escape hatch, so it is better to rely on the safe `pin_init!` macro. >> >> Signed-off-by: Benno Lossin >> --- >> [...] Did you mean to add your reviewed by? Because I received only the quote. --=20 Cheers, Benno