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=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 50F9FECE58C for ; Mon, 14 Oct 2019 19:18:21 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0160721721 for ; Mon, 14 Oct 2019 19:18:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="vp9iyD2q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0160721721 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 46sSyL47s0zDqw8 for ; Tue, 15 Oct 2019 06:18:18 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux-foundation.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=akpm@linux-foundation.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="vp9iyD2q"; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46sSw5478YzDqTP for ; Tue, 15 Oct 2019 06:16:21 +1100 (AEDT) Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) (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 C96F320663; Mon, 14 Oct 2019 19:16:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571080578; bh=xAhTwx3cc7EYSDe7w82pOCAqNtuJH1ZXf29Uvq/kgu0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vp9iyD2qWVjvKft483nbT1rKVVTbaUXvYLM6HXOYNXDn2Mc5hCFIETVZE68PPV20R G2HeGZMmIffWLxnrhr8EWhpDDJSCErtPlbGPMh1L5M4ZiqDVgcHF5rx+/IxNuOJyfn hhhsqxR1Lk+B5WwQdSiPAoR8wfIIQh34ILfBpDNs= Date: Mon, 14 Oct 2019 12:16:16 -0700 From: Andrew Morton To: David Hildenbrand Subject: Re: [PATCH v6 05/10] mm/memory_hotplug: Shrink zones when offlining memory Message-Id: <20191014121616.eeb6a405ed18be3502686c41@linux-foundation.org> In-Reply-To: References: <20191006085646.5768-1-david@redhat.com> <20191006085646.5768-6-david@redhat.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Rich Felker , linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Peter Zijlstra , Catalin Marinas , Dave Hansen , Heiko Carstens , Wei Yang , linux-mm@kvack.org, Michal Hocko , Paul Mackerras , "H. Peter Anvin" , Will Deacon , Dan Williams , linux-s390@vger.kernel.org, Yu Zhao , Yoshinori Sato , Halil Pasic , Jason Gunthorpe , x86@kernel.org, "Matthew Wilcox \(Oracle\)" , Mike Rapoport , Jun Yao , Christian Borntraeger , Ingo Molnar , Gerald Schaefer , Ira Weiny , Fenghua Yu , Pavel Tatashin , Vasily Gorbik , Anshuman Khandual , Masahiro Yamada , Greg Kroah-Hartman , Borislav Petkov , Andy Lutomirski , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Oscar Salvador , Tony Luck , Steve Capper , Robin Murphy , linux-kernel@vger.kernel.org, Logan Gunthorpe , "Aneesh Kumar K.V" , Qian Cai , Tom Lendacky , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Mon, 14 Oct 2019 11:39:13 +0200 David Hildenbrand wrote: > > Fixes: d0dc12e86b31 ("mm/memory_hotplug: optimize memory hotplug") > > @Andrew, can you convert that to > > Fixes: f1dd2cd13c4b ("mm, memory_hotplug: do not associate hotadded memory to zones until online") # visible after d0dc12e86b319 Done. > While adding cc'ing stable@vger.kernel.org # v4.13+ would be nice, > I doubt it will be easily possible to backport, as we are missing > some prereq patches (e.g., from Oscar like 2c2a5af6fed2 ("mm, > memory_hotplug: add nid parameter to arch_remove_memory")). But, it could > be done with some work. > > I think "Cc: stable@vger.kernel.org # v5.0+" could be done more > easily. Maybe it's okay to not cc:stable this one. We usually > online all memory (except s390x), however, s390x does not remove that > memory ever. Devmem with driver reserved memory would be, however, > worth backporting this. I added Cc: [5.0+]