Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp927479ybt; Wed, 24 Jun 2020 15:04:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVTgZiJ4D+1oY3faDmkL+o8bqNfvK5UgyBhtbbt2kzo3hPYWaPR+OFYKLQ8iZXHDXEQRrf X-Received: by 2002:a17:906:6d0e:: with SMTP id m14mr9422030ejr.251.1593036257932; Wed, 24 Jun 2020 15:04:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593036257; cv=none; d=google.com; s=arc-20160816; b=JBWx4WmlyjVY38zs3Per4tmMzHquzTd+996sFdT+NoHtUN3Yut+4/HAw4hjC/fFsMv 4i09wy0RmOa3rEgQYG3fO069FDTNSlvRAQCwERyI7HgSg88zyIES7uJ/se1/3sNTY7GR zXjAp/k+IcqDb/ivDYcAJK8HMnDdTHkVq8qj2nKk2fTiRR0OyQA+836y+bcEu4q6Lvsf d08fd0abGKEq0rd9Bf9omH8TDuCTTNSIsOAvMlUQgCAM56nQ2W18mv6O0hSOFrRHQq66 RRqDyQS+VkoePREoRU2x4IzoX53WtBUX5zGP66N0q8chJDUOHUg/ySAQrgMReOxrvDLg i4wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=4vb8mzCTrugFu8Whb9uR67i2bumZL2/U7E2uotWgqjU=; b=nbwz1njCFpqoxTpkqgzJSG4a26p/T8kEGjf8+ocYcL+wrIbE/U62MVQi4AyUgZUnCq 9KSbBXX6b6Jthc1azl9X0ank9rs50c71D2nOjUOyiear7DMPJnbsWQc4d/o8HqCNtTn7 2mCHMq0JGy+qXN1RGTj3Pk7scFm8G6i91oN9NJGT8KuxggPjyVSwgn0+LQY68tem0U0V zjebxLcdicmWJVs8t53aVb+vSHbiHELa71VHP7dsc/3GI98K4SKPEIgff3Q0nSbjMADP shwFcUGxkR8c4xfQ8K8InMQoHDlFzqpWbptYd1QS0p4bb+neS1eHws03g9+pb4WBvtvy mTKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=ET1Chz0t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz26si1854965ejb.651.2020.06.24.15.03.54; Wed, 24 Jun 2020 15:04:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=ET1Chz0t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390509AbgFXVTR (ORCPT + 99 others); Wed, 24 Jun 2020 17:19:17 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:39222 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389773AbgFXVTQ (ORCPT ); Wed, 24 Jun 2020 17:19:16 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05OLHvgE028970; Wed, 24 Jun 2020 21:18:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=4vb8mzCTrugFu8Whb9uR67i2bumZL2/U7E2uotWgqjU=; b=ET1Chz0tXMyrQb6M7I4nTqoMHGEJnoezzLJC2DDfpepmN4EVH3hAJ3FVVwCZgziyztXC 0j6ey+PsZCniLWQMhjKY7MhwCAjfAvkzXpf5tDLMOj4k/wYkswA6IlocmoTs5bk3s6CX dIBXD6iEdMKnw8C/EUUDvqKjuB+4re/6BnECepZb6ncZJR7Z2y0KvNt0foGikQ180Qou 6MQKMoUEQ6it8+A7gL5PI+guAkUsBfylDQftE1Qcemhp/0+j25ZoLDPStWmw7JpsE6cT 8BbWgKiEJknWy2PWV6zyrgaAhtZV3dkEepma2eRFaorpYX+9Xhl8qjrljx9wGL8RSFAP EQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 31uustn8c2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jun 2020 21:18:53 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05OLDsM8144332; Wed, 24 Jun 2020 21:18:53 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 31uur08v8u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 24 Jun 2020 21:18:53 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 05OLImMQ008836; Wed, 24 Jun 2020 21:18:49 GMT Received: from [192.168.2.112] (/50.38.35.18) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 24 Jun 2020 21:18:48 +0000 Subject: Re: [PATCH v3 3/8] mm/hugetlb: unify migration callbacks To: js1304@gmail.com, Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@lge.com, Vlastimil Babka , Christoph Hellwig , Roman Gushchin , Naoya Horiguchi , Michal Hocko , Joonsoo Kim References: <1592892828-1934-1-git-send-email-iamjoonsoo.kim@lge.com> <1592892828-1934-4-git-send-email-iamjoonsoo.kim@lge.com> From: Mike Kravetz Message-ID: <17006bfd-290a-e443-a734-1717bfb8bb9c@oracle.com> Date: Wed, 24 Jun 2020 14:18:46 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <1592892828-1934-4-git-send-email-iamjoonsoo.kim@lge.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9662 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006240138 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9662 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=999 cotscore=-2147483648 adultscore=0 bulkscore=0 spamscore=0 phishscore=0 suspectscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1011 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006240138 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/22/20 11:13 PM, js1304@gmail.com wrote: > From: Joonsoo Kim > > There is no difference between two migration callback functions, > alloc_huge_page_node() and alloc_huge_page_nodemask(), except > __GFP_THISNODE handling. This patch adds an argument, gfp_mask, on > alloc_huge_page_nodemask() and replace the callsite for > alloc_huge_page_node() with the call to > alloc_huge_page_nodemask(..., __GFP_THISNODE). > > It's safe to remove a node id check in alloc_huge_page_node() since > there is no caller passing NUMA_NO_NODE as a node id. > > Signed-off-by: Joonsoo Kim Thanks for consolidating these. Reviewed-by: Mike Kravetz -- Mike Kravetz