Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp126863rwd; Wed, 24 May 2023 15:19:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57IePgxvaF/8fuGjXh4qKlZgu70WDJS+VDT+QgshJPrbAZPCwuLqNR7du3USNxpfzcLTSD X-Received: by 2002:a05:6a20:1591:b0:105:5086:fd42 with SMTP id h17-20020a056a20159100b001055086fd42mr22745443pzj.45.1684966779224; Wed, 24 May 2023 15:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684966779; cv=none; d=google.com; s=arc-20160816; b=a9EL4L2o+dRjK8HFPqxxcy9eMm+Cv/0b9fCRP1u0qPtczTMDtH93FfKh0qdbN4gb7M ww10YcuA7xCwLFsNyMp4Kzfy4r6tUhjgLIZVooOr7RbJ3mnZ8PJio6XLJqlE0TWd4ivU k4h1NNYCdjkg1iba2kqoVGQs0BirCQQtjLX1WTO9gxYNMe2PPirbF9tfDw8CWK7fYiXP Z9f9ulf8RAdaUdKjBhQSx2tC6sBq2LOfHYCAQshzQNn7krenXqMg3Esy0uK5twLmH8Vs CCFk18plE5cMirym80+IL4ejT9FQWxwQ5xBhL+i5QgGkVviGbj6tgfvpRcpoCuTcmeMs GrqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=GmM3xzgdi9y49uPixr7wck0B/tHNIYgDgFJoqWzjkEA=; b=mdTuyWpYaPv5MsZWQU6GWCB7ZBh6wwlN2VGF4TP5mqZ5VjeBDAz2t4PnNGeQcwM3Cv hcG90+2ApC6lwUKxeTgUxXjXEh1DkLJXUySDGbj7fnt/a0+xh59qi4Qykq74EsKnf/2T CHYbfiXSvdWYD59IP4YYCF3xBxCsiO1rAuSeDw4FRud29NbaZFlsPSxdZjFPoQIyuE3r usROs3UIaUrB5PXfgS97bbU+wnbIkeAQWDoIclbt0mBj8UYXD2vkh7idFwXAuenHYH/y xNM0fbrYBnbMdlC0uiw8ZpVg971YblYhD+f1/b6eKdCWDMIvu5Z12y3IHya4+YGel3wo /p9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bVqxREpK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a14-20020aa795ae000000b0064d72c6eab6si1711796pfk.274.2023.05.24.15.19.20; Wed, 24 May 2023 15:19:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bVqxREpK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234549AbjEXVxM (ORCPT + 99 others); Wed, 24 May 2023 17:53:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229757AbjEXVxL (ORCPT ); Wed, 24 May 2023 17:53:11 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25588122 for ; Wed, 24 May 2023 14:53:10 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-96f850b32caso265436166b.3 for ; Wed, 24 May 2023 14:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1684965188; x=1687557188; 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=GmM3xzgdi9y49uPixr7wck0B/tHNIYgDgFJoqWzjkEA=; b=bVqxREpK+03YND31Jh4cEDFPgL8FpJW9NnFeb5mMkzhklvbtJwbW1wbr9S5aL3GkJy Q6jN5x7OX/eP3Vgzcn4H7I7rJd6gqAcvyDKnnba9AaTQLQy8xlESHq9txuYPGC922HHS LaTgptjCKBFG1TmYlmHJcUMn2OfDQnw8+DJRs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684965188; x=1687557188; 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=GmM3xzgdi9y49uPixr7wck0B/tHNIYgDgFJoqWzjkEA=; b=JAtwrVc8pGi74+7iYbgBJlgMKUxFfYrzoZ8A65iSVCkZwPuBfOIKM4USB3ekY3IgMr yngoCjuoRL6N5R/+ADUJV1JXjTsEIL25GAD4VubrDH64gH4j9lv+t/bb0T+Xlk4Zov5R pPkbTcS+5VrEK5/tQYCkUn9yidDlmKM17F9Lbq16THEHa5ILPYnFU10WD79caaikVPcO RqLI3Uy7mOnarzibZAfjiLDdeypD2Ou2TCV12QbcBoettJRDyivWLCJi0ye3kqASi5O2 zhaGlU1pNyD3xPHnehiwU1DEBTrWDSdXV/N/NN/+FsFGFUvrxcM0fWlGrF90SuyuMvtk u5iQ== X-Gm-Message-State: AC+VfDwcGJgPhiNUAp+QndHeAncr4h5PqY0rSaVimQbBgCF4dIannz6i 23eLMestA4rV532+34HeE5eoVp2jVl1U5H+bnddVrQpU X-Received: by 2002:a17:907:9688:b0:96f:7af5:9e9e with SMTP id hd8-20020a170907968800b0096f7af59e9emr20518017ejc.53.1684965188468; Wed, 24 May 2023 14:53:08 -0700 (PDT) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com. [209.85.208.54]) by smtp.gmail.com with ESMTPSA id s12-20020a170906168c00b0096165b2703asm6240902ejd.110.2023.05.24.14.53.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 May 2023 14:53:07 -0700 (PDT) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-510d92184faso3064057a12.1 for ; Wed, 24 May 2023 14:53:07 -0700 (PDT) X-Received: by 2002:a17:907:8a12:b0:93e:fa12:aa1a with SMTP id sc18-20020a1709078a1200b0093efa12aa1amr19427794ejc.1.1684965187067; Wed, 24 May 2023 14:53:07 -0700 (PDT) MIME-Version: 1.0 References: <20230524213620.3509138-1-mcgrof@kernel.org> <20230524213620.3509138-2-mcgrof@kernel.org> In-Reply-To: <20230524213620.3509138-2-mcgrof@kernel.org> From: Linus Torvalds Date: Wed, 24 May 2023 14:52:50 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] fs/kernel_read_file: add support for duplicate detection To: Luis Chamberlain Cc: david@redhat.com, tglx@linutronix.de, hch@lst.de, patches@lists.linux.dev, linux-modules@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, pmladek@suse.com, petr.pavlu@suse.com, prarit@redhat.com, lennart@poettering.net, gregkh@linuxfoundation.org, rafael@kernel.org, song@kernel.org, lucas.de.marchi@gmail.com, lucas.demarchi@intel.com, christophe.leroy@csgroup.eu, peterz@infradead.org, rppt@kernel.org, dave@stgolabs.net, willy@infradead.org, vbabka@suse.cz, mhocko@suse.com, dave.hansen@linux.intel.com, colin.i.king@gmail.com, jim.cromie@gmail.com, catalin.marinas@arm.com, jbaron@akamai.com, rick.p.edgecombe@intel.com, yujie.liu@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 24, 2023 at 2:36=E2=80=AFPM Luis Chamberlain wrote: > > Add support for a new call which allows to detect duplicate requests > for each inode passed. No. This is all disgusting. Stop adding horrific code for some made-up load that isn't real. Linus