Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1786440rwd; Thu, 25 May 2023 18:51:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5yDJyPwaKbJmYTm49nUwE18BLvTvNhSy7of7wkxOlLNLtnt2AaP4gqbsenOds8yJZskNWY X-Received: by 2002:a17:90b:30f:b0:255:54ce:c3a9 with SMTP id ay15-20020a17090b030f00b0025554cec3a9mr625914pjb.24.1685065876094; Thu, 25 May 2023 18:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685065876; cv=none; d=google.com; s=arc-20160816; b=OC3C3iilTi3FqC5QyOOhdykZEzJRlrP1rGG8NotPYOYyosOf09UmHyIo/r6UV4nTuT in/tQZ3kc2o81PH8AlrLfaTrCK3JfAbUPGh6u3Lr56UHMlFqwiFar+tE9L6T4b1PSR6h ygHXnmPtikFZZNtG2Y8616GS0QwelfOUa+XZMreAdwIBv4fAUR8P6DDltdipq5FV8zpa pkWzZRNp/hWJcoUqfB1AnK0+wAnTd4Bi4BkQjwcepFKnGd8raUh2AT5J8xgH+ohlmx8A AVy1RrduK6q0SgzfVGFh6lCv+TJw18L+jdOG6zUCtkaiTlS6TiQ1iUiilMmTa9he4tDX M2XQ== 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=Mm58cdLmSJ5zDiAtA58RWN5FnFQJSGcvSIirliOWuIM=; b=fh3dCM22RHUMujdwV3J5z50h6UwyMZ/TinzOmvTAWBnT2EKutxyWVephcScCdqu3bx 3aMWI9+2JIBNxxDBApR4xZ0gQiQUoPJzb1Zy87f9HOtdzd3dPO4kqFIKmXRQtTLvRuRJ hWq4M+hxCeHJ1tXi1Sv/szs6PT4PFRGNPKpIQL3lBbLHKov00HkHYZy/rf7frQt6brQW 4zX8RVECIDIfym3p5Ajx9tab7rGfS7jZqKLw+fl40Z1sWRHh3Tc7c3ifNHjw/lUS/6Ma 6zyTnpFbUjwCNNp521V4LDa1kAu97SokJFa/HlgJic4SbTlcBI1cDx75nzspn7WLbV/M PtlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=hM86DWSS; 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-20020a17090a740e00b0024715c041c3si2968448pjg.137.2023.05.25.18.51.02; Thu, 25 May 2023 18:51:16 -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=hM86DWSS; 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 S233071AbjEZBkh (ORCPT + 99 others); Thu, 25 May 2023 21:40:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229827AbjEZBke (ORCPT ); Thu, 25 May 2023 21:40:34 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BDE819D for ; Thu, 25 May 2023 18:40:33 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4f3baf04f0cso148814e87.1 for ; Thu, 25 May 2023 18:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1685065231; x=1687657231; 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=Mm58cdLmSJ5zDiAtA58RWN5FnFQJSGcvSIirliOWuIM=; b=hM86DWSSrWcI/RPc3GLJogtgReoZ8OSKtimvjFZX6uP/eQHyPF3IZSAsICSYIhRTWD qdTZl7Xqgffk+q70bYMwZR57LTQZkmuUCZye4RbORzO9Qn2Qqb4nUkmybl3drVTiLZ08 zkMJdVIAC7jtYv2RvdaBnVv8BpqNV8EgYkFqk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685065231; x=1687657231; 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=Mm58cdLmSJ5zDiAtA58RWN5FnFQJSGcvSIirliOWuIM=; b=E9V7QD2otcQYWlAZyfEjl9ESWGf7N4wL9OP+1I32qFzfbEfRV000vua3g5aquTKMCN cBCuG+3yL3T2dq0V4O8IxN9pMk0+XfM0nFIm9NyfltkmvmRWX0smqiOFTCCsfovIz5C8 t3zITC/YNZD2sbUqahY2cvRuhfLl1lNcw10jRawJ8wogJ7AQYyG9ihk9KgDcURB8ZA5l 4eN4aSzQJ2k7Z/mbWxTYXhprhrpvR56kkeICBkSd2ltX0WJscSEhOqcEyJuMGY/EoZux iQToifLhCNh1RlC3pssYB5vGftxGCaHoy3/c9DAZTAac2XtMJkJ7CB/q/LuRzi2GZ/Xi CsRQ== X-Gm-Message-State: AC+VfDzI6dxeQPswJ4nRTs+ubMjMqOGzc+mcKwZYHYyXeSB+QnEOIFtI 7h/XpncZzPE6DQlJTvK59davoOEXDcNz/HWQ3uNVhrkZ X-Received: by 2002:ac2:54a7:0:b0:4f3:872d:10ff with SMTP id w7-20020ac254a7000000b004f3872d10ffmr7789lfk.64.1685065231600; Thu, 25 May 2023 18:40:31 -0700 (PDT) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com. [209.85.208.170]) by smtp.gmail.com with ESMTPSA id t20-20020ac243b4000000b004edc9da63bdsm404843lfl.160.2023.05.25.18.40.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 May 2023 18:40:31 -0700 (PDT) Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2af1822b710so2056421fa.1 for ; Thu, 25 May 2023 18:40:30 -0700 (PDT) X-Received: by 2002:a17:907:31c3:b0:96f:912d:7922 with SMTP id xf3-20020a17090731c300b0096f912d7922mr478321ejb.53.1685065209995; Thu, 25 May 2023 18:40:09 -0700 (PDT) MIME-Version: 1.0 References: <20230524213620.3509138-1-mcgrof@kernel.org> <20230524213620.3509138-3-mcgrof@kernel.org> <8fc5b26b-d2f6-0c8f-34a1-af085dbef155@suse.com> <6gwjomw6sxxmlglxfoilelswv4hgygqelomevb4k4wrlrk3gtm@wrakbmwztgeu> In-Reply-To: From: Linus Torvalds Date: Thu, 25 May 2023 18:39:52 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] module: add support to avoid duplicates early on load To: Luis Chamberlain Cc: Lucas De Marchi , Petr Pavlu , gregkh@linuxfoundation.org, rafael@kernel.org, song@kernel.org, lucas.de.marchi@gmail.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, 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, prarit@redhat.com, lennart@poettering.net 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, URIBL_BLOCKED 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 Thu, May 25, 2023 at 3:02=E2=80=AFPM Luis Chamberlain wrote: > > So yeah definitely a pretty good improvement. Sometimes the system boots > without any duplicates at all, for some reason Vs the previous attempt. > > Tested-by: Luis Chamberlain Ok, I decided to just move it from my experimental tree to my main tree. I think I used about three times the time and effort (and lines of text) on writing the commit message compared to what I did on the patch itself. I tried to lay out the background and the implications of the change - it may be pretty darn simple, but it does have some subtle issues. Anyway: I've committed it to my tree. This is not necessarily the best time to do that, but let's get this behind us, and in particular, let's get it out and into wider testing asap. If it causes any problems what-so-ever, I'll just revert it very aggressively (unless the problem is trivially and obviously fixable). It is, after all, not a fix for a _kernel_ bug per se, and whil eI think the patch is very benign, it does change user-visible behavior. Very intentionally so, but still.. Linus