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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BD65C433E1 for ; Thu, 20 Aug 2020 08:01:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 577B920855 for ; Thu, 20 Aug 2020 08:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597910519; bh=AXRSCclaOFZ2qfG5TN0/by/Vee9wPQljElWaf2OkM7k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=qq9jXfeHk7v8r4J8iBAE0XGBbiRtA05FDFHm/FmXbgBlF4EHK8+39ZY0qF+C7xMzb fSviZcCRaZ+b79aWfAqu2At8mbMRaRHlXVZJs3S+e0ir6XgIlM3nNo8sZHLelKlF74 GlpKOjCvIy4PAPJkxoDymDPsME0dzh0zdmSvQEgo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725797AbgHTIB6 (ORCPT ); Thu, 20 Aug 2020 04:01:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:41770 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbgHTIB5 (ORCPT ); Thu, 20 Aug 2020 04:01:57 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6A96E2080C; Thu, 20 Aug 2020 08:01:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597910516; bh=AXRSCclaOFZ2qfG5TN0/by/Vee9wPQljElWaf2OkM7k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OBr7tUvTujDv7eJ9oMYwA3T0VjLw8dChba+scj/M3p3f6KeW0H/QnvBdOuK5mZrfH sSTz7Wy8GlyoxDIH+vJzSCKu612dqRNjgecyva5pmL6mjKC7D8r//NRW9qLS9uPvQF /E7JITgZk5ofm3bUd/CiT8Su3ZMTDejKSr1R8c8w= Date: Thu, 20 Aug 2020 10:02:18 +0200 From: "gregkh@linuxfoundation.org" To: Justin He Cc: "Jonathan.Cameron@Huawei.com" , Kaly Xin , "akpm@linux-foundation.org" , "bhe@redhat.com" , "bp@alien8.de" , Catalin Marinas , "dalias@libc.org" , "dan.j.williams@intel.com" , "dave.hansen@linux.intel.com" , "dave.jiang@intel.com" , "david@redhat.com" , "fenghua.yu@intel.com" , "hpa@zytor.com" , "hslester96@gmail.com" , "logang@deltatee.com" , "luto@kernel.org" , "masahiroy@kernel.org" , "mhocko@suse.com" , "mingo@redhat.com" , "peterz@infradead.org" , "rppt@linux.ibm.com" , "stable@vger.kernel.org" , "tglx@linutronix.de" , "tony.luck@intel.com" , "torvalds@linux-foundation.org" , "vishal.l.verma@intel.com" , "will@kernel.org" , "ysato@users.sourceforge.jp" Subject: Re: FAILED: patch "[PATCH] mm/memory_hotplug: fix unpaired mem_hotplug_begin/done" failed to apply to 4.19-stable tree Message-ID: <20200820080218.GA4049659@kroah.com> References: <1597840117224138@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, Aug 20, 2020 at 02:27:40AM +0000, Justin He wrote: > Hi Greg, > If anybody wants to backport it to stable tree, there are 2 pre-condition for > this commit ("[PATCH] mm/memory_hotplug: fix unpaired mem_hotplug_begin/done") > > 1. eca499ab3 ("mm/hotplug: make remove_memory() interface usable") applied > in v5.2, it disabled the BUG() when check_memblock_offlined_cb() failed. > 2. f1037ec0c ("mm/memory_hotplug: fix remove_memory() lockdep splat") > in v5.5, it introduced the unpair but depends on eca499ab3 > > I checked https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/mm/memory_hotplug.c?h=linux-4.19.y#n1913. > Looks like stable tree v4.19 hasn't applied eca499ab3 but applied f1037ec0c. > Hence I don't think v4.19 needs this patch. Thanks, I'll just leave this out of 4.19.y for now then. greg k-h