Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6218711rwb; Tue, 22 Nov 2022 10:14:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf4zd1kToeOoq+IvcLHjJN0SvB6cQM5n0zldQsg+AtxiK6jDoKeCRpvjxRGRrgmwM3gMhjvc X-Received: by 2002:a17:902:e40a:b0:189:7cf:91ce with SMTP id m10-20020a170902e40a00b0018907cf91cemr18125216ple.155.1669140858404; Tue, 22 Nov 2022 10:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669140858; cv=none; d=google.com; s=arc-20160816; b=R8s7ZLskJluXpnTapkKkB3x3+rC23zlZ9DF5y+wu/fyw8bz/hrWd1WDPohoc+ZieKN 8pRhUZ1g4nfSIOJvco0ocG3xD1yBE41Hn4Qwcv7+MV9WMBCHYrBpazLVlsrQFdsSy6Do EJbdyNzlr68hnKDXMmHuaEsbKUoxNDs91GCIEP1Ca3Z31JufwciYo96jH/DnYaSu7Phn bvTCt3jksxD5Fn/g5X9WGTCkyt0y5UaMGTMsCmJ2zdSk7//SRSH5c8qLD1AwwRGI9Sgr xRr+Uin/lUtC8D1FxKycVbnm4f4F+lOrj56WRqTsj8/jIHoGYr/XHBGpOIVCTi2b2UjS 9qTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ZNAd/L3ZgbNcQldFxZ5AePOKH80viQBr86CXLFlx6Ts=; b=Jugj8v+7mevlZED/4Zm589FG/yz2K9S5IJeQW1Kv5zyR/cbyJoOv6ts2XpKQVB9zr+ 9bm9E7KFMKRBN+e7FRg11TF+bEFHH0RZbBHIf2evv/Ufj8b5OoAaVwY6hb5Sag1C1q6v S0Pn4U2HMI+NnCCqMnWdL10+zVhNMB9dgkJvOMnZtXGAlb8znq5mGIDvqXdzXq9IQgMR cJyVZ4U6uT2gRHEWZY6FcJ9sIBTjkDZwmjY7FKSfonpyk+Gwn1NSucbyX7ANo4y+SDgO FCtNmQjkzvXW05jnEW7SrFz9bGCETsTw5CTHT/8L9C6e39UyCim9oXSADcj4SmcDPlrK gcCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=TetgmfMn; 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 cn15-20020a056a00340f00b00572f208f7basi13378419pfb.149.2022.11.22.10.14.06; Tue, 22 Nov 2022 10:14:18 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=TetgmfMn; 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 S232588AbiKVR7A (ORCPT + 90 others); Tue, 22 Nov 2022 12:59:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232455AbiKVR6q (ORCPT ); Tue, 22 Nov 2022 12:58:46 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBC28D2FA; Tue, 22 Nov 2022 09:58:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ZNAd/L3ZgbNcQldFxZ5AePOKH80viQBr86CXLFlx6Ts=; b=TetgmfMnLO+t/MSK8WjlM7+buV x/rspsf3QkTVdnAMmVqRS4qlbyvCq8wfvLFPEdIlNJkQZmuSP5oBZ080ZsMFnMjju7rypbiLPZyMH I85xIRN3zmD/jn7psUWSCvUubMy13OsjB+bOg9LIGlOLLs5ziLdC4+cyvTUaCa79oqLt3liRzU251 uY8GGWyafwiOmp8uZrO9c+jcewcyEAIxL9qfRbZ/BKN3CMAh3KofPMcG0G2WX6HEGjOj+DMXcLkdM 2STYJvtebyvaKjHS1SRsJYzC7WTsuQi6lskyOqAwthiQKCpf7Jpe/8wwI1FuV1KgVviZ1W5xSITKm C0TgWq/A==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxXXf-00BC0Q-7s; Tue, 22 Nov 2022 17:58:43 +0000 Date: Tue, 22 Nov 2022 09:58:43 -0800 From: Luis Chamberlain To: Petr Pavlu Cc: Prarit Bhargava , pmladek@suse.com, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, David Hildenbrand Subject: Re: [PATCH v2 2/2] module: Merge same-name module load requests Message-ID: References: <5467e66d-55de-ca8f-c1ae-ffe6efe7290d@redhat.com> <049a8f8a-baf8-744d-6250-575fc0dc533e@suse.com> <3f50021f-2dbf-4e5e-d85f-bf41a02b6b6a@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f50021f-2dbf-4e5e-d85f-bf41a02b6b6a@suse.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 Tue, Nov 22, 2022 at 02:59:18PM +0100, Petr Pavlu wrote: > On 11/21/22 20:03, Luis Chamberlain wrote: > > To be clear I don't care about the patch mentioned in the above URL, I care > > about this: > > > > https://lkml.kernel.org/r/d0bc50e3-0e42-311b-20ed-7538bb918c5b@suse.com > > [...] > > > > Petr, you had mentioned in the commit log for your second patch in this > > thread that your change fixes a regression. What I asked for was for a > > patch that fixes that regression alone first so we can send to stable. > > So what issue is that alternative patch fixing? > > This alternative patch fixes the discussed regression with failing inserts of > acpi_cpufreq and pcc_cpufreq delaying boot. As mentioned, the situation can in > the worst case prevent udev from loading drivers for other devices and might > cause timeouts of services waiting on them and subsequently a failed boot. > > The patch attempts a different solution for the problem that 6e6de3dee51a was > trying to solve. Rather than waiting for the unloading to complete, it returns > a different error code (-EBUSY) for modules in the GOING state. This should > avoid the error situation that was described in 6e6de3dee51a (user space > attempting to load a dependent module because the -EEXIST error code would > suggest to user space that the first module had been loaded successfully), > while avoiding the delay issue too. Great, can you send a proper patch now with a proper commit log and Cc stable tag? Luis