From patchwork Wed Oct 28 02:34:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, Ying" X-Patchwork-Id: 11862371 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 30F9214B2 for ; Wed, 28 Oct 2020 02:34:55 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DC15A222C8 for ; Wed, 28 Oct 2020 02:34:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC15A222C8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id C52396B005C; Tue, 27 Oct 2020 22:34:53 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id C03116B005D; Tue, 27 Oct 2020 22:34:53 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AA3BC6B0062; Tue, 27 Oct 2020 22:34:53 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0237.hostedemail.com [216.40.44.237]) by kanga.kvack.org (Postfix) with ESMTP id 7B3816B005C for ; Tue, 27 Oct 2020 22:34:53 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 0A04E3624 for ; Wed, 28 Oct 2020 02:34:53 +0000 (UTC) X-FDA: 77419766466.27.jewel74_4212f4327281 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin27.hostedemail.com (Postfix) with ESMTP id E60F93D668 for ; Wed, 28 Oct 2020 02:34:52 +0000 (UTC) X-Spam-Summary: 1,0,0,,d41d8cd98f00b204,ying.huang@intel.com,,RULES_HIT:30054:30064,0,RBL:192.55.52.120:@intel.com:.lbl8.mailshell.net-64.95.201.95 62.50.0.100;04yfyatbihdse97r8bsckokwnjua3ocwk59ipw6wak5cb3bei9hr5w6gsd1rz8i.pg63poq8g948xfyyiosr84zp1erpajmaqtsbo6zupe74stduc1j67z7tisdq1ws.a-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:ft,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:67,LUA_SUMMARY:none X-HE-Tag: jewel74_4212f4327281 X-Filterd-Recvd-Size: 2433 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf36.hostedemail.com (Postfix) with ESMTP for ; Wed, 28 Oct 2020 02:34:50 +0000 (UTC) IronPort-SDR: wSy4C7uaT/C1z88LZcdI+gUYSw/uUuBXN/PpPHh/x1F9n0PFveu+/jPj9OelfwBOjxSreCdoeW jJcWB23Hf55w== X-IronPort-AV: E=McAfee;i="6000,8403,9787"; a="165603426" X-IronPort-AV: E=Sophos;i="5.77,425,1596524400"; d="scan'208";a="165603426" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2020 19:34:47 -0700 IronPort-SDR: 2FeATYPZ4n6iB3TY+MkagP3JEPEjWUJgaVRAZcKBmj194/WzuTk1z109q1reG7CA9ZFAzbIJUZ mlDVbZ8NVtww== X-IronPort-AV: E=Sophos;i="5.77,425,1596524400"; d="scan'208";a="536043640" Received: from yhuang-mobile.sh.intel.com ([10.238.5.184]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2020 19:34:43 -0700 From: Huang Ying To: Peter Zijlstra Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Huang Ying , "Matthew Wilcox (Oracle)" , Rafael Aquini , Andrew Morton , Ingo Molnar , Mel Gorman , Rik van Riel , Johannes Weiner , Dave Hansen , Andi Kleen , Michal Hocko , David Rientjes Subject: [PATCH -V2 0/2] autonuma: Migrate on fault among multiple bound nodes Date: Wed, 28 Oct 2020 10:34:09 +0800 Message-Id: <20201028023411.15045-1-ying.huang@intel.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: To make it possible to optimize cross-socket memory accessing with AutoNUMA even if the memory of the application is bound to multiple NUMA nodes. Changes: v2: - Rebased on latest upstream (v5.10-rc1) Huang Ying (2): mempolicy: Rename MPOL_F_MORON to MPOL_F_MOPRON autonuma: Migrate on fault among multiple bound nodes include/uapi/linux/mempolicy.h | 2 +- kernel/sched/debug.c | 2 +- mm/mempolicy.c | 23 ++++++++++++++--------- 3 files changed, 16 insertions(+), 11 deletions(-)