Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp296933pxt; Wed, 4 Aug 2021 23:20:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZkyfZjIYsggn/YeUK1gl7JMmhvJn/oiWh8Z7i5Kg2hIk0+kl5dOtiTazCUn0mhpS37Gw/ X-Received: by 2002:a17:906:3514:: with SMTP id r20mr3182985eja.351.1628144439493; Wed, 04 Aug 2021 23:20:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1628144439; cv=pass; d=google.com; s=arc-20160816; b=uwWK+Xl9cML3YrfXRcCe70gZajOvaMGT59UzFJtQXGQliMUmcCTwT3Pq95CcAejNVW Rvhs6QnsnhZExTOdxRF69mLGGEbkpKoF3vpeLI4LgjFbVpSmMm5W4WRnX27uiftdQqUX mvRHAnGuNli00JOQd6p3YEjVxk4oFb4XTPqGnigUjTq8yiXzP1TFPviqkdhsMGeOPxwv TbqYjo+SsZHGACOYd2LoNKlVwom30NbLmOKBoEP4Fo00mi0C8eyJdyvXzwIGGXy6X6At lI6M/r6FgkFiY28D590IIRxQ/CJVV5hhFl+8S3pQTRc7pva9LntunlgUsDrEduCRANnS 3HsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=BComOKua7zRWt6k0/JkThn4McI3EwhMMZk6ckDQ4hfQ=; b=GlZa1h2nzxYuanOA53aZW3oBp6Z2h7ulio5jGLL7oUd27O47Ghc72tZvxGafcJ5HQy sWNe1w8Vc0naBvNWUQu/rbs5H9HGZ3m/Iy/b0BP2j9cW/1sLrqAo8WzXU6ZIThALg5eP DnoE0Nj0jFZnMnpVHH4Wk9bCasQI+/lnOWlemuurtEbuXek2Moo0KgdMaZ9cQt4In4Ck ole3d+UFompfcRuc19eHObXr/sfDTsDf0y+rE8q8Aw4C39Swo/Y2lNNljchFUp25jqDX wQMIbb6p9xbGwu+a3OrU1nU04SZTyBPuOdVRp2SbJIpMFXEjtGISJVOalq/cNwNvbug6 dQ9w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oppo.com header.s=selector1 header.b=CV4GWOFg; arc=pass (i=1 spf=pass spfdomain=oppo.com dkim=pass dkdomain=oppo.com dmarc=pass fromdomain=oppo.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oppo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si4881544edw.571.2021.08.04.23.20.16; Wed, 04 Aug 2021 23:20:39 -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=@oppo.com header.s=selector1 header.b=CV4GWOFg; arc=pass (i=1 spf=pass spfdomain=oppo.com dkim=pass dkdomain=oppo.com dmarc=pass fromdomain=oppo.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oppo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231359AbhHEC6j (ORCPT + 99 others); Wed, 4 Aug 2021 22:58:39 -0400 Received: from mail-eopbgr1300072.outbound.protection.outlook.com ([40.107.130.72]:42152 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229609AbhHEC6i (ORCPT ); Wed, 4 Aug 2021 22:58:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PcXAh4R1J5FGLk/K2IQb0rpJKhPY3yp3mHwlLr/92/mvJfRWUClWn6/xcfJ2pTJCPFHbiRpIzPYdSoQQwFEXXxbmbASh3TEbC52NYL5LxKniXrIzMjJzXtdNZ3pLEZFNFUyRzD1TrQxPm0msxjtMY2uHwikncOYh0t0AAUH2GBAWcUESNHlH1WO6hKsMAKyDwly12N4lxn4n8WAFXuVp4TBkMQ0IRXGlf5AHsqbMoknbiE7/K1wp0aLeO/M1LLEzH0FqfHJM2bFu2CJAuNseKM2VLrWcORzaY9iFhw9WSDKny6pL+2ttFMEPq1Kfbkyux4X/BN7l6NDUl6v8FkWC1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BComOKua7zRWt6k0/JkThn4McI3EwhMMZk6ckDQ4hfQ=; b=A4NMwKoA0GVRfcMMT/r76qO/p8RXFq+ggWysh2fI/Oc/dnETnRBOwokNcbxa/dbL3kovNtgnMDkybttG5mgawz1/MJXCga6EzLRcymlksipCGjoYgT17mIttcIpJmcPzvYs8q6jbavHx/t6vnvaCvVf8NWnjPjWfMchUwAfHM4jbbz/M4ZR1viTJP02Y5s5zXhN5TdtwwWqTJr389BqAJWpyTiP4Wi3vb3VLETx0pD3a9eeFohtjyZSLOkaXNLIwHYqXJ4x9ga4XXIb+XNQUdSIlTYYpvwbhTdfI3xV66/UFbZTeYoomwmFNbL0/1H5tC55BRs86t3CH908MbKVDFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oppo.com; dmarc=pass action=none header.from=oppo.com; dkim=pass header.d=oppo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oppo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BComOKua7zRWt6k0/JkThn4McI3EwhMMZk6ckDQ4hfQ=; b=CV4GWOFgS0BlgNzc+LxoloX9IGkTLcramSr6q2rC/bYOq+MWoYwZqV5hgVsaPLTzwzokrnQyDiK3neXIl/urYsxyIRwOcife2XSBuoe64zXokovbQTfxXc1g8OdKEIHuIgxLUAiRFFbQ1nH9sMF9iGbnOLaYy6RZHbCNBDOzuas= Received: from HKAPR02MB4356.apcprd02.prod.outlook.com (2603:1096:203:d6::16) by HK0PR02MB2785.apcprd02.prod.outlook.com (2603:1096:203:6e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Thu, 5 Aug 2021 02:58:21 +0000 Received: from HKAPR02MB4356.apcprd02.prod.outlook.com ([fe80::d4ab:76fc:6326:a0eb]) by HKAPR02MB4356.apcprd02.prod.outlook.com ([fe80::d4ab:76fc:6326:a0eb%5]) with mapi id 15.20.4394.017; Thu, 5 Aug 2021 02:58:21 +0000 From: =?gb2312?B?1cW//ShLeWxlcik=?= To: Andrew Morton CC: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] mm/madvise: add MADV_WILLNEED to process_madvise() Thread-Topic: [PATCH] mm/madvise: add MADV_WILLNEED to process_madvise() Thread-Index: AQHXiQmYnOv2MsH7ykqpGVqJzSg8G6tkKWCAgAAQCwA= Date: Thu, 5 Aug 2021 02:58:21 +0000 Message-ID: <10168f82-6656-dbef-5a58-7b2aafb4ebee@oppo.com> References: <20210804082010.12482-1-zhangkui@oppo.com> <20210804190055.b484ab15587cc891683eafea@linux-foundation.org> In-Reply-To: <20210804190055.b484ab15587cc891683eafea@linux-foundation.org> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linux-foundation.org; dkim=none (message not signed) header.d=none;linux-foundation.org; dmarc=none action=none header.from=oppo.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4c3fcd98-b1e1-4d1f-7c16-08d957bce289 x-ms-traffictypediagnostic: HK0PR02MB2785: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FnYI2BNyfxBDUJPEWEe3fmlx6JM4Q/8xSQMG+bQGxGq90zMTLhHJnoSvZ/xgljhBfY6y7Ttp3mhBgNurFsMVGmL52YOW8e0qfvgZYXY4Gwngi0md3fe9UkphB23z53w2AVvqvfyYdnAw0Nc7V0WGjlAnfGY+w9uPr7BD1u33ZThxG/BDw1xtqY2+nDWotPgGGFEWr2090tVDY6PRdxpwUruH478j+EKxaqcNaA1LsV6HmwA0HZY6qdo0ivAutKkqUmAYUTixmksuSEVbLz4QraZag1kVvtOtdG3n3cn+BYAyA7REPc+RVw9npHRbb+l8afHPv04ZXPCOv2Bhg0ku99SK7P4Xj+Or36JcuarNdGmm9iIfwfoIzbZedO1eawgfGpMTTEjYBSOYpg9UXtQ4Ay1zm4cSXyGh7XGLdkn0lusXE8nQhef0F6Lp1YRz88Q6JduAa5jb1aEm8l9Jt8ZeHQrjcGzilpgmehT1O1tzs53cc5HKYp5O6pZd1PN08hI7Lc0zJIlZJHYBhPrhsrOGrDfzrHtBr09pdUv8ULd7rfEvCUqwdjJYqeC9InUsMCcY1/w7muzO7niJrTJnRA5LTQkCk5fTBdMzGztZpdGrFjdfgSx+Tl7QFd/e1xxEnue3OoZkvhLZlRCtZSvASwvlI/vgH3+lbzGNXfWVSbXamjbnoDPdGOG+0V+XmqKY81abCl0hUwhMObG/2FTbcV/vL7lHjMSTxQGkVKEjJMXaoJVbI93nNIUb1WOcE5in1gNR x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HKAPR02MB4356.apcprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(396003)(136003)(346002)(39860400002)(366004)(86362001)(186003)(26005)(6506007)(6512007)(83380400001)(31696002)(6486002)(54906003)(85182001)(8936002)(6916009)(8676002)(122000001)(38100700002)(4326008)(38070700005)(2906002)(478600001)(2616005)(31686004)(66446008)(5660300002)(66556008)(71200400001)(66946007)(66476007)(64756008)(316002)(36756003)(76116006)(11606007)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?N2FzenUzV1BteWFPcDJHUi9vQjEwazNoWm5xU1kwRlMxSjRtWU4wVWE3elJV?= =?gb2312?B?NERrVHJBekpZVlZvMHFxcCtJSzhTM1ZHRkxCc0JWN0s1WVF2blVNdWlsMm5Q?= =?gb2312?B?NjNGYmtkb3hwb3lDaExUN2R4VW1KdXlLU0ZLYmp6aCtiRzMzbUZwUXBjZllR?= =?gb2312?B?MkMzRlNhbS9qejN0d05UdCsxTVhlMm1iejUvVHYxYmRqVUZGZnFjcC9kZmt0?= =?gb2312?B?SW4rR0NhaFJPRCtzYS9EQVJJTGhhOElYZk43SUwxYllaSUhSUmFmNFluSHVx?= =?gb2312?B?RG9SaWJxT2YwMnBpMDludWthWUY1Y0RGclBLVXh2dlhMK2xLT2N6eEJhN016?= =?gb2312?B?YXoyYTlsL001bGFHZWNFa2h6YitINHIyQWZiZGYvWFpzelNrT3FxMXVWRXB3?= =?gb2312?B?dVQ3ZGpGbG95S001ZGkrdTl2ekxJbi9FN1hXeFFyN3pIeS9CSWdlTDc2MlBY?= =?gb2312?B?Y1B5N3d2MHh6d1haenRwRUI3VWVWclN2YXZYcGEycmlsZjl5cjd3d0QvNEFN?= =?gb2312?B?ck9ja2lVQ3Z0Rk5reTd5VWp5Y01GTU1yWVFQS3pxd204ajdBcm4xN29LZnhY?= =?gb2312?B?c0x1Y2ZBaEdHRTZnMlM1ZWd6WTBHdFRrSDdkaGswWU82UWFGWUQvUnhiS3B1?= =?gb2312?B?WHlrdS9adGRoSTEzcE5BZ0s2aFB6OS9ibXFtaEJzV01aQ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PRlVDclU5Vjk3bGpaaXE1dGlBVW1WMEpG?= =?gb2312?B?UGNmZXZiOUJiaW16c2EzSllCUGJ4bTRacHRGM0R1WXp5RVE0d2dza0dCUnJQ?= =?gb2312?B?SlprOEZnU1BLY1lpQ0xRbDJpQVNTZzBnZ1NINjhiTmp1OGdqK1l5RU15b3JU?= =?gb2312?Q?wYAWi2NSzNb54wgMCU=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: oppo.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: HKAPR02MB4356.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c3fcd98-b1e1-4d1f-7c16-08d957bce289 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2021 02:58:21.4171 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f1905eb1-c353-41c5-9516-62b4a54b5ee6 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: sc81SMmxvnHkakTFEGDxnbu6poIRtGJz9tNhZv96Pb7BP68pXLO4/Gp+3FpfSuja3d3cxPHhPt8YVnOWAKsGsw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR02MB2785 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 1NogOC81LzIwMjEgMTA6MDAsIEFuZHJldyBNb3J0b24g0LS1wDoNCj4gT24gV2VkLCAgNCBBdWcg MjAyMSAxNjoyMDoxMCArMDgwMCB6aGFuZ2t1aSA8emhhbmdrdWlAb3Bwby5jb20+IHdyb3RlOg0K Pg0KPj4gVGhlcmUgaXMgYSB1c2VjYXNlIGluIEFuZHJvaWQgdGhhdCBhbiBhcHAgcHJvY2Vzcydz IG1lbW9yeSBpcyBzd2FwcGVkIG91dA0KPj4gYnkgcHJvY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