From patchwork Mon Nov 14 07:07:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huang Shijie X-Patchwork-Id: 9426673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CC1B960484 for ; Mon, 14 Nov 2016 07:13:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDE62288FA for ; Mon, 14 Nov 2016 07:13:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B20422890F; Mon, 14 Nov 2016 07:13:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2E5C7288FA for ; Mon, 14 Nov 2016 07:13:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c6BQU-00042v-3t; Mon, 14 Nov 2016 07:11:34 +0000 Received: from mail-eopbgr40072.outbound.protection.outlook.com ([40.107.4.72] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c6BOU-00010S-Nm for linux-arm-kernel@lists.infradead.org; Mon, 14 Nov 2016 07:09:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QeTRVA251Y+PMx2DxS0nkQvRV/ayFC5Wps/G10vANWk=; b=D2DAWtWkT08kQbzuWzHLgbiW32DvKdD2ZLZN+ZPkCdPD02h7Yp5HgsPY+68krByX+NeuTkqQsoqVhidqS12vkXHk7j0ngBjde/woShJvmh+9aWmHOq9TnWCRMXCoQ1qAEo+fj4iv9mNRHfVfnKYQWOtw/scjAtAxw8cU0Eip/To= Received: from DB6PR0802CA0041.eurprd08.prod.outlook.com (10.172.252.155) by AM2PR08MB0564.eurprd08.prod.outlook.com (10.163.149.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Mon, 14 Nov 2016 07:09:06 +0000 Received: from DB3FFO11FD015.protection.gbl (2a01:111:f400:7e04::115) by DB6PR0802CA0041.outlook.office365.com (2603:10a6:4:a3::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10 via Frontend Transport; Mon, 14 Nov 2016 07:09:05 +0000 Authentication-Results: spf=pass (sender IP is 217.140.96.140) smtp.mailfrom=arm.com; oracle.com; dkim=none (message not signed) header.d=none;oracle.com; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 217.140.96.140 as permitted sender) receiver=protection.outlook.com; client-ip=217.140.96.140; helo=nebula.arm.com; Received: from nebula.arm.com (217.140.96.140) by DB3FFO11FD015.mail.protection.outlook.com (10.47.216.189) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.721.5 via Frontend Transport; Mon, 14 Nov 2016 07:09:05 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:1073; Count:13 Received: from sha-win-210.shanghai.arm.com (10.1.2.79) by mail.arm.com (10.1.105.66) with Microsoft SMTP Server id 14.3.294.0; Mon, 14 Nov 2016 07:08:45 +0000 From: Huang Shijie To: , Subject: [PATCH v2 4/6] mm: mempolicy: intruduce a helper huge_nodemask() Date: Mon, 14 Nov 2016 15:07:37 +0800 Message-ID: <1479107259-2011-5-git-send-email-shijie.huang@arm.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1479107259-2011-1-git-send-email-shijie.huang@arm.com> References: <1479107259-2011-1-git-send-email-shijie.huang@arm.com> MIME-Version: 1.0 X-IncomingHeaderCount: 13 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:CAL; SCL:-1; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(336003)(189002)(199003)(92566002)(33646002)(50986999)(77096005)(76176999)(36756003)(47776003)(104016004)(2906002)(50466002)(26826002)(4326007)(48376002)(106466001)(586003)(8936002)(50226002)(626004)(5660300001)(305945005)(8676002)(246002)(87936001)(189998001)(5001770100001)(5003940100001)(6636002)(6666003)(356003)(2950100002)(7846002)(86362001)(14583001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR08MB0564; H:nebula.arm.com; FPR:; SPF:Pass; PTR:fw-tnat.cambridge.arm.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD015; 1:pSY7SfsPOTbCP6CtAfrdtkgxrmZAxH5bkEI7zFwne1RzrfVezdzNHsv4+pfmZJbS7BWAwrETCb1NbYm0IyRq3CZz+EosKXogahzz33aknw/tbMoFQeZ70+UaIWMb5nmromO4K+O4mH7ol3ynlHvW9kl13vit0XDF/ol2dIL2mE2+epKEYLLZvutKqqNfZHs89BwEk88Bl0x7ICA3csEFtTrDvyufAGy89R7/3WSxTYQ8L4GqflnggsJXsTJPCQFgCe0rFiZoVK2oSz3TxCFtZHzFckwuNMyJP/KBpN+++l8zHBSW5xyqZS4qtw3xzphmwEuS5CSNV6SX8gDdXWRRaA/02mGReJi4xekAKMb8WBdYJEn+QaaulGJoZYSSL9zhX00zZy8YFLMNevDeGnr18nYr6OtytrXrd63MSOo39z8U7JvVLxM7GT1BxTzXQ0l+GrTDkZvL9Plcd5qGwfPbQujBM2zQ+Vv+BOo/2VAoAVofi+LjwDOsL3li2DI+XwvgF1Vyn+zAK1EiIiH6FFbn/onIByBkfLzvDNKgVXMZKUhC8d+eu8HCG9mrwyO75VTGr7dIF0AEkAtB3hbLx10N2PvoheF9NEAwERIAAbYDQwCQT3dLlarThhXV+pGiNckSMTB6xkE7wSe6R575oj6s80dn7cchXdpTs0pjFyf4cIU= X-Microsoft-Exchange-Diagnostics: 1; AM2PR08MB0564; 2:M8debu7x3cWTzQURfFdJjYO+4h59+KmEPgCDDwcyNyZn7WfE7EPOk5JN/JWVZ2RpD962clrHxzstRbBRSJaAj5M87BcHkR63tY4ha6M3ycCOmgCjEoMa2HN3kE3+0d/9XHpFcz6G/o/EcaaPPQ37Ix5nYdwG/bxCVVTRZ//VWEg=; 3:QGn8dESJfQFw/zvhC/JvmAlEGm6X6dstEdAIyvYXB+m6MBa5+D/j62DeKFLvTg4PxtNmjbdth72R61w5Uq19/pGmhvQG2L0fOwdqb5joql8rtv0D8GZfisKuxlvY8O2VRkL/s3QyQ3299L5DA7dbGLSQ15+MyP3knFMijlOzkBWVKfOKPY9PvbtUqmvIIX+BnCo9pjHuQRFWl550cOSl6x9AU5LrMcfhx2EVMNU/DUN1Yu+4l/zLzMX0zWu8rHe6zrhLaRxLe/Bj5KYS4fDTbTkYdi/xD8CcyvQUezZgqxg= X-MS-Office365-Filtering-Correlation-Id: 06a6aa40-0639-46ad-5fd3-08d40c5d1f0a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:AM2PR08MB0564; X-Microsoft-Exchange-Diagnostics: 1; AM2PR08MB0564; 25:KofF32OzuwXg8A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OeNgfow==; 20:eNCpvnKSe7z5u6paHy4MJ0ku1x+G1uHYMLVjCUfvH2sQbdVA0+GeaXRRh6XIbCwTAc+6pGNSO1QBp7lB0lAKTd6YMJgsLOO5bpUzXamMFYb36ZV49syB76L171dhjpFRM64JPTbb3BOOb7ii7GX74DQE550QkfYFU7lHJ+2S0flTo/b03r3Umrb1hN+dID1A7q2Ge2L+rfLc/M4K09m6QG1zxpiFzzeGBWfDVXopwNcCmyBQ6PyXd8g2YJU32dWr NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6060322)(601004)(2401047)(13023025)(13013025)(13020025)(8121501046)(13024025)(5005006)(3002001)(10201501046)(6055026)(6061317); SRVR:AM2PR08MB0564; BCL:0; PCL:0; RULEID:; SRVR:AM2PR08MB0564; X-Microsoft-Exchange-Diagnostics: 1; AM2PR08MB0564; 4:5rJmgF+16ET2Yl3ZQp1mI+biBnnwoVXZGuKue9UOk+c/yDWADLUmtfm1qdbJu3rZbfuMyb0zsf6/vhsIxf5opStAMqeFDzlgz+QEGDFxv2C1CUovtK8LucTkekelecqGa6XG/HoHzSWIAL/XbMqwBTNUgyfmKSKqk6TZaB8WGuCSnxW5G/fIdij4CyoSQ8YbaM3EkuBndRmz38+9M4LAUKWOu43ZfeAyzoql2mNpcaKvigtAXqJBs7jh5X7/VvI/bu0T8QnsYoKnm2I5BV//v8gB2pGUZvrIhNPWNyIxnXUPrNrQmxKkQu+j8eP6EkqAvYb9lRfFYiMxd6K1OoR3sLF016cVvSY5FMX69m+Pb5IwDbfB9rb3+BWJcXCIIi9ZrD5DKKsZukaOtmEU/pVDZ4U117aG06aDNaojEZSuHYDiD8vLJr0HA+tACHTDPp9ddMc5veubxDqivguKHgZdDG7x7mS7195vH/jRSCiTB9s+YE+7ptIES93pgh9tU9WpZo9oS1xVUvd75h7V3uF+Qyb3eVLireuedIUNkLUxp2MplUEikPjXEVflVAygiaQZ X-Forefront-PRVS: 0126A32F74 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR08MB0564; 23:bWyiv/X9hwKOmSB/VzpEiJhNdlqjtlf+FdJYO6fmC?= =?us-ascii?Q?nmX+9/nJlenvt7GGdvs4BRjZPqaIPN1YR+0qFg5R7EXdCFrHDzsWYs19LcoO?= =?us-ascii?Q?/RnczvB0/a1AkUVgyMSAHpWQ2cIsKrDpHYAvxN/HhayrWAQ2d2rE29Od33Bf?= =?us-ascii?Q?23tvzeE1xlGoLKoGtcCHnlcCxUH0ppUmVhkK9kK8byNAfc54mugdm3qBf8p6?= =?us-ascii?Q?cXURYMgSeM/kyqTVjkljZ9ugT74t/ODag8Gjxr2Wu2jBdpqGFcuG6HBwfH8c?= =?us-ascii?Q?Y8A1VSUO7WxXB8VgenZBQ7uapa8Q42HwprPyj7ufzrjAnMGSXZFKGUbQ+c/8?= =?us-ascii?Q?lQ6eZAAwkj6FvbOccpQ5YZR6PvARZBYK/Pu0r0tpuYj+aOg9ceSbi2ZiODsT?= =?us-ascii?Q?YPg7eEdvUSOIRpFB3u6XJh7oshtx8CSQix6SfHkW+i+bHASADBm5iaQNYYqj?= =?us-ascii?Q?Po86Er6TUVq/uTokGxCINdQbqy7Bi6gH6YvyCgLz+t+lNztYljLuWAevLW+5?= =?us-ascii?Q?QE8DCV7EiPk/m2DHFtz9dq7XqqjFK8ONxWxUBi4ew/FKWWFhzlvYQICFDGJz?= =?us-ascii?Q?eFIkdCTrjiJp8n4Bi4wqZiQZb0hiwmlR3O0DaOuImzCcfJtBrK3aSylt/bVD?= =?us-ascii?Q?B1Z/HWOt2TRsek0QnY5QY6Z+JSPQIUirerP6m7RxySbq17JjAWBwW8US9gIw?= =?us-ascii?Q?6P/qsoLDHvuHd1R4I3lp459LnjDPaG5kg7abmhLt31mXKWO0OxKzQd179gCU?= =?us-ascii?Q?dCq9MiX0f0ZRc38RRmTQCO45omPVCiLpJyF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Gacg+/WD1Qvr+TUUkoRhkONuRIlYvmAMiqK/ycgr39XPZL7Z/eMOXPK9xDF1ZOErPXOO/9aQuIDkWARBkNT8DPPznBaQ2CQ1VuDWshJgH734qx7tkUiFysqTP8YhbU79InJOdNCIeJ45L3pMCbWjAdx8OZnW8+GKAm11mDqpfJM4aUJo/PqA+Rdmnr36oEd4daEx1afAV+VwkoJlVoI3jYN/z6ikP8ik+2Vu+OVDcVloQg256xbdnTFFTMqV+5Syk+lmguVK+S/rm0AfNqXViz1CngkUa6GklZSEoq2bLhLzAizdbrPhrreJmWKu43E9QMqrwyJ6BcAGQw= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2016 07:09:05.5851 (UTC) X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR08MB0564 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161113_230931_436963_7962F596 X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, kaly.xin@arm.com, mhocko@suse.com, kirill.shutemov@linux.intel.com, steve.capper@arm.com, will.deacon@arm.com, linux-mm@kvack.org, aneesh.kumar@linux.vnet.ibm.com, Huang Shijie , n-horiguchi@ah.jp.nec.com, nd@arm.com, gerald.schaefer@de.ibm.com, mike.kravetz@oracle.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch intruduces a new helper huge_nodemask(), we can use it to get the node mask. This idea of the function is from the huge_zonelist(). Signed-off-by: Huang Shijie --- include/linux/mempolicy.h | 8 ++++++++ mm/mempolicy.c | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index 5e5b296..01173c6 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h @@ -145,6 +145,8 @@ extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new, enum mpol_rebind_step step); extern void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new); +extern nodemask_t *huge_nodemask(struct vm_area_struct *vma, + unsigned long addr); extern struct zonelist *huge_zonelist(struct vm_area_struct *vma, unsigned long addr, gfp_t gfp_flags, struct mempolicy **mpol, nodemask_t **nodemask); @@ -261,6 +263,12 @@ static inline void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new) { } +static inline nodemask_t *huge_nodemask(struct vm_area_struct *vma, + unsigned long addr) +{ + return NULL; +} + static inline struct zonelist *huge_zonelist(struct vm_area_struct *vma, unsigned long addr, gfp_t gfp_flags, struct mempolicy **mpol, nodemask_t **nodemask) diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 6d3639e..4830dd6 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -1800,6 +1800,26 @@ static inline unsigned interleave_nid(struct mempolicy *pol, #ifdef CONFIG_HUGETLBFS /* + * huge_nodemask(@vma, @addr) + * @vma: virtual memory area whose policy is sought + * @addr: address in @vma for shared policy lookup and interleave policy + * + * If the effective policy is BIND, returns a pointer to the mempolicy's + * @nodemask. + */ +nodemask_t *huge_nodemask(struct vm_area_struct *vma, unsigned long addr) +{ + nodemask_t *nodes_mask = NULL; + struct mempolicy *mpol = get_vma_policy(vma, addr); + + if (mpol->mode == MPOL_BIND) + nodes_mask = &mpol->v.nodes; + mpol_cond_put(mpol); + + return nodes_mask; +} + +/* * huge_zonelist(@vma, @addr, @gfp_flags, @mpol) * @vma: virtual memory area whose policy is sought * @addr: address in @vma for shared policy lookup and interleave policy