Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1896335rdh; Sat, 25 Nov 2023 06:36:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgW+E9KPita5E2lmNNY9q5RBOmr6vKlwTbMoD57k2bI9RfrOCJ7d2MY9Dus8QjbfkiDUWA X-Received: by 2002:a05:6a20:c189:b0:189:7c2:508d with SMTP id bg9-20020a056a20c18900b0018907c2508dmr7087340pzb.12.1700922967482; Sat, 25 Nov 2023 06:36:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700922967; cv=none; d=google.com; s=arc-20160816; b=hRsEOTsNQp5VbUIV0j7FFFqP+4nml/msQLJ1c/1RQuKPjLx2gDV7LNR4O6uN3Nig/2 Kz2gr/IQ8Bpfq+yiNPNQAMpDvUTysRMtUomGTwndwQqeZ7KfjBfJgL8RCj1K8NIw0x6D 6m2VxLMu2Qe62u+0tgW7Q8rl9Dj02neQY24DHdozc9SeY0bT5+n5moiuoSB/xdBEJZw7 a0XiO4Vhubi44lK6BMNvmuk0BkWqqaLdshCdh1Yw3A//hYibWW7mrCenRJ8/N0jTux1S uDTqmfBh9NHji/khTaI61xDoi3pBwpPeag6p1cVtXd36atbq4UKD/ylK1q8RB1bSpfVF WZZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:feedback-id:dkim-signature :dkim-signature; bh=iOggTtekDCWGSAb7bSTK/5qkZpNiv+DKy/sYuWyx46o=; fh=EDUG3TwVat0gcDEeKMRUegI+9sWOCLCqjw2ursQSlkk=; b=rWV30ru/E7xZK5ExPEVu88tWcHZjlOlwerCcyNUIic3GVIXqKcjg1dBcp6MlhCZS+9 q6pxSYvM9FTMJO7pQTiSsXSkLIMpZmPlcO8H0eJlXfy3AhQdANo43veza60ZwPFHTKAg /iftsH6fFnL0ks75jUBItewoPpvMuoGfWjnHbnmd/K+01EEM9t0WN3Qr2oqlokpsJ5VP 4BlLkD3tKgOLwO01hbgIvd6h/GHiUe0OuiH9f5z/pGcIKpFPanI5zSPx1lXjybY12Sp9 fCXsmNFk53t8j1RKcl5c0FHNph3v4cHUAdF5mnL7XaOiAnRE33RVnfTNOptLOZv+vYpK d3Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ryhl.io header.s=fm1 header.b=mzqhvznK; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=i2UDmOcT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ryhl.io Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id u8-20020a056a00158800b006cc09999f53si831935pfk.384.2023.11.25.06.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 06:36:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@ryhl.io header.s=fm1 header.b=mzqhvznK; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=i2UDmOcT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ryhl.io Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 513A8803EB95; Sat, 25 Nov 2023 06:36:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232172AbjKYOd1 (ORCPT + 99 others); Sat, 25 Nov 2023 09:33:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232177AbjKYOd0 (ORCPT ); Sat, 25 Nov 2023 09:33:26 -0500 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82A7CD3; Sat, 25 Nov 2023 06:33:31 -0800 (PST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id A56AD3200A40; Sat, 25 Nov 2023 09:33:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Sat, 25 Nov 2023 09:33:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ryhl.io; h=cc:cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1700922806; x=1701009206; bh=iOggTtekDCWGSAb7bSTK/5qkZpNiv+DKy/s YuWyx46o=; b=mzqhvznKYXd5bum2c65n/a672Xvwilsv3M/aJuzhBmVrfaF/Tmu 6ohqSDXHYyCxn2ss4Pf5CJVF4Fy2KSTt+2szMi/geddBrgeK33c5GNvWEhW1hM7s EYBZTKHmos1/uN6DwE4r2SSZCiGJnumesSo7+bWK/R0Cr526Q2ffkKegA4Wmxzup 99p92cabQvRXaGcM8JkKnbC6ohju3hlFQp7XnPLWjuPAUkYzmkApwHr5Zk46gz/O QhLfoTc0pZKq2mDCrUicyl0GUNaLMlLMsCxLq4xsegLy8PeeGkAalvfMAQCiq37t g51imw7HX7MGlzzh6P/eTtQSzPHM4O42/Dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1700922806; x=1701009206; bh=iOggTtekDCWGSAb7bSTK/5qkZpNiv+DKy/s YuWyx46o=; b=i2UDmOcTWz+3bM5ShbqzFue6CAc6sLLkJJmU7jiJzTwBwxzfd2S U8fN3H6/Wr3xlpUlrjcfDWA9g2fTQoXEbaY14qlwCpnZGhfpU1lX4fbjADjT1qy7 Lm+JShPrEEaBXK9zAbbXIBikO5SAraMo95p+so+FxTBH56z8GvNdQZfGF7l01m08 11EK9GQmKdxtcYep+r70zSaTYm/mXqgwM3vkhHHDHEpWRP2gnIoSMOKIzPqLmhNC 0DNIx6CfNv95smW4r2Cd0i+PkvAt5TzG+UpHbySdstVin+qpNH+zgVHPR1IpBal+ 9HzpRzhOx+x1TCKwjdIdoeGrQR//frvTgVQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudehjedgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfhffuvfevfhgjtgfgsehtjeertddtvdejnecuhfhrohhmpeetlhhi tggvucfthihhlhcuoegrlhhitggvsehrhihhlhdrihhoqeenucggtffrrghtthgvrhhnpe dvffetgeejveehueelueeileffgeelkeeikeeuffevveduffdtgfffveeiudefheenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhitggvse hrhihhlhdrihho X-ME-Proxy: Feedback-ID: i56684263:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 25 Nov 2023 09:33:22 -0500 (EST) Message-ID: <45e5de7e-d787-4200-82dc-389cbdad9ee8@ryhl.io> Date: Sat, 25 Nov 2023 15:35:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Alice Ryhl Subject: Re: [PATCH 3/3] rust: workqueue: add `#[pin_data]` to `Work` To: Benno Lossin Cc: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Andreas Hindborg , Alice Ryhl , Martin Rodriguez Reboredo , Tejun Heo References: <20231125125024.1235933-3-benno.lossin@proton.me> Content-Language: en-US, da In-Reply-To: <20231125125024.1235933-3-benno.lossin@proton.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 25 Nov 2023 06:36:05 -0800 (PST) On 11/25/23 13:51, Benno Lossin wrote: > + pin_init!(Self { > + work: Opaque::ffi_init(|slot| { Surely there should be an <- here instead of the : character? Alice