Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2883987rwd; Mon, 29 May 2023 02:17:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6JN06duqIIUqtCihFvNHWReWvQqhE9rq3zqq3CSc8lkfCLh4sQgfpedEMY0LfdgJdtAJb8 X-Received: by 2002:a17:90b:1c12:b0:255:dc71:737d with SMTP id oc18-20020a17090b1c1200b00255dc71737dmr10189904pjb.43.1685351865550; Mon, 29 May 2023 02:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685351865; cv=none; d=google.com; s=arc-20160816; b=Od3z07q82wvgafhq8x9xvS82v06kDtDskSPrYWYVogEeUo77lCnYe0GQDK7h6LY2ab AlCbGkKw4GAzxhFO2YXXxvxNPm533nMIrWzkCSqXPEmN/i8uO52LBKqxTBDyWeZLGWtq QwhkHvi6FYJTlPpXQtSqJAVqeYCittwxdkgCxYA96uNPL2pZ7l0+o5R6i3ek47uykn7G ZV+yy+hTSY7woxBkBS84SiujzAvy4lj3ZaJFyGgMAJOjsbNS7GpYyEUdfgbBvOvbDDZO CY1IT/2fHrgwS8ibBqs6xHMGDtY8kHC+uOw6sus1nzsfNEkbkL/292b3QDRLf2vgGtaF 4dJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=067b7Mw9xAB5xeFM89mqjalcyQKxOFzYzF0Ba4W8yKA=; b=X7vOlw4ZwU5CLyPc8jMgpQ3GubCPQqgs/8feUo27JtTuZj1s50xS616XoYBm/H8jPN nuR0lxaqBqDxWLnoMZPJDPJd8KQ8Rn5kvM8QBQU9DMXwVeMfYfPxu+rGiu2cq0vPfAMR Xm9+ueo0lE+E6oR2nWg1BOGRdfT+zeGzueOLYy3GsvnoXu6fQnSaNJ4Dv2jCqIjGeSfq 3jxEy8mshlcL7qVxJK5cl81JbPlhcZFWVJ2i7UQuW8upWYhood2lQmO5T76J8JIQZxud PLXdeOh48NwwOIgEd9MXmkpD1ttf2mEzuZwsd8KzWILlP52Dw8GZSUydC+kbzMBWNubG LQ9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R5FDQfcm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l65-20020a639144000000b005348f85f89fsi9342486pge.226.2023.05.29.02.17.33; Mon, 29 May 2023 02:17:45 -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=@kernel.org header.s=k20201202 header.b=R5FDQfcm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231560AbjE2I6O (ORCPT + 99 others); Mon, 29 May 2023 04:58:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229626AbjE2I6N (ORCPT ); Mon, 29 May 2023 04:58:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3FA591; Mon, 29 May 2023 01:58:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 364D16137C; Mon, 29 May 2023 08:58:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A396C433EF; Mon, 29 May 2023 08:58:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685350690; bh=t2lj466261TGVeHMuyfw6d01BSLRoZETH0n0ShM8crM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R5FDQfcm8SUNyzpKDat8ojVSi4y8fmhImkdGup3zXnGIsJRsK3eJUlNeQZESjT9Gx S2dvoJ/khyHlknve2mX2V1Pd+pMy1J60DyeL4+/TV+s8kQQcAQmKeKNiqrSN7gDQaS hgO++m+zR2PlpJB45PJF+VWuRIIB2b+rn/ywHnY/ihuutRVOVGCkGtqkRP+ipK1xfF u0TczxO2dm1/bUG6dvdW9R8FcabA/r+zU2FNkhfM/6Q+JY4d8Jh7nG3BkTu628dAwS TP0hw3M2sEqF9b1WVPkJTr4rsf4MFs944By1iyFDCuUPB8MBgBE34BDs8sGeoWwIcT wQkhvy2HfChBg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1q3Yhb-0004Ym-74; Mon, 29 May 2023 10:58:07 +0200 Date: Mon, 29 May 2023 10:58:07 +0200 From: Johan Hovold To: Linus Torvalds Cc: Luis Chamberlain , 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 Subject: Re: [PATCH 2/2] module: add support to avoid duplicates early on load Message-ID: References: <20230524213620.3509138-1-mcgrof@kernel.org> <20230524213620.3509138-3-mcgrof@kernel.org> <8fc5b26b-d2f6-0c8f-34a1-af085dbef155@suse.com> <6gwjomw6sxxmlglxfoilelswv4hgygqelomevb4k4wrlrk3gtm@wrakbmwztgeu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 06:39:52PM -0700, Linus Torvalds wrote: > 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.. This change breaks module loading during boot on the Lenovo Thinkpad X13s (aarch64). Specifically it results in indefinite probe deferral of the display and USB (ethernet) which makes it a pain to debug. Typing in the dark to acquire some logs reveals that other modules are missing as well. Fortunately commit 9828ed3f695a ("module: error out early on concurrent load of the same module file") stood out when skimming the changes that went into -rc4, and reverting it make all the expected modules be loaded again. I have not tried to figure out exactly why things break, but it does seem like this one should be reverted. Johan