Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2319976rdh; Tue, 26 Sep 2023 21:37:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEgca//CFGDVyafEbF0HdYUp++YqtRP/iP6m3Rl+bgH+AozxBAQbTxP9mPbI6JhZn3Z+foa X-Received: by 2002:a05:6808:14c4:b0:3ae:17af:738f with SMTP id f4-20020a05680814c400b003ae17af738fmr1527494oiw.45.1695789463759; Tue, 26 Sep 2023 21:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695789463; cv=none; d=google.com; s=arc-20160816; b=oDnBA1iwcUX4p1LtKOoiGS9C0q2hHLFEFgnKxS+xYPENTeB3a+YZ81c0WGHSRXnTuw NvO3CRPZ/kQk0FmNtNaL1N+jWxkmW1PtuT1/hVF6IFUSKtf5ocOfCVSu9V2jpAzuTFcY rpI6vq8W0pPYF6i0F3oSFZ1o8nkxYZqfVWBpjsRTbTL8mcam/QiHBccCi0ln0LDmp4uu z6Cjn4QsXWAWRWEP01d2ayuHwzibxfHZ9vIWYXOy58JqVEYZzkITi0EaGtU9CbdRunsd pmx7N1oIUCQI+KGm/iG6iwUAzwSLY50E43akmPZzzTloZDB+5H87f3bgJ+Ly5CAFZ4KA /ADA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=lBs5LRwrHcG6UlBpOtBu5vUxwZ7X+cjGoHSMfzQY0xg=; fh=x6E9u+uTPxZwe4YWinIuZny+WQ9alqwaW58/vABTK1w=; b=LVa1btEfQaBKJqyFoH6SmAK1YKWo4jnK2blWxiGb8IxvI7vfx1JubjOYecbFsjR3ZZ xLQQQ/LfkCqf8iVQiO9hQaZICkcSqdhfd6H/N7WMZxh3fjRgWN/vE4i1UsitI7AZ1S4e qj1ubivByeEk2AXJ3k5cS8Qd8T3Dqxye1Setl/1F06SCaFjLSNrjj52Q86YmsUb3qMtG XxqG2FiOvgEwSGjkRv5mvSHdB6ZyFE8RXmN+qSnB0F1gm1Eoj7T/wThCI4eQVzCp8Y0i Cw4WDIvDBJVurqcHNixWBz67qWaQn8mBxSgcwPPgbIWmT6CpxDn7eTqLri8QqyQb4lUx j4XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=RWRsX3qi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ck7-20020a056a00328700b0068fb8fa1e71si8043089pfb.207.2023.09.26.21.37.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 21:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=RWRsX3qi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 33A48802C7D6; Tue, 26 Sep 2023 13:50:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235885AbjIZUuL (ORCPT + 99 others); Tue, 26 Sep 2023 16:50:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235855AbjIZUuJ (ORCPT ); Tue, 26 Sep 2023 16:50:09 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6243F9F for ; Tue, 26 Sep 2023 13:50:03 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B68ABC433C8; Tue, 26 Sep 2023 20:50:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1695761403; bh=3JVXHD4B9lMQRBYG5Ho/Z5uxFJWNJxBVMuf0sevF2J4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RWRsX3qiHSw6hR4nQ9wbTQVNU0jSRV+75d5aaO/jzTRu8c5lur3hZ2UzAZDoFIiNZ zpuFiT9MT9ftLv2uzzpMc+mc1DTI8o2AKeS5qBOS544wlV9tjy1af8BQzBAlzCTu8z /6fqkgwwz4jw0WHOV3Un5z31k/rNg/YUT4s/IYRA= Date: Tue, 26 Sep 2023 13:50:01 -0700 From: Andrew Morton To: Baoquan He Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, eric.devolder@oracle.com, vschneid@redhat.com, sourabhjain@linux.ibm.com Subject: Re: [PATCH v3] Crash: add lock to serialize crash hotplug handling Message-Id: <20230926135001.4eb6ca73b1a4aa6224355ad1@linux-foundation.org> In-Reply-To: <20230926120905.392903-1-bhe@redhat.com> References: <20230926120905.392903-1-bhe@redhat.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 26 Sep 2023 13:50:09 -0700 (PDT) On Tue, 26 Sep 2023 20:09:05 +0800 Baoquan He wrote: > Eric reported that handling corresponding crash hotplug event can be > failed easily when many memory hotplug event are notified in a short > period. They failed because failing to take __kexec_lock. I'm assuming that this failure is sufficiently likely so as to justify a -stable backport of the fix. Please let me know if this is incorrect.