Received: by 10.223.164.202 with SMTP id h10csp381422wrb; Thu, 9 Nov 2017 07:47:55 -0800 (PST) X-Google-Smtp-Source: ABhQp+QW5cj4EV47/uTtU9bj2Y9wP4AXZ1E3mtEATY3sE9+1BNoEZQnPa+TIIrN0mQzfpS8zJuiD X-Received: by 10.99.109.77 with SMTP id i74mr892066pgc.208.1510242475230; Thu, 09 Nov 2017 07:47:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510242475; cv=none; d=google.com; s=arc-20160816; b=Rph9sp4UiGKYJt8ce0Gnjp1Kfri6Af8yPefJ+VLsUlvldVZ4Rhoh4E6Ps6VAaluujt zTPWOeydyNt1kVYpE9bzHB1mJjfw5NwhXNda43HqQsD9k7AAPrgeQARIoknmyMut0BDu whJYUwzQ8M5lI8WfsG1zuJV2+IA9heXqDM5Y7yre3cBYC8wlY40IUDMAPyKp9NcTPp7f YUxxu1eOpgzfdZIQ8K4Zk5POz3yxNit3izUTMs5fxl59By8+a7q+mFGnS+yuwxEmmjGS ArMhmNXhvIGHP/Sb4trgSo4n0GvR/1/YBEpEmTPnPbqcEvmXph1baJUgzmcGu9eCPnza YKOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=ZU4JXlAKL19zaUzUgfGbXRYsc8FSTaZtNrCkxsmKPG8=; b=v6kAwkGHT/ThEa9YtTyAHk8RsvFwChXiJ3/aZAB9kzxcoMcAL/rbv74lFohKepUTXI Hf9nWuIDcMtt/6HQJgCsTJMu2w2+Q7Czvmvuf8uXWZJbemQEpyj8ViI/3LjUD8AONsMW N2DSpQN3VsKYcOil4hAl5cFYdAZoHHU5Xfl27J8THXt6YhtKewH3/CSXupaSVaUO6CSt TGGfwE4XtPb1eVMqaeVLm9cdn7F5X7f5H6v96IC4iqc1y9GGeUsOMPjF+d9rfhWR/45E toD8o4Rn8EEhyk8ShKhbWKThFiKVlasYjA8Uin+OpuBxgNn4waNmec+jVe2OuIJ5lWNp PvpQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si6422643pgt.456.2017.11.09.07.47.44; Thu, 09 Nov 2017 07:47:55 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752962AbdKIPqr (ORCPT + 80 others); Thu, 9 Nov 2017 10:46:47 -0500 Received: from resqmta-ch2-02v.sys.comcast.net ([69.252.207.34]:35022 "EHLO resqmta-ch2-02v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752873AbdKIPqp (ORCPT ); Thu, 9 Nov 2017 10:46:45 -0500 Received: from resomta-ch2-07v.sys.comcast.net ([69.252.207.103]) by resqmta-ch2-02v.sys.comcast.net with ESMTP id Cp2Ee4mvwbGZxCp2SeDU93; Thu, 09 Nov 2017 15:46:44 +0000 Received: from gentwo.org ([98.222.162.64]) by resomta-ch2-07v.sys.comcast.net with SMTP id Cp2ReX2CDQtigCp2Re0F41; Thu, 09 Nov 2017 15:46:44 +0000 Received: by gentwo.org (Postfix, from userid 1001) id F2AE911602B1; Thu, 9 Nov 2017 09:46:42 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id EF253116010F; Thu, 9 Nov 2017 09:46:42 -0600 (CST) Date: Thu, 9 Nov 2017 09:46:42 -0600 (CST) From: Christopher Lameter X-X-Sender: cl@nuc-kabylake 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 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> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CMAE-Envelope: MS4wfO/jCoMI2MFrh3yZ7DNR8RFqlUToJuTybIwbytBTBDdwcrB9iqXajhB5WIOavDIgflJ5XfZ1Zo/DcIcBue6lZ6/uwEaVTK10pU2jayKsaiyE1fvRD+/b R7H1QpOHVbA1DVotXhem3y7DwThlqvwhpvVjugaMOD3s8XxlaburZ2cU2HWyESqFK5OBtrjIWgSGgQTnXMcKLvy09jPuUOZIMnY8ajNDhj9YV9TlPirdRgfe aJxkMZc+CWrvDvQTRlicZ7UVwbTDzfgATO/ZYw2/KwJ/9F2XiePr2ruO5JkFrT61VF/TGLNutO/ADD8j/Mw2Ln0Ovg8NVf9zmx2bIXlOgJZEJjW3SmQsGyvQ TeEvYT1HsfaGZ1VNgWxjabjN40MeOn0kYibniYwTTlnS/Eo+KSXgk7YJmwWdS8xD/rAGbCy/yNXNBz41jdow52YRvNJRKmgH3k+Mh8irBOuZqTMiZVMNHCMD tuUDsJL2iiBEMJn37h+F7WI+SxUJ5nLaidIbVr9e4aZjV/GrSqSNDXpcnCkzdLAvp9AAT/DGZKBH4KX7 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. From 1583585685603346255@xxx Thu Nov 09 10:56:36 +0000 2017 X-GM-THRID: 1582405894727115875 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread