Received: by 10.223.176.5 with SMTP id f5csp1438853wra; Wed, 7 Feb 2018 20:08:20 -0800 (PST) X-Google-Smtp-Source: AH8x226l0NNykugMJNBvrObT1dFytFnfaHqQRv/opx3O1Nk5PXBeAjmAbzWwO8+Nr43EUHazKfEQ X-Received: by 10.99.120.139 with SMTP id t133mr6750131pgc.382.1518062899927; Wed, 07 Feb 2018 20:08:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518062899; cv=none; d=google.com; s=arc-20160816; b=edjhsfM82m3mKGw4VtRhraHoA/dodrmL9v5FgwZ6yt7c3xO5fN7XuWWJG/SxoflBj/ DOuAwoW5K9KsGT4Ah4EL5zCzDVuMqTNFXBPIMoR62brMpdjUISpiI2AEyxrKPpJjtDRp Q+UVozYjqeswdStcLjNRRfWVoekL2hup9Ei7880vdsS8lwDkHxV8wwGW6ztlPX7cCgyV N+0s9m7aIyYWKled3U53+bh8CIaRH/Qbt60UfL2aEmhVVPlvfTGaqO6DyjlxBksSo2vH ZBB6EABMg9EpBG/fI7CCOy6YLxWB3BHCpvx06jwaZsZY9NGwQJdtobATys/tXlajqO+L u27Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:from:cc:references:to :subject:arc-authentication-results; bh=jl6pETC7JLBh/gH22mKK1hd4No60av4VpaPLcpiQxYQ=; b=cFT2XDXd3x2dwNlFRsAKZ6COagbuJyLhQ8Q5zfKbhr7E8dvDuRSwNHz4FVZstY+SKz QT+X51lwfNIDSX+y1YwlmRZ0yk9+aI+PCqeaw13fycbxm38fxNSO1Jem4akWAFz8jVFl gmolFTW84OYZQJ1WX/OzvuI/usgNbV6HyJxsh8v8U0TV1Uu14PEnArZ7OjnlWQj9iOQN HDQ5pJxeNg4Fr0f+bTEpwjmmsRsj82gGm/ctI4SMErJy3ZlHAm5DnT77uhr9ovJZuAmS /qJFD8HAB6ktzYP51s6ecNAHu6d3mB8EF+dp12G+tP56Sn0uJ8ZAb1rHMFlG8tTn9mBl 8GRA== 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 n11si1851526pgq.230.2018.02.07.20.08.06; Wed, 07 Feb 2018 20:08:19 -0800 (PST) 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 S1751986AbeBHEHX (ORCPT + 99 others); Wed, 7 Feb 2018 23:07:23 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:46860 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751796AbeBHEHV (ORCPT ); Wed, 7 Feb 2018 23:07:21 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w18446d7109922 for ; Wed, 7 Feb 2018 23:07:21 -0500 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0b-001b2d01.pphosted.com with ESMTP id 2g0d9u3ws3-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 07 Feb 2018 23:07:21 -0500 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 8 Feb 2018 04:07:19 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 8 Feb 2018 04:07:15 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1847F6O34603094; Thu, 8 Feb 2018 04:07:15 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 28B5B11C05C; Thu, 8 Feb 2018 04:00:37 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BEFCB11C04C; Thu, 8 Feb 2018 04:00:35 +0000 (GMT) Received: from [9.202.14.107] (unknown [9.202.14.107]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 8 Feb 2018 04:00:35 +0000 (GMT) Subject: Re: [PATCH] mm/migrate: Rename various page allocation helper functions To: Anshuman Khandual , linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20180204065816.6885-1-khandual@linux.vnet.ibm.com> Cc: akpm@linux-foundation.org, mhocko@suse.com, hughd@google.com From: Anshuman Khandual Date: Thu, 8 Feb 2018 09:37:12 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20180204065816.6885-1-khandual@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18020804-0020-0000-0000-000003F379CC X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020804-0021-0000-0000-00004285F651 Message-Id: <5458c2c9-3534-c00d-7abf-3315debbf896@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-08_01:,, 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=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802080035 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/04/2018 12:28 PM, Anshuman Khandual wrote: > Allocation helper functions for migrate_pages() remmain scattered with > similar names making them really confusing. Rename these functions based > on type of the intended migration. Function alloc_misplaced_dst_page() > remains unchanged as its highly specialized. The renamed functions are > listed below. Functionality of migration remains unchanged. > > 1. alloc_migrate_target -> new_page_alloc > 2. new_node_page -> new_page_alloc_othernode > 3. new_page -> new_page_alloc_keepnode > 4. alloc_new_node_page -> new_page_alloc_node > 5. new_page -> new_page_alloc_mempolicy Hello Michal/Hugh, Does the renaming good enough or we should just not rename these.