Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp193587ybx; Mon, 4 Nov 2019 18:30:49 -0800 (PST) X-Google-Smtp-Source: APXvYqzOdwp5XclKuOlStxx/B9GUcumIVdD88ZmFvxnJlNy1IQo8NQZLccDirKICSrPIbOFmCn1N X-Received: by 2002:a17:906:3e84:: with SMTP id a4mr27106521ejj.272.1572921049200; Mon, 04 Nov 2019 18:30:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572921049; cv=none; d=google.com; s=arc-20160816; b=LCt+PiFEdlOJ6/GXhcZH+fYTA9/8HOKLx+7RS9Ks/Ki+CnU10zZrgAnvzgnW1mN61d h5jwxvkyljs73ocnyZ60SluF4zvpvSALhNqv8zvfJHyTVTNtT/QdA8R7L+4/0WNy4Fs/ hfbH6Q+6PhXqCFqfaMGKAHMDwMpTItvihc5mRxZWMqIgj0lhlt66pVHZ8qHD68T3Qkev nMT+EJE0AAtewpvwUyMlIw4OtjRYMxYfJTCQG8On9+wFr9VyxlEM9MkpAAY0AfY8CuQi 2cAEbO89NBP0jFxDI4jLludQOhMOD7fxZQ5eUHJ8PYjBqujqakTWi4hPhkRVtIvotCv/ K7fA== 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=PdCxIC9kgvzitGViQuvGUCEVY1YRU/tDisQccY12nsw=; b=ZS+17vhebymmPF0Memz3iePkIY+XkU0xe5PjmFE+cUoZNisEy2y1sB1k7Qw8BtN5Sj WP7wEP6Njj0nHoCZvpWNY2GbaizDYkfBAobDvtL0VS6hk2uOaSrH8q41Yh9Ez01ZQTpv Kt6uRSaxnOPieUbjZE0PZLBeOeMFvTvj/URKKD/S6Vk5dXZV7dF71ZVTKx3MjP7CpzWB 5shklcFuwPOXfd5UDMdZrde1IggGnIfKlwAwrFarUFu5Flhk/9lGbGm9eE+BP7kEATe2 4JEWmUa+zFWPYpMQv3FI+DmDyRi9+qmwfyvtQ/LYzv7SinFwlRwEhJ0rhVAVKA1QUg7I Vx1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Y1OM1AnD; 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 k63si8546853edc.347.2019.11.04.18.30.25; Mon, 04 Nov 2019 18:30:49 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Y1OM1AnD; 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 S1730207AbfKEC3r (ORCPT + 99 others); Mon, 4 Nov 2019 21:29:47 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45439 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729760AbfKEC3r (ORCPT ); Mon, 4 Nov 2019 21:29:47 -0500 Received: by mail-wr1-f68.google.com with SMTP id q13so19454948wrs.12; Mon, 04 Nov 2019 18:29:45 -0800 (PST) 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=PdCxIC9kgvzitGViQuvGUCEVY1YRU/tDisQccY12nsw=; b=Y1OM1AnD545zdg0YBT3OVjAJ5W11si9KQcoAEhSUgr1gSrSyO8vq/N22MFRJvshMh+ rFLHD4NcgYIlKz2zuuQLK4mKnfiUAjem8ZJSNUdFd7QuftTmHI2GRCKIa2Yd0F3Z+fgO dLTWvalY0U7SO59EWwIJSiSg8khxAvDVoDwFjCI4Zbvz5kqATo6/4FV3vq7Ff4v3WJOX eMAjKwnB7A/II6gcNJpxnW1OSLgzNzroy+PBdWaE9v3AtUyTrap2+vw9mnNQLWluUJZS D/vj4R1AWWelqEUAZcjgt2MSRnfxdeZzaSLTcC23bVtBm8a8cCHT3VGow9LApH0I9kNv wLcg== 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=PdCxIC9kgvzitGViQuvGUCEVY1YRU/tDisQccY12nsw=; b=VT0nHwpwAY21NJPg1tioUHHEm9QQK9KBhTUAtO4QRxgdIIN9L3d2y44ZmCHyw6h2l4 H4oP3aShS/tA7W0LuMCpzCHTx9AyVE55YDZy0Dl+wi1bSSVXvFmXay1q80wwL8WXcxP5 ubEtSArT5g7wORPW8NQlpWE2Jfz6b5FZpRi84cqkkyZsm1H+pSrPZqu+2jdrx3xKnOkw zy+WUGrf8tObQMIfRAATV2FzgxDb+GgHMbmowhtKJ1ez/5opRFXF29VLxYkbcn59e7oF 575cEue1jCNHxr3vhPNDO8S/ioHR8w3MAVdy8w/e99U8cJqy3gM3DNHK54vp8Csnr8CD bn+Q== X-Gm-Message-State: APjAAAXS9nDUkel4WmMy8+DdRZC/DlpPNqs6ijymBIFDN3k1Kz1+NNYD V8zb3JlCEqmCTN9F8mMm4Bw= X-Received: by 2002:a05:6000:1181:: with SMTP id g1mr3898956wrx.131.1572920984576; Mon, 04 Nov 2019 18:29:44 -0800 (PST) Received: from N-20L6PF1KTYA2 ([131.228.2.21]) by smtp.gmail.com with ESMTPSA id l2sm17632205wrt.15.2019.11.04.18.29.42 (version=TLS1_2 cipher=AES128-GCM-SHA256 bits=128/128); Mon, 04 Nov 2019 18:29:44 -0800 (PST) Date: Tue, 5 Nov 2019 10:29:41 +0800 From: "Li Xinhai" To: "Michal Hocko" , akpm Cc: "linux-mm@kvack.org" , "Vlastimil Babka" , "linux-kernel@vger.kernel.org" , "Linux API" , "Hugh Dickins" , linux-man Subject: Re: [PATCH v2] mm: Fix checking unmapped holes for mbind References: <201910291756045288126@gmail.com>, <20191030210836.a17c0649354b59961903d1a8@linux-foundation.org>, <20191031112609.GG13102@dhcp22.suse.cz> X-Priority: 3 X-GUID: D47CCF3B-5C3D-42F7-A13F-43E0513E99E0 X-Has-Attach: no X-Mailer: Foxmail 7.2.13.365[cn] Mime-Version: 1.0 Message-ID: <2019110510294042190833@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 T24gMjAxOS0xMC0zMcKgYXQgMTk6MjbCoE1pY2hhbCBIb2Nrb8Kgd3JvdGU6Cj5PbiBXZWQgMzAt MTAtMTkgMjE6MDg6MzYsIEFuZHJldyBNb3J0b24gd3JvdGU6Cj4+IChjYyBsaW51eC1tYW5Admdl ci5rZXJuZWwub3JnKQo+Pgo+PiBPbiBUdWUsIDI5IE9jdCAyMDE5IDE3OjU2OjA2ICswODAwICJM aSBYaW5oYWkiIDxsaXhpbmhhaS5seGhAZ21haWwuY29tPiB3cm90ZToKPj4KPj4gPiBxdWV1ZV9w YWdlc19yYW5nZSgpIHdpbGwgY2hlY2sgZm9yIHVubWFwcGVkIGhvbGVzIGJlc2lkZXMgcXVldWUg cGFnZXMgZm9yCj4+ID4gbWlncmF0aW9uLiBUaGUgcnVsZXMgZm9yIGNoZWNraW5nIHVubWFwcGVk IGhvbGVzIGFyZToKPj4gPiAxIFVubWFwcGVkIGhvbGVzIGF0IGFueSBwYXJ0IG9mIHRoZSBzcGVj aWZpZWQ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