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=-11.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 5BA49C433E2 for ; Tue, 15 Sep 2020 07:04:32 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 95D9420897 for ; Tue, 15 Sep 2020 07:04:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="gZkpYRoK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 95D9420897 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id C05E1900019; Tue, 15 Sep 2020 03:04:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B8F9D8E0006; Tue, 15 Sep 2020 03:04:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A2CB1900019; Tue, 15 Sep 2020 03:04:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0166.hostedemail.com [216.40.44.166]) by kanga.kvack.org (Postfix) with ESMTP id 87E1C8E0006 for ; Tue, 15 Sep 2020 03:04:30 -0400 (EDT) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 4F3823630 for ; Tue, 15 Sep 2020 07:04:30 +0000 (UTC) X-FDA: 77264407500.18.tent77_59109802710f Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin18.hostedemail.com (Postfix) with ESMTP id 22B91100EC66C for ; Tue, 15 Sep 2020 07:04:30 +0000 (UTC) X-HE-Tag: tent77_59109802710f X-Filterd-Recvd-Size: 5862 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf27.hostedemail.com (Postfix) with ESMTP for ; Tue, 15 Sep 2020 07:04:29 +0000 (UTC) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08F739vl026205; Tue, 15 Sep 2020 03:04:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=za4Qe3x+/BmxDnJ/NLg1lNOhQIrTXfpSemO5MbDshxA=; b=gZkpYRoKjGLTRvWzQJamZDQV3JjFfb9twFpF7iImEcrlQnnhKbhIyrRsQTthYCmT8xaq fLlsIOesCVDDoymhL/whQ4vwx+D2ZeoUfx8ZxNBAdHPRAhq8WSkb6TdYwizRk55UCkXa xKq+oQBAweaIz2UjPNAsW/6fDPQNePEmIQYFGiLNLYy0e69pjx57B1RoyQyQNhBX23UK +VAtoUrM39UMf0faERIGsg8rI6T69ti+d9m39cMY4c/kJYFfaQpTsGn3zdpUhOgCG8ZI FbYFptwRYV7Df8FcAOE0cOovtmhThmb+mEq8st/MZXfwMActXrc7YOGhRrnf6Z0iDKfN kg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 33jret0pqh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Sep 2020 03:04:24 -0400 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 08F73Ou6027269; Tue, 15 Sep 2020 03:04:23 -0400 Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 33jret0pk8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Sep 2020 03:04:23 -0400 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 08F71KTq029709; Tue, 15 Sep 2020 07:04:14 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma04ams.nl.ibm.com with ESMTP id 33h2r9ar4f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Sep 2020 07:04:13 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 08F74BkS27197936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 15 Sep 2020 07:04:11 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 11D6F52050; Tue, 15 Sep 2020 07:04:11 +0000 (GMT) Received: from pomme.local (unknown [9.145.72.89]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9A9CC52052; Tue, 15 Sep 2020 07:04:10 +0000 (GMT) Subject: Re: [PATCH v2 1/3] mm: replace memmap_context by memplug_context To: David Hildenbrand , akpm@linux-foundation.org, Oscar Salvador , mhocko@kernel.org, Greg Kroah-Hartman Cc: linux-mm@kvack.org, "Rafael J . Wysocki" , nathanl@linux.ibm.com, cheloha@linux.ibm.com, Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20200914165042.96218-1-ldufour@linux.ibm.com> <20200914165042.96218-2-ldufour@linux.ibm.com> From: Laurent Dufour Message-ID: Date: Tue, 15 Sep 2020 09:04:10 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-09-15_04:2020-09-15,2020-09-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 mlxscore=0 adultscore=0 clxscore=1015 bulkscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009150063 X-Rspamd-Queue-Id: 22B91100EC66C X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 Content-Transfer-Encoding: quoted-printable 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: Le 14/09/2020 =C3=A0 19:10, David Hildenbrand a =C3=A9crit=C2=A0: > On 14.09.20 18:50, Laurent Dufour wrote: >> The memmap_context is used to detect whether a memory operation is due= to a >> hot-add operation or happening at boot time. >> >> Make it general to the hotplug operation and rename it at memplug_cont= ext. >> >> There is no functional change introduced by this patch >> >> Suggested-by: David Hildenbrand >> Signed-off-by: Laurent Dufour >> --- >> arch/ia64/mm/init.c | 6 +++--- >> include/linux/mm.h | 2 +- >> include/linux/mmzone.h | 11 ++++++++--- >> mm/memory_hotplug.c | 2 +- >> mm/page_alloc.c | 10 +++++----- >> 5 files changed, 18 insertions(+), 13 deletions(-) >> >> diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c >> index 0b3fb4c7af29..b5054b5e77c8 100644 >> --- a/arch/ia64/mm/init.c >> +++ b/arch/ia64/mm/init.c >> @@ -538,7 +538,7 @@ virtual_memmap_init(u64 start, u64 end, void *arg) >> if (map_start < map_end) >> memmap_init_zone((unsigned long)(map_end - map_start), >> args->nid, args->zone, page_to_pfn(map_start), >> - MEMMAP_EARLY, NULL); >> + MEMPLUG_EARLY, NULL); >=20 > I am pretty sure that won't compile (MEMINIT_EARLY). >=20 > (same at other places) Ouch I can't understand what I did at sending time, I did check compile o= n ia64=20 w and w/o memory hotplug. Sorry for the noise.