From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C225E7F124 for ; Tue, 26 Sep 2023 20:50:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235922AbjIZUuM (ORCPT ); Tue, 26 Sep 2023 16:50:12 -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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.