Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2362610rdb; Mon, 12 Feb 2024 02:12:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVeBSXE44JgD+MEYvkVu9F/oOZvmaQQ+HtkmnsrUwZ99FsE/v/297gzzLRtopzTY6fcfmYvrCwKjhuRiNCAoNOJiTQR2cP6wVgwg1/LTw== X-Google-Smtp-Source: AGHT+IHiefileg/61UoOIjqdFmcuV5FAfkUCcdi0lpChHvGXebIYD5I7+2T4KYd9A7ru/3dPI3+a X-Received: by 2002:a17:903:41ce:b0:1da:2aa3:4018 with SMTP id u14-20020a17090341ce00b001da2aa34018mr3355671ple.47.1707732749050; Mon, 12 Feb 2024 02:12:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707732749; cv=pass; d=google.com; s=arc-20160816; b=OX12BD6UNHbSSokQlhmn9qXEtsAqhXW6+XpvsUosPPUgxR5iHbr4j3RIu9S2z9Stgm aL9Y9UC2faGs/VYseRUtLR/pJlaI/mCxpN6SeVhkTdj42kzkcFGeI3yL+4s3oPMXqqWn nDsjMhoRGic8zwdiPnAFArgXmq3GfLkzi/uGPT4YOyDjSikrFE2NKwuhcGLtDwgDBwJ0 M3ZR1Ez4woZ2d46poNK8Trb8cJx/7CqfoxMulWXH1+1u02T1HbecQ9BshZ65Ae85NCcp ageds4jgoqkyinAr3FxOpv3clgcHaaQN7WKAlyMROLlrIbvpNThgp6D+nwZ14iD9/8Df EPig== 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=ggduzU9L1RUTLLiPLM4EOtwsbNI4tWctUrmL552s1jo=; fh=1usOZEIkGbZLloHZJoOe2iSyLVbeZ1wsSSdbv7jHVUc=; b=dCQCYp4MvZzThWbShyfWotHG27lZotxRooYU2nwS0IYSzorD352KZUMR+xCr+4uvRH 76GFvj0sPR1mDy60VhMi3DUB+bwC9o+KnNDAsTDZ7ntTUuieSroSH0507X7hIb5rquA6 fdYDlm66SbiSvpn1eyRworRXR9JDuvLAiMtYtX1U+3YriT50a6xyC0hZOWAXrIrPgs4+ M7Z8DWvgICCfVIvV21zUS+arcBfaGd+g4UvNh+RV/BDYzbat1ZgX0RYbJKTPuf1s7E9g +yniius22fSHn/3/sirN0s8Dke8eADDVGc2mbMwRHViNjqSLxW6qrc432zcDLEn2A7Js 6rYA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=iC1o0ssq; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-61280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=2; AJvYcCUmi6m6ywcVD3HJE0ZqCG8A7i6WglJYmHibZqQ5Bv9IAS3hzvFC7dneutyluqSSLlrJp9hF84jc4g4RpNSpqFV8msiWbpSEk1Zc4nBKSw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id n4-20020a170903110400b001da0c3d0f8bsi38657plh.73.2024.02.12.02.12.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 02:12:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=iC1o0ssq; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-61280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B1D37B21921 for ; Mon, 12 Feb 2024 10:05:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AE3217C7C; Mon, 12 Feb 2024 10:05:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="iC1o0ssq" Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (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 069F017BCA for ; Mon, 12 Feb 2024 10:04:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707732300; cv=none; b=ZVsCdiWP8dtMyQBkgHDV5ELQVu5cdMp8WEsODT1PA3lFPjoyQZVjN4MrmwWZhqj9Z4mriHR/4l8qYhSpL2QrVts7ejqED/omNDW1Bgd9OLzo+6FTIzQkpqVSrLfVkNbVqqSjiD3njHrGkoidMM7JQGuZ5ypUS8OzfT8vG2jtM0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707732300; c=relaxed/simple; bh=ggduzU9L1RUTLLiPLM4EOtwsbNI4tWctUrmL552s1jo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=q4IFhUAgYO0ORUkWzQYRJsHTvXbjCinoFgMGFd3WiqRVLIBLak9hIXk17Ggx1R7jaRz3+8M+JY9ea/utN9nVdkByafMzYrUZqvqMHQ12d12h+onnYim8WPoKY1jmgdnyNoGpSSHqiKyP+kqh481WJATdkC2nmtbW93cbtc1wPVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=iC1o0ssq; arc=none smtp.client-ip=209.85.222.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ua1-f52.google.com with SMTP id a1e0cc1a2514c-7d2940ad0e1so1735962241.1 for ; Mon, 12 Feb 2024 02:04:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707732298; x=1708337098; 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=ggduzU9L1RUTLLiPLM4EOtwsbNI4tWctUrmL552s1jo=; b=iC1o0ssqIXRXXD8GfJHqXimLiw/iVWyakgdgApwtkSjSLJSZuDxmYqDVFaROpR6znS c9I+mwoUjARm+lO5dGG9ROKrZveRQXbxhPByIlnitJSC+nhrWs2lrhpwkpY7lqi2fqfb XDsODwFuZH+2GbaSbSmHiad95ciCHNekTm7rWhduAhcTxhPlK+zHLcDqGeCYgDFYgQjZ b321VahMNBNj65aiJxr5Hr6K/pi2SIV9bnFgqDjI9DoDe6faOrXczdkgeTo/3LxgwRNq NaFH5ASoeVqVYicvLcpB6zKfzJutUwT1Zd0UWXaWYGY3kky9ap6WNwUhWo705sBrzJQ1 QmeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707732298; x=1708337098; 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=ggduzU9L1RUTLLiPLM4EOtwsbNI4tWctUrmL552s1jo=; b=ltsT2URWLHmjxIPkUsT23gsWoijsVdobBJBB3D9tSQNNHD65/7PqppuzMt63H93kKo 6xTdK/xaU7PErc5m/UjFwXw0bI1v3F5TGXElto4C4A+1Tm5KFj54JOH6OUvMLx5EMKIe eOHazgfULpNBQEqAVtBFYnBxJcCXgsy7x4pYn8lJH2LN+7MHEpVTy/ogbt4MxqQpVqAS fEwKkAYhKt51iZXWVkQG0AU+4/RYV14KZ8StqHL3tY3OdkfzVRiGsaAfbKjdc7ND1oeK /gL1xIkDLE5u7CuZJy+uCpWP5mEnw6/iLi08LG8bIauOp/A1rFUJfddK23u/tbED2gv7 ckKA== X-Forwarded-Encrypted: i=1; AJvYcCVX8i/dsQ/hRowTnmLapZm26PQyn6S9AbR3NSeBu4QZd46RdWg3HARqBrlvi8RNosXDZhQsftPsXzXmRoMZL4nv3lAgLBl2eIkhmi+r X-Gm-Message-State: AOJu0YwSTJ2APuIC+meDgxnQlZXRpqjWf6f/G9tSUnLT9LW/y2LbRDvy bqdvTgMZmYmw+YUT1HL/PJOE7rOFsu0zTiqnfcUDbBvvLiwwOGMR86Qh6Z6EoOvQIMjpijysQoQ RHWRaTTFFnpmLxK8exzFKT9UFCpCt1UjefT6L X-Received: by 2002:a05:6102:2a59:b0:46d:61e8:46a with SMTP id gt25-20020a0561022a5900b0046d61e8046amr3708124vsb.28.1707732297773; Mon, 12 Feb 2024 02:04:57 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240209-alice-file-v5-0-a37886783025@google.com> <20240209-alice-file-v5-7-a37886783025@google.com> In-Reply-To: From: Alice Ryhl Date: Mon, 12 Feb 2024 11:04:47 +0100 Message-ID: Subject: Re: [PATCH v5 7/9] rust: file: add `Kuid` wrapper To: Trevor Gross Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Peter Zijlstra , Alexander Viro , Christian Brauner , Greg Kroah-Hartman , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Carlos Llamas , Suren Baghdasaryan , Dan Williams , Kees Cook , Matthew Wilcox , Thomas Gleixner , Daniel Xu , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-fsdevel@vger.kernel.org, Martin Rodriguez Reboredo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Feb 10, 2024 at 8:43=E2=80=AFAM Trevor Gross wr= ote: > > On Fri, Feb 9, 2024 at 5:22=E2=80=AFAM Alice Ryhl = wrote: > > > > Of course, once a wrapper for rcu_read_lock is available, it is > > preferable to use that over either of the two above approaches. > > Is this worth a FIXME? Shrug. I think a patch to introduce rcu_read_lock would go through the helpers as a matter of course either way. But it also doesn't hurt. Alice