Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp344069pxt; Thu, 5 Aug 2021 00:47:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyfkl6sdjrC2AOjvgdMwN5NodNrb3ljZG1YCcxsx6EmEYZgZGO/EYsa1vwGqOCP6FxAvbd X-Received: by 2002:a5d:8754:: with SMTP id k20mr1883012iol.160.1628149642111; Thu, 05 Aug 2021 00:47:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1628149642; cv=pass; d=google.com; s=arc-20160816; b=MgIXNUqrEDUiVZNHfX2N9htSZebOQGsa/dGzA/BnX9LJYxSOBVJMJex8Kv2+vFTUhA 5eLQI/g6Tor0eEBbXGXW4b1ZmhMKcnlQlL/D+7UKSSFZIBoqkINLVACB3ckeHqjW2QFW KArhKO00q1CbR+t/PytcrOR4kF8UEu6hADntM5aupxLBRIMabH0DbbcfIODCG56tY89b JSX/xJ0g2lhJMCIofvj1yOYgnvbAUfEKggbfOpbnvIT17ZTpVHVdSwrj/qBNH8ET9mJD snGnTC73mK4uA5fRB58oG4uS7jukZLeVSVEF1KUWJ5bHpOr9EgVWxtskhAeB9M75L+ih oUjg== 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=MTUP2sWyUaVKpjlW6stSffKv5Y1hK0djn6P8O/STMOI=; b=Vwrud1LdDum411OnCETKpJfnxu6BV3PrBOfs6kNqDBREVOuSbsomOhRz8HVewZxpQy 0qI3hNtRyphXx1OsOC7mw5M0lVy/cr7aXCPSOGkCP0Ou1N0/d4vESNoLWWlSbMf+pgiZ Hb7AJfs5df0dUC+wp+Fca8OzLy9T3jw96rHvciv/6IQPNFQ7y2PMiawGM9mZCQZnM45K 6sBYX+Oi8SFDwGftkrLZ74Xp4Sp3yUd2dg6kerZrHHPqPfRErE9PkTcgtZwZvAxmblvN L74h5VtaPo21IOjqybGl+KxmqAicPZ3hT4JAUBMZWjkTFfmMs2MagQbwpquMieAqa6ZM +MSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oppo.com header.s=selector1 header.b=gdmGDTKU; 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 l6si4768680ios.26.2021.08.05.00.47.07; Thu, 05 Aug 2021 00:47:22 -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=gdmGDTKU; 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 S235466AbhHEEuT (ORCPT + 99 others); Thu, 5 Aug 2021 00:50:19 -0400 Received: from mail-eopbgr1300078.outbound.protection.outlook.com ([40.107.130.78]:21760 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230337AbhHEEuS (ORCPT ); Thu, 5 Aug 2021 00:50:18 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MvzZ7/Zfg9bcyaiYhxxMbqedPs9XZTmTexFF/z6nwmwebh7L6l9Yn70duxkvEpd4bQSjeVo2ObvSUyhYpXaY7ldN4nVIrLqRnUF6IB0cE6MLiO9DUkUdHgfmxbvnzNbkdzT29uRmCC81vv7O0rcDu+wn+PzbDaJoJcCzEL6hpzGvm+z5p2W/jiH2ctwMwbUgauJvQdnxwxKwIqnvUeuz8b6c6AkpxIB0LaVQ820M3n6Zu9lK+9IZ44sdwSAybHZixeu9pK3AOq1Om7kTIlIf3pN17U8FisO4oqbOm0D34ga835mU7/h/PWg1tGWMmCFcO4BrusggpUonbdpeM1L+7Q== 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=MTUP2sWyUaVKpjlW6stSffKv5Y1hK0djn6P8O/STMOI=; b=CxA0iFaTm8y2q2wx7yTpiGrShYNn+cgzv9V5Cl3i2MQPrGGKtC1BRjdum1Cm+IfjQ5t2HnwN81BFVs24/4ydhlpdtpRDoNv8NzkkNISeahRfHVe4qQj0kd/1jk8z8F+3QSmwueGN1I3ig0yNXKh4CTJE6vfBlSfMW72EdLCVYHgxjfuHIGi1ao95mRJH6psqoOlTU5uj8HiZnh53BeKevpbqokuf79+qRw8BLxkdpNGljGW1KnJ4pqFO8U4wpvNZzyrS+zsnpsBeWWzYK5gsgbpFwYLiOu0o2CTOAfZGsYXORYXdQqi7CMLekhSZNcSmB8sNSSNZmfraIkrtaunEwQ== 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=MTUP2sWyUaVKpjlW6stSffKv5Y1hK0djn6P8O/STMOI=; b=gdmGDTKUaI3wk/9pkXCqYM1rO9x0U4GIiddMwfbxnDCs7KAc24xwMMlSqKMTu2RFkP7Sxl+DrnyK9DEkB1iINjdBDsAaV1t8Ysq0ut8+R9lPaxf2aBfQfeBBYUDyDgEUut2N33OAUa9Rld7gbHUViyRY5xmyrD8dOPKNDyOYffM= Received: from HKAPR02MB4356.apcprd02.prod.outlook.com (2603:1096:203:d6::16) by HK0PR02MB3428.apcprd02.prod.outlook.com (2603:1096:203:3b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.22; Thu, 5 Aug 2021 04:50:01 +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 04:50:01 +0000 From: =?utf-8?B?5byg6a2BKEt5bGVyKQ==?= To: Andrew Morton CC: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "linux-man@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: AQHXiQmYnOv2MsH7ykqpGVqJzSg8G6tkKj8AgAAuXwA= Date: Thu, 5 Aug 2021 04:50:01 +0000 Message-ID: <804fa82c-74cc-e634-381a-8f8b0b1e3227@oppo.com> References: <20210804082010.12482-1-zhangkui@oppo.com> <20210804190402.8b9dbac3c4f417945c6d1de2@linux-foundation.org> In-Reply-To: <20210804190402.8b9dbac3c4f417945c6d1de2@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: f11dd96c-bbea-471f-a3fd-08d957cc7bda x-ms-traffictypediagnostic: HK0PR02MB3428: 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: CsQMdb2FprIo35aoRUcpf8CLlC7fguwuwNKhxlvRB6HcizQdjzFh6DSaxzqX5cs5h78EbrmjXDo9rGdaGMrICIM6gMIJjfJKaG0xEAgmcCTA68q2cRYOkd0D03aJvYJhLv1ypXW+/Eq0F7rzzr5X7/r1b4keauSAYmlm3ZCpGymZE0npGHuS8MWdsRjSyrXiXBsi+P8TySOs6rfFWI09DjnDyOwc69ILEeXRRohIZVDImWgIhdUt09YSZEveO4fnDVrmjT6do1a+KIiBETts41ToY2p5V6bA9lQNEoQZB1wilymJoNaq/2S+uGfhKM7MXKTb2wsp7VLV9clXcA9LSr8uTBEraXpBwyVejFKXp5X4T7FwPF8lr7iFeqKgz1NOHARBxQmHP6ZOt2o0zTb7htxIEx3yeYhG3Ex76eUfZVp80tz5umw9iiOHFNQQtwr60Ugei30tz92lKhFLU19ynlYc5A3NnT2FkzJerD81+zvhQeLQzzhJ3ofy5PQFVnO8Eo7Knx26ibdM4QxfI7zirRw50G2nOBkqCUkLpWUO+gnc2ifNKda0MP8TWO9Zi4Hz51d3javuKlAzR5njUY1CgHnF8+ELUvQoOPIb8vamEAcITEoxx+mPS1dM+hIl1lMoKgk9SewgElqqnigGKR3q9VQ6VasnN0q+TizUHqIeNSn9E0k6e03RFf2q+qLwvR/AhZ1TqnRkRnIaLRIzESyXY7HShztUahNMlP/zb5i1RPy/2wX0hnfX3Pznw4DKruIl9sNA+Lsp/2swIODYkzuu8EFKqrVLeARKhUy/ZrCUjdyndQP9xNichQyHrsx1SMte/JHmYT4JQC+w5AiGrNb2Lw== 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)(136003)(396003)(39850400004)(346002)(366004)(376002)(4326008)(31696002)(66946007)(316002)(66556008)(6506007)(2906002)(66476007)(53546011)(66446008)(186003)(64756008)(36756003)(6916009)(2616005)(38100700002)(85182001)(31686004)(54906003)(8936002)(86362001)(966005)(122000001)(38070700005)(71200400001)(26005)(83380400001)(6512007)(478600001)(76116006)(8676002)(6486002)(5660300002)(11606007)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?eEltcXhWQXBRMllGQnVoalpqK0ZjMU9lRU9HRHVFY0d0TXJrc29Nb3N3L3Vv?= =?utf-8?B?aDliWDhOdkUyUG05MEdIQU53WmFsUUp5RDNuMzZ1R2l3c2JDNzJlV2ZjNVQy?= =?utf-8?B?d0FEWWxiOFh1QmJIZUFqWXd2dUoweDFpOVRvbllBL25ia2FnMmIwSzYwTUp6?= =?utf-8?B?b0lrbTlkT1grQTdoZHY0dXFiQVRhZjNhNXM4NUJiK3VPSXNrVlJoWm0yVndX?= =?utf-8?B?RVFFczU2TmNuWm1VeTB1S1dZeUEzRGNJRFM0aW1HRHJhVzF4VExBVjdCdkkz?= =?utf-8?B?MHhBZkljNnR2QUxOa0JmNWhWYVl3cTN5UlhzVFpQZ1FEQk8rL29XSWcxTjhr?= =?utf-8?B?OUVmQmsvWEYrMUFUd2N6ZVllVDcyTW9Fa2hwNHhhKzVPeDluL2YrbThlTVNC?= =?utf-8?B?QnpxV2c2Si9MVEtzS3c2QVVsYTRiV0xwekpna3JHWTlqTVZ6Ky90UmRwRG00?= =?utf-8?B?Nm9VSjMyWXFPM3FsYy9lWUZyT0hxNDNaeHlDYmNJSC9FdDlhOC8xdWFHMk5w?= =?utf-8?B?VENTSHEwSThLSTQ5ZHBieEpLMXlWL0lMSHo5eDdoUWJiUjFURkRwVlZBMUR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mpoZ21uMkhIN21yZVg5?= =?utf-8?B?ci85ckx1eEs0cnZGajE2dGUwWGhwRWtLcUpOdnJFYUFSbVRZTHN4MnR3dGNB?= =?utf-8?B?aGI3K0pNUzRjTGNkMWFvQUJVWENsWGpwZmdaRkR5VTJRU290a3RwYllIbWxC?= =?utf-8?B?Wkg1UjhjSFZiVUpucGZ2eEttNnlGek9WUDYvL0pBNlhkb0VsbENpY3J3ZlJR?= =?utf-8?B?MmV5RnhwSFArQk1WZG5OU0EyMVRrek9LUmo4SUxmb2ZzMWk2TEwrUzBWZ3ln?= =?utf-8?Q?EcJ5/JD/+XVgkJ3NY8=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" 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: f11dd96c-bbea-471f-a3fd-08d957cc7bda X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2021 04:50:01.0904 (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: q8CJq2j0Wq6mm/GLRb5LZ/HwQlUZvq1ui2HxUd6C84+LDXG35y+9E6KBVsoTh2PBpxSFP1QUYABZUeadwWMn+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR02MB3428 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gOC81LzIwMjEgMTA6MDQsIEFuZHJldyBNb3J0b24gd3JvdGU6DQo+IE9uIFdlZCwgIDQgQXVn IDIwMjEgMTY6MjA6MTAgKzA4MDAgemhhbmdrdWkgPHpoYW5na3VpQG9wcG8uY29tPiB3cm90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