Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2537918pxb; Fri, 5 Feb 2021 23:28:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz01aopcL45tHTQAKSUPQY/g0Kg99cTou8YImBHt1yNciECPKd+15emoK4c5VfDdpW1Wtc8 X-Received: by 2002:a17:906:d84:: with SMTP id m4mr7726354eji.437.1612596534831; Fri, 05 Feb 2021 23:28:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1612596534; cv=pass; d=google.com; s=arc-20160816; b=xuaL+0AVjYpKTm6SGMg1nGK5V0Vi/xGJSHAnhc2JNdOCiQgP2aUBd7nmmAk5E8SPJc uGqD2qUgPLjSojTygFQIexBohyiB0pJmeUWWuhB/IDGRRomPcf0QmdcGV3ZywPSFiAaX 7RcrMgQGjcpHVJAEeeZlK8rQvysomov3y/rnrOChC1E8SZyY+fYTXt94i6bUn+FnxfA+ uLbMDb9Eh28vo4BcXLdkgMVNpdAvce0OvnzMsadBoaOmiT5UMgH9zM6opNs4crlJZiIe HxxTOktwgkzZQPyuI3bT5JTXZXFbcJ00nEr8A6VNHm3JlanPK+bdcuvlu84o3NkunW+B ei8A== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=kZW5Xh0eSH7Mg0L7El/nwcNifCosb02pzFxyleMsXR8=; b=TDtJBjoy0UMN5wwnmpgvHnRi2uVnxnqmAs3MygmbcQhRswMxr0/LCHc21EzNQGD5g8 EyOkA6yEQROrlV+f5YT642okM/o/a0bW26sYdIXd210GDO6E6re22uBillkpP1bLgInj weTPy3meXPQCyeoDz41j8tdJJ8ndnxHHcBisLA6mwXYCWp1mau+wONPZmKjY8sDQZcbD kqC/p+gv19VfMuwpR5t7yo8of+fSq501QI7J1IPxsjWGNbmYf/gUDMtmipMsrlaXalga NqluJsOxE/uWifih8EqP8J1C47PbfdOqnW4pw4LOX+jR2okUmbHghSm2xNmD4F0HlTVc 0uSA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=dNSrdLWn; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q27si4387969eja.338.2021.02.05.23.28.30; Fri, 05 Feb 2021 23:28:54 -0800 (PST) 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=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=dNSrdLWn; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229690AbhBFH1R (ORCPT + 99 others); Sat, 6 Feb 2021 02:27:17 -0500 Received: from mail-dm6nam11on2063.outbound.protection.outlook.com ([40.107.223.63]:57824 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229492AbhBFH1J (ORCPT ); Sat, 6 Feb 2021 02:27:09 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZGIP9bTGVRwHYjnwFrqK4m95xgMgcdKsjo0Ami1NaZzm01IgbUXCgE8d2pS7e+aOXbE3tiIGj0I3MEUiSZJ1Ydw9RySOH4GS6dQSD5mfdkGjSDZZMsn7L/ZlSJV07ND7tYsRgJxLsrDaFRI2+IZRiY2dViiFk9dQnsX08mXGQ3b/S1ofb+BcI3EdU2ds2IpsH3+aoB82M46d3d7QZ3g9Zp+YaDfXrLeTUfR96V/TH6dn6bxOk5w4IPgxR8t2LE7tY04TIN7WFRO5xxn7Ybk7avfY9eq8Arl2O5FtT6YgvbFGlWBVNjlYm8aXHeBzMFHQ3dmlIr+CrtsSsHzpV+/kvQ== 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=kZW5Xh0eSH7Mg0L7El/nwcNifCosb02pzFxyleMsXR8=; b=PugTnxWa5rxKaZwOo9ZO75hM7ArUciSBrIfJ66N/onYTKuze9mYeg6J5M7ttlaPNfr3A3H+ZL91MOtksjqRDjSiEAfNILridNuu9XMaV+/gNVMkihhLxQZyxu+JkTgszFi3ZH3mJW4fy/LxpvPq4aRGg5JtAo8gSwzdUc7A9tVvaFKxNKk+KZkR9cgTHokijNzhdLPaMOgJI9Cmo3a7lp8LgFT+u1hAr2UsYesFW+kVRFwYlUmBH9OjZeNRGmTbTwVOsdrv/i6aoqEDK3LVRUOuzqSa/WNIwKMT7/p1DVKD8U3tmaN90TQyftXTZy+gx2khw+9N/gnHp84m5yhi3bw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kZW5Xh0eSH7Mg0L7El/nwcNifCosb02pzFxyleMsXR8=; b=dNSrdLWnxBUwUy4/kWqSRnjWbWqh0vfjFKCyOEYXGUf6hIsFeBZhPe2PLwRK7N9cDa3rz+qyciCeiN8yh8AvtCx6roG01ZdclFaPcpa6FHwAbDYP53+EApwGhLUQ4cPvdYHcNSkFV7kfkeRKsEegak0uvLjZPIXIhkeKwQcSz1Q= Received: from BYAPR11MB2632.namprd11.prod.outlook.com (2603:10b6:a02:c4::17) by SJ0PR11MB5039.namprd11.prod.outlook.com (2603:10b6:a03:2da::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11; Sat, 6 Feb 2021 07:26:18 +0000 Received: from BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::89a3:42c3:6509:4acd]) by BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::89a3:42c3:6509:4acd%4]) with mapi id 15.20.3784.026; Sat, 6 Feb 2021 07:26:17 +0000 From: "Zhang, Qiang" To: Uladzislau Rezki CC: "paulmck@kernel.org" , "joel@joelfernandes.org" , "rcu@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: =?gb2312?B?u9i4tDogu9i4tDogW1BBVENIIHYzXSBrdmZyZWVfcmN1OiBSZWxlYXNlIHBh?= =?gb2312?Q?ge_cache_under_memory_pressure?= Thread-Topic: =?gb2312?B?u9i4tDogW1BBVENIIHYzXSBrdmZyZWVfcmN1OiBSZWxlYXNlIHBhZ2UgY2Fj?= =?gb2312?Q?he_under_memory_pressure?= Thread-Index: AQHW9wfxGJ2IWJwsv0i2q1lIZ3Sxz6pDuv2AgACRBPmAA3GuVoAAAJfFgABSfgCAAm7hHg== Date: Sat, 6 Feb 2021 07:26:17 +0000 Message-ID: References: <20210130131851.23285-1-qiang.zhang@windriver.com> <20210201195753.GA2026@pc638.lan> ,<20210204140956.GA1904@pc638.lan> In-Reply-To: <20210204140956.GA1904@pc638.lan> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=windriver.com; x-originating-ip: [106.39.150.133] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1d9fc722-a179-4397-fdf6-08d8ca707e79 x-ms-traffictypediagnostic: SJ0PR11MB5039: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BfbSxQ1075TsI2gbn2qkZuWzKYCki3CovW6tmTbpSMgS1AYi8ousEt7k+tIlYHVIdm+krJ3XIBvARSMGGR59oeBjrrtCJqCEC086RzMdPatHS9W8OwyLb5KXoPawE8u0ovBBVKKVlabhp05VaAmty08mbz2nszBs0cZZxe7h/By1KCK/NUWLrcY4StXEiTQhMEgkQp1U+2JMSD5+9wpAC73vzvuZMLo7natbf5wQ0Ma8MjJoV4BTjuzjGYt9yQ8qVGpWkFS6rLo/Q2Vv28jCbIaJlaxdyCodfeG/fvH+km/3pbdTijPtSPIoAmghzKRoR4C85RUX7qfpodVznyqKShqbEUNNUsXqMm1ZoO0VPha/EXz8jBozcRWG3t2HP4A3+VF3LzN4SH0M0b/wkV6VstH7vgSHDEX9TPeMwY/st1ERQ2XhCgd9AceLA5Emh1RPqDPADaFedjRLzRvFXJRWoG4gIJkHICdnOaYuvHbGbGsEgNc+eNNtuHhj1qdN1MX6G3zbqSLGf3uMcN4RZiwovBeTi80QDcUASxzvcGs2jFVCgqDXmk7yqFf5y4RLoRnOc7E6yxaRNLra7yFaeCU2Sp3z45D3IsWghz1wLfCi2Agqt+XODNFU9llv/p3pkJpP+DSl41icZ6reEmbsbdLsQQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB2632.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(376002)(346002)(396003)(366004)(39830400003)(8936002)(55016002)(9686003)(316002)(33656002)(224303003)(2906002)(4326008)(7696005)(5660300002)(76116006)(52536014)(86362001)(6916009)(26005)(478600001)(71200400001)(66946007)(83380400001)(66446008)(64756008)(66556008)(66476007)(54906003)(6506007)(186003)(3557205002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?gb2312?B?eDBMUkZyb081NXF4MkNpcmoyQXBwc2lCOWl6RGhKU0Mra281Uy9XKzVtaFAv?= =?gb2312?B?Z3FpWEdoOWtPR0JQSFVXZTAvc2NEdHpTVXBEWDZKZmJ0aklYZmY5QkMrZzl4?= =?gb2312?B?NTFRQUZOb0ZBYXJxRDdkVithNUN2M2c1dDVjWWV0R2J4Mk1NN2IrWVgxVWZm?= =?gb2312?B?QldMWjVkWWtLNk1kWld1RFNiSkhnaVV0bThvZ2RHaXFwMWRGOGtkWTE5NXI2?= =?gb2312?B?T3ZYYVhOSUN3WTVqTjFMakpEejBGd05NdjRESkZ4cVVrY2I0Z1VnTml2bUFJ?= =?gb2312?B?MFp3OXE0RmViV2dWMndUWk5IZnp1Q0lScUh0N1N0M2hCMVMxb2Z1MmhRSVZu?= =?gb2312?B?YXo2WjVIT2lHL2R3b2FpWTlsMFNRS2M4WG1uSU4ydEs4bVVCVGtNbUw5MW5V?= =?gb2312?B?dmFodkJMb1dQaHNhWWMxLzhUMyt1UmFOWkxWNHFCSHBEMWFQbHJZT3dXVXNk?= =?gb2312?B?QkQ5bnJLa0pFRmUzVVR6RW15d25mUzJDMy9zeUdLUHdMU0pVZFZMeDQ5MTBh?= =?gb2312?B?dkwvR3pZV1NlbDVnSERCdXlCaUp6bitqMzQraDV1aTRoUG5OeXVvcXFxZVpD?= =?gb2312?B?MGprTXVoa0c5V2lWNXlxVVp3dTByS0VZbm56dXFzeG40Q3dwRE1xclFjRXhE?= =?gb2312?B?TDkra0M5Y3ZyTzVVUVE0eG1RMjlodytiNCtzc0dDNTAxYlFodjhYYTh3d3RX?= =?gb2312?B?K1N2Q1U0aWM0MlNadXh6W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RMdUVRZGZPWFhlYWthOUYydUt1aVZ3VlJ4R2RtVzl1alhSRXdiVGxFd1hu?= =?gb2312?B?SnFpa01DRm4vUzdYRUg3ZkdEdS9peFZ4RWdlUUJCYStjREpGRENuNk1UY1F1?= =?gb2312?Q?KLQ2Esl4VTBn7wpp9o=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2632.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d9fc722-a179-4397-fdf6-08d8ca707e79 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2021 07:26:17.8967 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: unPJzmM6wo/e9YVYCt8qxjlXQNyJ//5/tX7tujEEGIdJdUmdlfVaofLn+FR8CU8D9H3GAGLoiTfTBj9Ka8Fj7c3d7eps+xaGS7gy7g3d43A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5039 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCreivP7IyzogVWxhZHpp c2xhdSBSZXpraSA8dXJlemtpQGdtYWlsLmNvbT4Kt6LLzcqxvOQ6IDIwMjHE6jLUwjTI1SAyMjow OQrK1bz+yMs6IFpoYW5nLCBRaWFuZwqzrcvNOiBVbGFkemlzbGF1IFJlemtpOyBwYXVsbWNrQGtl cm5lbC5vcmc7IGpvZWxAam9lbGZlcm5hbmRlcy5vcmc7IHJjdUB2Z2VyLmtlcm5lbC5vcmc7IGxp bnV4LWtlcm5lb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