Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2469114ybi; Thu, 18 Jul 2019 08:52:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZGfF3LiPiTxvXMNdjlbyZRzvnPA5RB9S5nnntppAK1AG0xPDy7AjQBeGbXyDF02gJq6xC X-Received: by 2002:a17:902:204:: with SMTP id 4mr49716534plc.178.1563465178935; Thu, 18 Jul 2019 08:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563465178; cv=none; d=google.com; s=arc-20160816; b=qslVfZMliVl75D3P6quL1ma3pD5zwoY1HJ7zk5RBsQHHg3JOTPTnphBVxXC1Vjw5JF 5z7d4YHRZ1AwVs2vvw3KjUcGWaE+IDIHOyAZB0h7WBv5z/SAWuKRCs1MImwP9MERi0Y1 6cS43tfMWr5jHlcoKmFjz+93flzUx6EC0rv5ctqnbYlbtFbq3BKLQBIzjqTnV4nIQpsK hjaroItyNRDodhKmlgUA6FnLZij7ndWWrHBn5ceoH1aKrWshkZ+4jC7e8CBIG7CrCZRR ImEvCx2SoGHkxFEWVg6TIx9fjmbkg61895DXK0O//GxtnPTSAI3NpCt7Pm9sd4BXEZPA VK9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version:user-agent :references:in-reply-to:date:cc:to:from:subject; bh=j3WjNMUwByxrU9s6ZmYdWswyK6u9ATnu18+R2+ktpd0=; b=OX1203zSDo/6XRKPHDfAe/vAMLpYF+H2R1HOYD283LC5thlE/MigKjtQiR4/7pDXDF eOn+pIwTaJv6IsUhpwE04M8jT4cMzPwQUbV3Z7WWWGPnQ7/lHp98bMcDlQarh/AFSDPR lHDsFxU24tY0m3CCqc0MlPHJ2uESYV+PeCp1MMqxavNexkf5ctYnAh+Ex38nyCataffx h+C11XbhuSuoVU9jO8I5hWSjWecXeZ8xXbkyN+r2gREDH/k7DIfqYr4z/5h3lvYNfOBJ fDbHIKdX+rT8R0RRJyg5RJ9uIzh8GlnJMp8wA1jlLVedkdqyST9oFo/ki3OASAyNSsRt 3+Ow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9si256521plb.317.2019.07.18.08.52.42; Thu, 18 Jul 2019 08:52:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728120AbfGRPur (ORCPT + 99 others); Thu, 18 Jul 2019 11:50:47 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:37486 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727767AbfGRPur (ORCPT ); Thu, 18 Jul 2019 11:50:47 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6IFoSA6082509 for ; Thu, 18 Jul 2019 11:50:46 -0400 Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.152]) by mx0a-001b2d01.pphosted.com with ESMTP id 2tttqt30mn-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 18 Jul 2019 11:50:45 -0400 Received: from localhost by e34.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 18 Jul 2019 16:50:43 +0100 Received: from b03cxnp08027.gho.boulder.ibm.com (9.17.130.19) by e34.co.us.ibm.com (192.168.1.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 18 Jul 2019 16:50:39 +0100 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x6IFocVw60621270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Jul 2019 15:50:38 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC60AC6057; Thu, 18 Jul 2019 15:50:38 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 02588C6055; Thu, 18 Jul 2019 15:50:34 +0000 (GMT) Received: from LeoBras (unknown [9.85.162.151]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 18 Jul 2019 15:50:34 +0000 (GMT) Subject: Re: [PATCH 1/1] mm/memory_hotplug: Adds option to hot-add memory in ZONE_MOVABLE From: Leonardo Bras To: Oscar Salvador , linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Andrew Morton , Mike Rapoport , Michal Hocko , Pavel Tatashin , =?ISO-8859-1?Q?J=E9r=F4me?= Glisse , Thomas Gleixner , Pasha Tatashin , Bartlomiej Zolnierkiewicz Date: Thu, 18 Jul 2019 12:50:29 -0300 In-Reply-To: <1563430353.3077.1.camel@suse.de> References: <20190718024133.3873-1-leonardo@linux.ibm.com> <1563430353.3077.1.camel@suse.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-3qG8sm/tWDfxGznMgLRc" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 19071815-0016-0000-0000-000009D1B406 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00011452; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000287; SDB=6.01233984; UDB=6.00650254; IPR=6.01015312; MB=3.00027780; MTD=3.00000008; XFM=3.00000015; UTC=2019-07-18 15:50:43 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19071815-0017-0000-0000-00004412BFFF Message-Id: <0e67afe465cbbdf6ec9b122f596910cae77bc734.camel@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-18_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907180164 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-3qG8sm/tWDfxGznMgLRc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2019-07-18 at 08:12 +0200, Oscar Salvador wrote: > We do already have "movable_node" boot option, which exactly has that > effect. > Any hotplugged range will be placed in ZONE_MOVABLE. Oh, I was not aware of it. > Why do we need yet another option to achieve the same? Was not that > enough for your case? Well, another use of this config could be doing this boot option a default on any given kernel.=20 But in the above case I agree it would be wiser to add the code on movable_node_is_enabled() directly, and not where I did put. What do you think about it? Thanks for the feedback, Leonardo Br=C3=A1s --=-3qG8sm/tWDfxGznMgLRc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEMdeUgIzgjf6YmUyOlQYWtz9SttQFAl0wlUUACgkQlQYWtz9S ttRBRRAAzXZyanM8TpDhxFNBGg0BldrMpkUJO/FKHGIUyK70KPr3a0bsWtNx2GLs nrCP5UQhcNmKdiofCOf2kpAqsAv13a57vUoo0iozKF771s3gpih92gC1CuGrwKUp lMRt9G3q6GqQx0fXPlrImutBHICAHTHOD5NUJkRF2FgGwKVxHXsPRF0h/yOxegMV I/ToF2NmuOBbtBbQD7aEDMW7XG3w5nM/yn9aNqbwrDcuG4F77jsbaLqfBFMLEI5C 3hrvE98xy5W7XO3/yA3QcYC+WczN8dyzb1Y9F8nz9mWMiGKsBtGQxHyog2YMOMj3 NB43X4xEVlJwPD2eMdd3loukeoudUhnlIvjD7yIxd4z3oPXsz5wSL+r6cd9q1B05 v+Rw8QR6FQRlbv8idhMZ7Y5//g6Mwrxc8ecZfhpACmyIsWwSeMz7HXQmoFm7SM9k mx5ET3BNYtrB08mRMt/cA1XakfMAp1PFi8OwhjIQShZib8xpOzWqVVKE79oVPptG 5H/71zXj2rgP/W5Zv0dGl2x7co+SbPwVwbMMBTiYf+8KXBhD+1K5AowNKZKMetR1 Ag7Cs18NBFpawxIoMPNbLYIz/hf1CvH2//vA7O7hV39CnD7Vakz8NNPVQkc109RJ 2OxDKtiVu+SCT6rjcTBkZfUJ7wTXKd2zKnvn1gKEpU2qKDC4tVw= =OHH1 -----END PGP SIGNATURE----- --=-3qG8sm/tWDfxGznMgLRc--