Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp704286ybx; Wed, 30 Oct 2019 23:04:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMBlXpCosze91ojwm3NhZlw540aqDpqau9ZdsXhwvBF+5Q+GKqs7Tl8KMkZYWlR9ehSxWP X-Received: by 2002:aa7:d397:: with SMTP id x23mr3905112edq.75.1572501848460; Wed, 30 Oct 2019 23:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572501848; cv=none; d=google.com; s=arc-20160816; b=UOOMVydXyww8nFAIATTOgg/21pyJVKbwOTC783zCKwmSPHnyU1JW2+gZSH6utqCLNK M7bhVdKGNcG3OeM8moqSed/QRvX/WK2gbSLd4b0aIGf9PAu3j0gG1nM04t/umhgeOnW8 v7D5GeIyofW+W7bwZOvRgLSPoQHksFr5kQNvh2o8r95/Qrqyg8kEvNOJCYQ84438sNOt JaB9cNFZrWDcRZyv1Q/B5QVYPGQbOwo0IqdyPGWDT6CIah3BDiVM5Glqvfsvv+ZYEdug WOGAZYLVwoOEUZF4K7/7qtTWZRLlrprxVPx8ztn6HxqAEUZXW/y0oj1R+w64mi17UZeE zwZA== 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:message-id :mime-version:references:subject:cc:to:from:date:dkim-signature; bh=B9pBKnFjfixHWQ/ZEyIY+63diOqN5jpX/fJTCisM0+M=; b=sNYcSIMMUC0odJCmycna/xFi2hUWHlZwskwzwvpWjan157wsWWlJAzkS2IOoZvvW3+ PKUytcVYr6gjrynEHrBcK0ZMBrvjQeCkk/xLg4TYZbg7kPd1AMAgH6ChPrM2qEY749D1 X2Z6bfCke87I/xoT6S5d922Bk7L0WSflcRan23rdoondUw7PMv/tCoivZKpt3aRl+xh7 17JHtkop2SrzCMXLWqYtFl98JpSbVSardwFtbTU9y+xfhLbPtLBJLae0pPxlxUdVmOBB q9IdTT5pPna7Q2So6T681ZqcGu6qv2+57xLwxRWm9YLUxq2e/+pTuSO1dINYadgBG6vh UTsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Fkp6Syx6; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v16si3491437edc.142.2019.10.30.23.03.43; Wed, 30 Oct 2019 23:04:08 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Fkp6Syx6; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726806AbfJaGBH (ORCPT + 99 others); Thu, 31 Oct 2019 02:01:07 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:45527 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726479AbfJaGBH (ORCPT ); Thu, 31 Oct 2019 02:01:07 -0400 Received: by mail-lf1-f67.google.com with SMTP id v8so3542040lfa.12; Wed, 30 Oct 2019 23:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:references:mime-version:message-id :content-transfer-encoding; bh=B9pBKnFjfixHWQ/ZEyIY+63diOqN5jpX/fJTCisM0+M=; b=Fkp6Syx6mHbOLRCg/THpgtyk4gCS05UCGwcgJi5cBfBcrSgo/HwFigMnvXxvLOM5F2 vGwlHeDPxUrySg3tOOeyorFr6FS/BAtjxRo/umHFbdq1mFwg5minYcuBXrauE1e39W1i SVJt6mccSS61DEOTkSLgFSBZJVEVaNFkOC7cynYKAX5TbhFOLln8ol90SkxWOy4ofFOG JiuxNf9+PFjVyC24JJaahEzYu6ZhUaCLu5VOHthNl/rrUeYoItKi0pU5Zp76DdnIlZ3e KGRP1tN6mASAs4LLHZBP6AwdfpOEjA4Yy+zK8YpQ2y1XcDjIBo07T8+GEHw+hjvlQK9e K5zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:references:mime-version :message-id:content-transfer-encoding; bh=B9pBKnFjfixHWQ/ZEyIY+63diOqN5jpX/fJTCisM0+M=; b=eSqy0osA8RoSNC6GPnFyGXQVdvfe9wCHVypXaeQuWeMAM9T/f06gsnC5jsrN47j5eW tyyVRjglaObBx3bPqC9MOapqjnf6M/8RvHqRCm7ODT2u08d7XZVN1crptIUrKwtLzoTV aev4PHHT8ACwAXh3Zw2cNUjl0RqH/ifW2jJ2hhyqjYhCyKuuenICcwKpRHmKKlpjWY2t F7ziL6GZQweetrurc7wpnpdRVv9yiPD2caV5bNnGnW4/8aYROboWjKPr3usi4Gve2ZWt OTLP59VhIwjpzDnY8g9u74ioVvIYvb2OQCct6Sb/AHPeEkgf8pgUPC5X5cvmtp1LivSs iX7g== X-Gm-Message-State: APjAAAWjvGFlFqE9ZWXYlnA+hVmZixM+RzIKb6AmhtfpqFWL/qyVC9FW rPp4CvntRZtzXkTfO5XG5IE= X-Received: by 2002:ac2:5496:: with SMTP id t22mr839811lfk.31.1572501663756; Wed, 30 Oct 2019 23:01:03 -0700 (PDT) Received: from N-20L6PF1KTYA2 ([131.228.2.20]) by smtp.gmail.com with ESMTPSA id t4sm704967lji.40.2019.10.30.23.01.00 (version=TLS1_2 cipher=AES128-GCM-SHA256 bits=128/128); Wed, 30 Oct 2019 23:01:02 -0700 (PDT) Date: Thu, 31 Oct 2019 14:01:00 +0800 From: "Li Xinhai" To: akpm Cc: "linux-mm@kvack.org" , "Vlastimil Babka" , "Michal Hocko" , "linux-kernel@vger.kernel.org" , "Linux API" , "Hugh Dickins" , linux-man , n-horiguchi Subject: Re: [PATCH v2] mm: Fix checking unmapped holes for mbind References: <201910291756045288126@gmail.com>, <20191030210836.a17c0649354b59961903d1a8@linux-foundation.org> X-Priority: 3 X-GUID: 6300A385-0B3A-4454-B5DB-0B15FEDE58AA X-Has-Attach: no X-Mailer: Foxmail 7.2.13.365[cn] Mime-Version: 1.0 Message-ID: <2019103114005855855689@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjAxOS0xMC0zMcKgYXQgMTI6MDjCoEFuZHJldyBNb3J0b27CoHdyb3RlOgo+KGNjIGxpbnV4 LW1hbkB2Z2VyLmtlcm5lbC5vcmcpCj4KPk9uIFR1ZSwgMjkgT2N0IDIwMTkgMTc6NTY6MDYgKzA4 MDAgIkxpIFhpbmhhaSIgPGxpeGluaGFpLmx4aEBnbWFpbC5jb20+IHdyb3RlOgo+Cj4+IHF1ZXVl X3BhZ2VzX3JhbmdlKCkgd2lsbCBjaGVjayBmb3IgdW5tYXBwZWQgaG9sZXMgYmVzaWRlcyBxdWV1 ZSBwYWdlcyBmb3IKPj4gbWlncmF0aW9uLiBUaGUgcnVsZXMgZm9yIGNoZWNraW5nIHVubWFwcGVk IGhvbGVzIGFyZToKPj4gMSBVbm1hcHBlZCBob2xlcyBhdCBhbnkgcGFydCBvZiB0aGUgc3BlY2lm aWVkIHJhbmdlIHNob3VsZCBiZSByZXBvcnRlZCBhcwo+PiDCoCBFRkFVTFQgaWYgbWJpbmQoKSBm b3Igbm9uZSBNUE9MX0RFRkFVTFQgY2FzZXM7Cj4+IDI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