Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp490630pxk; Wed, 16 Sep 2020 09:04:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYHDJX97e/jsfNmgxY1otpF0VEbKIp41hhO9py1R6E0tj/9VURPfqTBgBS9uLdITgmlSCX X-Received: by 2002:a17:906:5e59:: with SMTP id b25mr26979106eju.414.1600272274609; Wed, 16 Sep 2020 09:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600272274; cv=none; d=google.com; s=arc-20160816; b=eabAIgcI7HypXNa1PqCC7HH5jtyX4pELNlwG/uvxQntuTIJ4IADTpAALX2ujb1NpAx /I5phV1p9oJXwpds6pcAc14baiTl+e5KkL/aTRcIyiXIEcbkzP29GL2yemabydTGupXq uTpMCb2CIvy/iryoOGSUVC0BsFqTle0rZXw5I3zsBsc395kKh0BY/pfRp9lDZO35/oQ2 8m/8w1UMI4yoY+4L0X8auS8964aD58/sVKOR74qfMzliPcYYH2MhI52W4FV0PJKoMCwt 9kbA8BbkLqbe630IKbkkETXQ9JvAzJHSzPknrGzPeRs2S0qFGsYZHvuWyyq/SjF0Oroc a5/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=uiBkPILqgj6+XmxQSXdoL8r4H4tFY2Qbd0jwLhGYEas=; b=hdjHb392qZFIdvdM9dq44olQzDV1IuidFMqPgAQaxXYGldvb0Z3BZWvoEP7LPOwMRt ZbcPVn36GNv9/M0ivLU5s4K52G4L4faYNkjrqUG45aoovYlJ1gcbPSdQLDHJCQIJApnn MrJqBHRxrf9RjpefrlCq0rPe6EnvyjXwqxEWVpQFecTPUCp4vSrGENj7LQsear6cXIh5 R3R2QRZ9m80BVq89azfLQniO7XA3c4BfZmZiQXonBqRwZ8FB6jMwtuiP/wVVwMNZspJZ qJOMaF6EY4a6eMLiFBQMgGtteNx1NbQs27yGFSAsomAUQdZXJbyK7KU4NucyV3/K+5sf mWRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UYbIAeYa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j7si12338750ejn.639.2020.09.16.09.04.11; Wed, 16 Sep 2020 09:04:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UYbIAeYa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726149AbgIPQDd (ORCPT + 99 others); Wed, 16 Sep 2020 12:03:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:57596 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726373AbgIPP4Z (ORCPT ); Wed, 16 Sep 2020 11:56:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600271776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uiBkPILqgj6+XmxQSXdoL8r4H4tFY2Qbd0jwLhGYEas=; b=UYbIAeYaTnzU3Rwh/beQ0bTu70Frdy9HY49znz3e4uJcfMLeO3uj73NCUkKyRCzA5+Rb01 V3Y2anLexqNk5PNahSFVkX+vadF7Kyt6koKJqBlIyz4QTGsgoxn+E4xUKtQ44o4OT4Y9/3 ZLnbkpjXDIM0z2l0Odeltt44Em+n7Kw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-308-l1_h9eZYNqGQg-zimJyxXg-1; Wed, 16 Sep 2020 09:39:18 -0400 X-MC-Unique: l1_h9eZYNqGQg-zimJyxXg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 65B92188C129; Wed, 16 Sep 2020 13:39:16 +0000 (UTC) Received: from ovpn-66-86.rdu2.redhat.com (ovpn-66-86.rdu2.redhat.com [10.10.66.86]) by smtp.corp.redhat.com (Postfix) with ESMTP id C70E6607A1; Wed, 16 Sep 2020 13:39:14 +0000 (UTC) Message-ID: <2fe2a22235a0474b4a3de939cc22c19affc945fd.camel@redhat.com> Subject: Re: [RFC] autonuma: Migrate on fault among multiple bound nodes From: Qian Cai To: Huang Ying , Peter Zijlstra Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Ingo Molnar , Mel Gorman , Johannes Weiner , "Matthew Wilcox (Oracle)" , Dave Hansen , Andi Kleen , Michal Hocko , David Rientjes Date: Wed, 16 Sep 2020 09:39:14 -0400 In-Reply-To: <20200916005936.232788-1-ying.huang@intel.com> References: <20200916005936.232788-1-ying.huang@intel.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-09-16 at 08:59 +0800, Huang Ying wrote: > static int apply_policy_zone(struct mempolicy *policy, enum zone_type zone) > @@ -2474,11 +2481,13 @@ int mpol_misplaced(struct page *page, struct > vm_area_struct *vma, unsigned long > int thisnid = cpu_to_node(thiscpu); > int polnid = NUMA_NO_NODE; > int ret = -1; > + bool moron; Are you really going to use that name those days?