From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f199.google.com (mail-io0-f199.google.com [209.85.223.199]) by kanga.kvack.org (Postfix) with ESMTP id 9FBEB440CD7 for ; Thu, 9 Nov 2017 10:46:45 -0500 (EST) Received: by mail-io0-f199.google.com with SMTP id i38so9669545iod.10 for ; Thu, 09 Nov 2017 07:46:45 -0800 (PST) Received: from resqmta-ch2-05v.sys.comcast.net (resqmta-ch2-05v.sys.comcast.net. [2001:558:fe21:29:69:252:207:37]) by mx.google.com with ESMTPS id v199si6981260ita.7.2017.11.09.07.46.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Nov 2017 07:46:44 -0800 (PST) Date: Thu, 9 Nov 2017 09:46:42 -0600 (CST) From: Christopher Lameter Subject: Re: [PATCH RFC v2 4/4] mm/mempolicy: add nodes_empty check in SYSC_migrate_pages In-Reply-To: <9991dd10-8883-7c82-bb4e-8145ea2b7299@huawei.com> Message-ID: References: <1509099265-30868-1-git-send-email-xieyisheng1@huawei.com> <1509099265-30868-5-git-send-email-xieyisheng1@huawei.com> <04e4cb50-8cba-58af-1a5e-61e818cffa70@suse.cz> <4b08f1e9-5449-6ea2-e7da-65fe5f678683@huawei.com> <9991dd10-8883-7c82-bb4e-8145ea2b7299@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Yisheng Xie Cc: Vlastimil Babka , akpm@linux-foundation.org, mhocko@suse.com, mingo@kernel.org, rientjes@google.com, n-horiguchi@ah.jp.nec.com, salls@cs.ucsb.edu, linux-mm@kvack.org, linux-kernel@vger.kernel.org, tanxiaojun@huawei.com, linux-api@vger.kernel.org, Andi Kleen On Thu, 9 Nov 2017, Yisheng Xie wrote: > > The caller of migrate_pages should be able to migrate the target process > > pages anywhere the caller can allocate memory. If that is outside the > > target processes cpuset then that is fine. Pagecache pages that are not > > allocated by the target process already are not subject to the target > > processes restriction. So this is not that unusual. > > So there is no need to check the restriction of target process cpuset, right? > I hope that I do not miss anything :) Exactly. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org