Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3974969ybc; Thu, 14 Nov 2019 18:36:30 -0800 (PST) X-Google-Smtp-Source: APXvYqyReKfzHw9nXBjLNuDGIa8Ujo0qWK1Wy49GkwC+HlRTAqhQshmwvCb3QqUI6M7lujZhEe7X X-Received: by 2002:a17:906:70e:: with SMTP id y14mr10084588ejb.70.1573785389911; Thu, 14 Nov 2019 18:36:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573785389; cv=none; d=google.com; s=arc-20160816; b=dd6/1cyLKJqVBdK96zS9snGcQMA/cHlx5Nf4ghO4wRXJlBNEzkjfd0VdoE+T6xUXtS qVqkVwFCq1nW2gCKG17CJJiJkLceSVW2xS+JORgyrX2qQo1Ba3BW+hyjYvKeuhI+Rraz /3AgzMDbzbJN2K0YVm+aVFmOhC+p9ZiUvzi3gDrF/xoxs+f3tnnB2QiKT/iaQcw7cTSb ddIPAoh8oOY7p4LVTy1ppaCbEXI6Re8+Okd9QJN9l0pCe50YUDpU8C/s/2weGgxiLyXs 5MtcExAc6aStag3iuHCM1k0i5PhBzFViIRnBQp4E8rehhaItTOEnGv2kEbgEtvP/oejs +EBg== 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=DsTkCQ/ohhtSbtgPw9/+ZG8W9s9T76Y4sc0b60saEW0=; b=d0Cp3T9P0ajaqzFripujBYf5r4a5/8MDu3HAJVoN5zWe4EUGDjmB248jZf5ATCJhve gNJST5utdfK3Ij2v7kLfRb3qOSyBxvDJ4ytqa6afQmSpNLXucBTwqrVro7lpt2c8ACl0 xCJNR+K+dcasNJg9N0CvUZ0EpuG44ikECbvkdMGY145RP3JdHaDo19s2stqfm8eD6n5v 5RtZLQDdBdbfYJE0CaCCAUTynEza7kGlCwyjdK4q5cfZ0JRJXxaKlKTw6sNWwHazuseL aGN81LR8XSr9UnZFpHAHN76t0GCWwL/QRxtwsyNxFP6JrhKsdWBdm8azXvhA9uPRzEGT YS/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RKtEGk4J; 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 f37si5524122ede.11.2019.11.14.18.36.04; Thu, 14 Nov 2019 18:36:29 -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=RKtEGk4J; 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 S1727372AbfKOCcO (ORCPT + 99 others); Thu, 14 Nov 2019 21:32:14 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:38608 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727053AbfKOCcM (ORCPT ); Thu, 14 Nov 2019 21:32:12 -0500 Received: by mail-wr1-f65.google.com with SMTP id i12so9254490wro.5 for ; Thu, 14 Nov 2019 18:32:10 -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=DsTkCQ/ohhtSbtgPw9/+ZG8W9s9T76Y4sc0b60saEW0=; b=RKtEGk4JEwBV2XhqkozLTQH+k9FfYgGr/z8BKwXVlepZDcnpMJqb8bSIPvlUdaEHsc MXBJOTicMekRUJHdoejg5cC+w/5pwewboyNPJQ+poIFU/0uJy7rXSr7CldAG1qgv38xZ L3qChf52eu6cKLxo1cNlFb2ZPCKo+tCVzU18new65p4ZuQPuk6EdkmViRrMteJWd+0r5 2tRREkM95aH8fQw0znal756wVjTbWXbwXdwPjWnpkiA8YVemLTLnFUY/sSU+zWdLDtB4 p/anBabp7Zd0jfjMjx16HYllxMEfGq8HPIBG9DXJRSJiEhj3PrfXvRjZZsh8m4jEvI4E VD6Q== 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=DsTkCQ/ohhtSbtgPw9/+ZG8W9s9T76Y4sc0b60saEW0=; b=Xumjyd7uKI7N+PRWTkpGs2x6Xti9V5ysFKzUlfZcIwXZvu5NSU1k7uJv/EaVn0KibR KewSC8zfhEWRsdg/vecStHLbkar4+XzB9pUdvq+6NsDTYrZByoNBvOn1QvQntodLpVDz VxBcQ36z/b2TZ8FAvi5lY7d9HsjfXDchV3o5ECTQkTvYInvv5T++aXYGEtGySN2IkSOJ D+ID4KcRD3cins8B9gPIfaynQCTlGsrBD0GTN+Mx2KjCfy8j+8hvMGM9hSfDyS/cBbuT WEptsu97IuT11Xm2rpQqbPgFopyJlJFTdz78XfWmp0bxOp4a8mByk4ggnTXJuJAkJjtT kuUw== X-Gm-Message-State: APjAAAXpHUWTIOftrtN7S2xUl1C9gB5IKiok86JbTpvN558LRpb57VxX wOknop9ra2Xb4zhc0NtKaOg= X-Received: by 2002:adf:c00a:: with SMTP id z10mr12452590wre.81.1573785129787; Thu, 14 Nov 2019 18:32:09 -0800 (PST) Received: from N-20L6PF1KTYA2 ([131.228.2.20]) by smtp.gmail.com with ESMTPSA id o5sm9294252wrx.15.2019.11.14.18.32.07 (version=TLS1_2 cipher=AES128-GCM-SHA256 bits=128/128); Thu, 14 Nov 2019 18:32:09 -0800 (PST) Date: Fri, 15 Nov 2019 10:32:07 +0800 From: "lixinhai.lxh@gmail.com" To: "Michal Hocko" , "Ralph Campbell" Cc: akpm , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] mm/debug: PageAnon() is true for PageKsm() pages References: <20191113000651.20677-1-rcampbell@nvidia.com>, <20191114135948.GB1356@dhcp22.suse.cz> X-Priority: 3 X-GUID: 17C6F490-B4FF-4295-B405-E35367296597 X-Has-Attach: no X-Mailer: Foxmail 7.2.13.365[cn] Mime-Version: 1.0 Message-ID: <2019111510320597353014@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 T24gMjAxOS0xMS0xNMKgYXQgMjE6NTnCoE1pY2hhbCBIb2Nrb8Kgd3JvdGU6Cj5PbiBUdWUgMTIt MTEtMTkgMTY6MDY6NTEsIFJhbHBoIENhbXBiZWxsIHdyb3RlOgo+PiBQYWdlQW5vbigpIGFuZCBQ YWdlS3NtKCkgdXNlIHRoZSBsb3cgdHdvIGJpdHMgb2YgdGhlIHBhZ2UtPm1hcHBpbmcgcG9pbnRl cgo+PiB0byBpbmRpY2F0ZSB0aGUgcGFnZSB0eXBlLiBQYWdlQW5vbigpIG9ubHkgY2hlY2tzIHRo ZSBMU0Igd2hpbGUgUGFnZUtzbSgpCj4+IGNoZWNrcyB0aGUgbGVhc3Qgc2lnbmlmaWNhbnQgMiBi aXRzIGFyZSBlcXVhbCB0byAzLiBUaGVyZWZvcmUsIFBhZ2VBbm9uKCkKPj4gaXMgdHJ1ZSBmb3Ig S1NNIHBhZ2VzLgo+PiBfX2R1bXBfcGFnZSgpIGluY29ycmVjdGx5IHdpbGwgbmV2ZXIgcHJpbnQg ImtzbSIgYmVjYXVzZSBpdCBjaGVja3MKPj4gUGFnZUFub24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