From patchwork Thu Jan 11 12:24:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhiguo Jiang X-Patchwork-Id: 18953 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1408679dyi; Thu, 11 Jan 2024 04:25:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQvvp/VpSVfk29PToKs35lSBMmVKTJNzvDINEKcZKrJvZDQoEA5/DgVlfe42qGEfRkdA3g X-Received: by 2002:a25:874e:0:b0:dbd:139f:8f2d with SMTP id e14-20020a25874e000000b00dbd139f8f2dmr1183974ybn.38.1704975950296; Thu, 11 Jan 2024 04:25:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704975950; cv=pass; d=google.com; s=arc-20160816; b=RASbLnJ5EHHms+42VN3W9D4WQVflpgQr50v0MPvxMILnKvsEqeGc1BmhlK0aUd6qPW Wfzy3DUHZ6fK7zYaYlmqPJ7Z7keat2YqC6ONbLxpiO+Pm3vW9Y6QVA1JvJfe1icIPRrz b+0egAq94N+I95XHVOB3J5On07hzMshcod5Xp/MCYoXQ3acwA9sP0JQNwc14ysEDmapt qxVFVbfvAGIxWZxdqljKP25N74Z3FgSfP/ka3Ou4gWXOuTmVIt2KiyJrEl2icmbwTj1P v2X1+pYeAkLuHRu4lL3Bg4uaSeFFySnAr+XAuXqofYO5lEuCvO11zxVupvSfGusyFVAx GCdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature; bh=/MONQ5ooIGOhwMlVd57AaZEmedXnwBUN1ErV6/GWWVE=; fh=xS4yhDQBRtUjXUHyRRYP8Ar70VBQWRukaMdB2XHhdB4=; b=fzDGrjghB57zxQJJ6rFCqTJCIA1zc4sujaBNr+unhb59UX+F2uLvIv+h2toDjAR5gQ JJQ/1T1naTqQXRTeSLMSh4GB9vFLk88QcTjzDrg8QdA8mxrVg8hZXeaU4WqWoN/BRB4r 0poKLyZbmD0ylQ3QQw8ZwOzw9QAkdzIFpwpBcAIRNHNiJxFHORfhUSK2wuufvFlHtKgd Q2KPZyO0SXpGSRxzSM0OdMABdlVu+iiwfwjEfxyzxX+lyb2Sn52q02frbGQTV8ouG1TC 1bP6u2s7Dnv6pMoZJapSrGdkjpZJ7FZ4iKeeNcmM/vWuTXhpXy0KTx6qU8B9GSRBAXR8 uwqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b="BiX/OEh5"; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel+bounces-23582-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23582-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j7-20020ac85c47000000b00428301e8785si824980qtj.239.2024.01.11.04.25.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 04:25:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23582-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b="BiX/OEh5"; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel+bounces-23582-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23582-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 983F21C2568D for ; Thu, 11 Jan 2024 12:25:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B8F615AE8; Thu, 11 Jan 2024 12:25:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b="BiX/OEh5" Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2108.outbound.protection.outlook.com [40.107.117.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4326F156FA for ; Thu, 11 Jan 2024 12:25:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vivo.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EIFQSVdN24QoLOs30i+7AXa1KYzXFoTW0WmfJzkgB3KxC1H4+t/Uqzx0OkCE4Z+WTrneNBIjChQsj/m4TP1Bmbp5Kp9NG4ggNUtZuG8qFo3CREL6GZQIyYe51zhHlC1vbiDUPYnU6SMhUVHiHTVdyg33ALQnUhPDP7fTSQAIU7fxAZJhyR5uQ9EjtKx+1MDst8cnzTRtLSCbC2nnlLGn8BQYiGWHAKGY416UHvTxklCieNk5ysF8r6lnVuRCna/IynCWxx/9Ft2wTKOKrqPeZW0+Jj10cdG1t3hI5QdlfVTe+coCngjm9tGkkIdGjJbUbSwDch43fMpYnDLLHa8QNA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/MONQ5ooIGOhwMlVd57AaZEmedXnwBUN1ErV6/GWWVE=; b=R/MP6u6F/+IfiS3o0jI1R/Pw+eSyghHez/mPxuLNXKFVpY41zbq5LMCz484SmxPVp3QQXqwF+hv9pxf6uLwGT++R2DvpJPC7eZ2qpSvJGNPVdIOgbbqeEZvCH6+ZXEoANu7smRMoB1x2ubWJYDTrVhbTyeeSsHH12sV7PCzAoX3gaHwfemnPS0s5RKrEZw47pJGgKuNV4fEOVAG2Q2si8v4g3B111GdXNdsvxv/04R09/3fY5uaDB0dQR4rhTjBAS21y+bIdgvbt01sjh+WmkK4O1tWLWwulM0DOnnK2xAE87IvRzUHBaNW4NwBllf10FFLcPXEwD9QYsC7Eqp4eZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/MONQ5ooIGOhwMlVd57AaZEmedXnwBUN1ErV6/GWWVE=; b=BiX/OEh5Q7FNYhbAesbwg7oYxl78Y5HAJEMzxfm7SjsObpqTTzHlpSrWaC8RSpTAqTMhOXHQlH36cd+vHWspXhZV8KekZMx3rCc7CVeQjGkPrF8xNo7iNhVyxHl+OydQh+qlZQB3kj1JjkiXreA8l/Ss349TExUM2LgNHlmwtIm5bQE77h6WatmuiuqmYz3BrNnn4O93WJwlZo3za2WpelkUIdj0ZJSkOX0O5IKy0Pe64EaIelW1uROrdaDxhZx3/sj2Ks60srauM3xDG4emK9sID1BPp2pkG+/LD/Na4mMOODNWsin9pW4Nucy3OvLfINYgrTDgLnlmNgaZfi7MKg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB6871.apcprd06.prod.outlook.com (2603:1096:101:197::10) by SEZPR06MB6958.apcprd06.prod.outlook.com (2603:1096:101:1ef::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.18; Thu, 11 Jan 2024 12:25:03 +0000 Received: from SEZPR06MB6871.apcprd06.prod.outlook.com ([fe80::e954:4698:8499:da81]) by SEZPR06MB6871.apcprd06.prod.outlook.com ([fe80::e954:4698:8499:da81%3]) with mapi id 15.20.7181.019; Thu, 11 Jan 2024 12:25:03 +0000 From: Zhiguo Jiang To: Andrew Morton , David Hildenbrand , Matthew Wilcox , Chris Li , Michal Hocko , Kefeng Wang , Dan Schatzberg , Yosry Ahmed , Yue Zhao , Hugh Dickins , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: opensource.kernel@vivo.com, Zhiguo Jiang Subject: [PATCH v1 0/2] *** SUBJECT HERE *** Date: Thu, 11 Jan 2024 20:24:49 +0800 Message-ID: <20240111122451.682-1-justinjiang@vivo.com> X-Mailer: git-send-email 2.41.0.windows.3 X-ClientProxiedBy: SG2P153CA0053.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::22) To SEZPR06MB6871.apcprd06.prod.outlook.com (2603:1096:101:197::10) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB6871:EE_|SEZPR06MB6958:EE_ X-MS-Office365-Filtering-Correlation-Id: 7137849c-31d9-48df-d9e2-08dc12a0566b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: goKF228tjTNzjZuuui4ZaifjxvuzebVweLGYRRUkb+As1a8i6zFyPCo6+TlTPAqilZFkpez5NoJtTs9PybsxYGu9JPGjZdd8iFl2spljpV/mx6G+w01jjKL+/AjHOKsTQ+FxhSc8tGXluqydWgBivEyJhLRMNWX659kWqGZMh92MH1Djo4KJJusMPwHnNeYwALFmsBg323rfS07svlh0prFZpcoWROKY77pMwL7KrbjQkbHbwBQHoL3gdmlRLgepCrj/Mj1keVOHQSF6lAx1aPtkAYJdUCgNB2jDe7RMRivsL196H+6PpSQ24CDpC8m1E719pRbrn7nJylLWmEnBMSdNtruwlzMhLmU/Y9Vetf6e+yn6EI2TWE3BRHMajX6AcDLFgQXn4hoteZqHRE27E4XgS22/nZW2Q2us36V+VRwnQSq+fxKymUK7IsXTLpoVO75vDfJnnCPb5SJJl25R0W0ZRMmXMRzvZLxsRcQpR1BdvkN9qxAMPZj9sQAMxnt/T8/iUtS1HKueT7wsfyVkay3CXnPVk1WkqvO/R2pCDRco+YNjKkfzuEwJM2OvEattkf2KgJSKIi5vpCza5qiHbuCC+oVRtGTkQ/tBIx/cFK9T/KTQAe7AkbSyM5q86MogygezegPHkx7GhY2V6gLmOw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB6871.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(346002)(39860400002)(136003)(396003)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(316002)(110136005)(6506007)(52116002)(8676002)(8936002)(6486002)(26005)(1076003)(41300700001)(107886003)(83380400001)(66476007)(66556008)(66946007)(4744005)(4326008)(7416002)(478600001)(6512007)(2616005)(5660300002)(6666004)(2906002)(38100700002)(36756003)(86362001)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS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g9l1H4ijO++3xPbrzjufv/KLQ4Gfs+yj8ZbWu3qXFKIHB7+GvefZypqc9sX2PS3mA9clUrsEcsh2mUOMJ1Eph4H2z9lnm0brTgsFmalRSBFHC092tcAfxtFmWvto7iteY+paSMbPbaeGVkKyyZDwgxOfyDBEciHn7irwctCifzFImi2+G+WuxewB59rjaPslyEjdzQKWYl6A0CXck4b+q5y+QxUnopcyl+c6oZNJqiNasH/l/re2ORcZsROkTzQY5gGWpm28oEg9YXweVQ/MqmYwNPCmMkUROwlyLRBt6aLCHYbbTZu9+Sw+tpRp52JNgAWulpoMURwtPuWncBIRSylH/Zx61DDAO5buI84ImyW1THBsQGGBZwHeB6BtaietTfiPJ4NO7QQV4Gj9I585M2tEcbHyW+rnEwW0bxYwkt+K2da2il2ObKxny1gKFVJe/3vkhWbR2X4s8PwSyGS//yNWkVk9ebtmEkdyCEdvyidMXkYfmgqC3D8GxW3sD4IsPix+t2FTUl4k1apy+zPp0IimH9LxtZK6bTyqnmRRgkDE/LZpiDJwb7V X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7137849c-31d9-48df-d9e2-08dc12a0566b X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB6871.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2024 12:25:03.6595 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ljQysLh0AS1CXyGWatmVXURUflouTvL6avFCmvoIqR/63wXZf1V5rOzGX2Ri5vdOo94K0hwqBZHCeTTh/VMf/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR06MB6958 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787796861837971408 X-GMAIL-MSGID: 1787796861837971408 *** BLURB HERE *** Zhiguo Jiang (2): mm:vmscan: fix workingset eviction memcg issue mm:vmscan: fix shrink sc parameters issue include/linux/swap.h | 2 +- mm/vmscan.c | 46 ++++++++++++++++++++++---------------------- mm/workingset.c | 6 +++--- 3 files changed, 27 insertions(+), 27 deletions(-) mode change 100644 => 100755 include/linux/swap.h mode change 100644 => 100755 mm/vmscan.c mode change 100644 => 100755 mm/workingset.c