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.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 A1A78C4CECE for ; Mon, 14 Oct 2019 19:16:21 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4104E2133F for ; Mon, 14 Oct 2019 19:16:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="vp9iyD2q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4104E2133F 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=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E5F8D8E0005; Mon, 14 Oct 2019 15:16:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E0FAB8E0001; Mon, 14 Oct 2019 15:16:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CFE658E0005; Mon, 14 Oct 2019 15:16:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0037.hostedemail.com [216.40.44.37]) by kanga.kvack.org (Postfix) with ESMTP id A98708E0001 for ; Mon, 14 Oct 2019 15:16:20 -0400 (EDT) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id 41EAF180BDF39 for ; Mon, 14 Oct 2019 19:16:20 +0000 (UTC) X-FDA: 76043346120.18.cake86_545fd7f244317 X-HE-Tag: cake86_545fd7f244317 X-Filterd-Recvd-Size: 4452 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf36.hostedemail.com (Postfix) with ESMTP for ; Mon, 14 Oct 2019 19:16:19 +0000 (UTC) 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 Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, x86@kernel.org, Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Yoshinori Sato , Rich Felker , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Mark Rutland , Steve Capper , Mike Rapoport , Anshuman Khandual , Yu Zhao , Jun Yao , Robin Murphy , Michal Hocko , Oscar Salvador , "Matthew Wilcox (Oracle)" , Christophe Leroy , "Aneesh Kumar K.V" , Pavel Tatashin , Gerald Schaefer , Halil Pasic , Tom Lendacky , Greg Kroah-Hartman , Masahiro Yamada , Dan Williams , Wei Yang , Qian Cai , Jason Gunthorpe , Logan Gunthorpe , Ira Weiny 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-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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+]