Message ID | 20231019134211.329-1-justinjiang@vivo.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp391650vqb; Thu, 19 Oct 2023 06:42:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGEXiNVpcUV3/Duy/8mxOHv6mc2z4JMi9I+XZS8Mx6RHuanxI3KmXFiToQmMD0BEQ3ELVqy X-Received: by 2002:a17:902:f690:b0:1c9:d667:4e4e with SMTP id l16-20020a170902f69000b001c9d6674e4emr2377256plg.65.1697722979429; Thu, 19 Oct 2023 06:42:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697722979; cv=pass; d=google.com; s=arc-20160816; b=Qe/z3ojzmZiQLNQL7dBqJPzTEj5Z9puXA4RRT7S9ifzbtNj3LTsb/TBowc4Kyp+HFv Zi8A+wShqtoO5EA8sbRfLNLjfEFM+wn6AEfHsbCDcWdxB9IZSNVV2AXlhmqzX00nOd0Q LRvDJjvhhf1t36NBBT2829kI7vDd2v67UH5F4KhbZr5jnbDcV/dOmVr+ny6ZLxR+w6e9 o7ZVTS4EGUiemMz863Rlioyg7BZtCzni4+u6Mbc+7Lg5me/gsdV6lrbIA6sBnsiYHy/j kAWzUCH80zycloD33Y3Gyt8rr2pAzvty1r6xjRTUSnoH7S+etvklj6V2NwZjpA8rN+jK Dt9w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ttDMeAdBaYDkoUPkHds/V8WB5XZWoJlIeSsk8KlPZP8=; fh=c2eYxmN/YNr2ouhP31X3BrePKjLzNfOQt6lh5667ppQ=; b=AIYz3HUktnTnbhqi0/bjO6bbdEnX5bj2/y5X27NvxVkR5J9TJ2ZXK94tETMBfGmn+h 8MusdbPHx6n2NJATnJ1pzhCrlhMTOisyy2zoG/V7thENTLbHdhNItT9bGYgk9Rr9JiHB 2btXi5Y5bm+NMxK/VT3l45YxpAfFUxKu3yAJWsSyBMhlvgN80XRZAuaV6Gp3+XOrN8yx xcbzYjr/i9O+iaKMGWp/23Sv6cDbMnU8DEG3RVNPnnawemWJiLthEhuaD6PHtYlHuYjR 47k2jw0tM+/jxCSfmM1aDkcPsk9B84cjHutx1XAzdA7PfnlY3PzmpWl4VXTAHXfS5q6h Wi/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=Jx7usrdS; 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-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ik21-20020a170902ab1500b001c61acd5be6si2140226plb.209.2023.10.19.06.42.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:42:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=Jx7usrdS; 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-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 79CC8831D2C2; Thu, 19 Oct 2023 06:42:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346065AbjJSNmi (ORCPT <rfc822;lkml4gm@gmail.com> + 25 others); Thu, 19 Oct 2023 09:42:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235400AbjJSNme (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 19 Oct 2023 09:42:34 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2091.outbound.protection.outlook.com [40.107.117.91]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5925B11F for <linux-kernel@vger.kernel.org>; Thu, 19 Oct 2023 06:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fcrs/d76aOAhqTymJexkJEItYyIIGasWl2yjNO6/61G/iFatmaVRs+RKPH7poV0zDWgHcpWJYdGhJ8KpCLhajgeZ7zooTNyU47pfSOZ5TB3lklW0ijUCzJqcLM8ReZyiFo3pkDevuXvv9zadlRRDVadtE3fWnaLXVWrwOeuLpxXGPKRBOGvozsF4V05o7cKsaN8xGWQCI8yMdacW/hd6AqcZWqvnxtzM5ZV1qRS/t8qt2crLjdFLpjFItyQH+nNJMDGuZLdnwBKUMRGIbdW/KmK8sfzMRC8MM2oww3VLrM1GcbhKeKViFzzkMk7iRgmZYY2RIK7ijZoNoqP39GNUWg== 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=ttDMeAdBaYDkoUPkHds/V8WB5XZWoJlIeSsk8KlPZP8=; b=mYGVI1xQczR5Tri1w5JXfjSgPgVooS7+c+QNir5/d8HF38lKFQ3xdGDqanNZqnPV8PQzGYiPXtyuh2M0rTwC4h/yn9dS9m66ddI9U+R7f+V3Ee+19CQMHdG090i14d7fNxpt4Wp/nI+RzenBPuCv4Az2gVb5mGPlcztTA/uUSj6Ra0iDpwy23edzIuVFGHQX7+QKBcaM/enpgHs4jgnyTRp2PNOYGEQt7B0qBaTmML9v6EgTlfZViWbUA7cU0/5zWQyBTiBwtl8CeUipo4O5SfqJAyBYMrhm1MXhle1LRDdsL6TrUPGAQXBkv3nzr0lUvg3fKRdpYPaWJ9zH1H1UNQ== 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=ttDMeAdBaYDkoUPkHds/V8WB5XZWoJlIeSsk8KlPZP8=; b=Jx7usrdSLRwsWRq7VkVdifBVWP3guDAVZNdVv7HZiTru/3ySANOgc2ndyNIpo6oofAQEqTsoQ7TGysXTY3znTbnid2Qij86Vxm1CGbw1X5pCD2uwlFsl6IfSWngShYC3xnI9ZeXo2tbStgnB7oeZGY7IXMOWNTGZk1hQLcvEt/KYGrJFN7NioHxryVtjuUcjuFgCYfwNDCcXRc/XZKmJm46NQOJeb6AVgORjM3xIXK4scBSI6Xdd8Ug0AKOyduwLFD14RI/0rMNJZppeU1Zr8K/bvejkmXV4Pb5iKI5Fka8VwKAP4PCwF8+QmWgkDZELQu5iYsKf70hdimFeMLAX2A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from JH0PR06MB6849.apcprd06.prod.outlook.com (2603:1096:990:47::12) by KL1PR0601MB4100.apcprd06.prod.outlook.com (2603:1096:820:24::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.24; Thu, 19 Oct 2023 13:42:25 +0000 Received: from JH0PR06MB6849.apcprd06.prod.outlook.com ([fe80::32d4:1209:6b36:86e5]) by JH0PR06MB6849.apcprd06.prod.outlook.com ([fe80::32d4:1209:6b36:86e5%7]) with mapi id 15.20.6907.025; Thu, 19 Oct 2023 13:42:25 +0000 From: Zhiguo Jiang <justinjiang@vivo.com> To: Andrew Morton <akpm@linux-foundation.org>, linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: opensource.kernel@vivo.com, Zhiguo Jiang <justinjiang@vivo.com> Subject: [PATCH v2 0/2] mm: the dirty folio unmap redundantly Date: Thu, 19 Oct 2023 21:42:09 +0800 Message-ID: <20231019134211.329-1-justinjiang@vivo.com> X-Mailer: git-send-email 2.41.0.windows.3 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0141.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::21) To JH0PR06MB6849.apcprd06.prod.outlook.com (2603:1096:990:47::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: JH0PR06MB6849:EE_|KL1PR0601MB4100:EE_ X-MS-Office365-Filtering-Correlation-Id: 72baf0a7-5cef-4892-0c72-08dbd0a93994 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HExBZEv7rcmXZvk4RP6OZl0doq/qFMUFLPYTp3F4z8CtG0sBst1Fpw7Dn9TqqCtraMi7YpIzLRqpS2ku5+vjYTymOdKSkrYWsEzxv8LuIT3BwjnQJMDvGRyDsLP98J9FcnDqyI5dz9RWh+EKBfSrxM5EBGa9WHNGubd/OztscLh8zahgR9ErOcaB6GQSiHV9ISjtPb2/swpLcu/7zKDvoz3ch9fLfh6a6pyZ/6hXblL0dsBaDFaWvEke4TCCmtt8BH3ej0m6c8x/5LI/zN6IdTBgIMfC7MH9TN/CueNpRyYx37g3aQw+Bfo+XOAxWwoVYSci8kxHS5xSyL18npvT/X3HbXLy8I/07ZYmlYihRzAjQFJ7+rGHZVAyMU8tbKS0COLT0WKEnMGG0xotF9g9n/T/QzNdduR0D/f4iLPEvp/Xs+vdGsX7ALxbvTK00pANJ6vJCgWXCSFb0tNZJxyh6FpIkynvQwS6uxGoQIfYI/POGv+wRrpIyxS9MyxPyF0IB/2GHH4jpFKUUQAmWddUykoOv1bBgKCaekRPQPXPt0ONaTRFX1GuqAnYLvBx01ClZYWvUIo7Sqp3KL1wSHf0/NdZln+on3LqOdVmbPHoNKFRuFQtZqh3Nsfv3utpErEhJ5Onktj0sfhmyjqNXqPwTw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:JH0PR06MB6849.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(396003)(376002)(136003)(366004)(39860400002)(230922051799003)(451199024)(1800799009)(64100799003)(186009)(8676002)(52116002)(6666004)(2616005)(1076003)(6506007)(107886003)(26005)(66476007)(478600001)(316002)(66946007)(8936002)(4326008)(66556008)(6486002)(83380400001)(38100700002)(6512007)(2906002)(86362001)(558084003)(41300700001)(5660300002)(38350700005)(36756003)(14143004);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mxJuSSvJtUue6WJqyZgVOrWYTQEP8AwdXpfDDOgMIaBLgC2iQ7MOVlsqihTAu6nKxFrXzyROf5D/54L4BbPdMcXmm8SHcYJuCSSzxT1JGVxcnIk/Sc835Co6tNfadZFLRdhRrPKFpKkS8+7TLmbCkYiID0X0VEHhEBMCal0LPddz8yXCcnljSjGmIlRnFllipehM8mVkOooYpSGMfXQf8HidGHYrUISZk5Kxi2C7Fny4VG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Ro+jrwHi1HvS3oRpYA9hBzoeDb81fzRPemHXeMsd97Wut/EbmBIQy3QBNyhBNZMuZCA5YSnbXbd8vTGlPNYd0PzJXXca3KnwpJ+z5s19LCZMdErvjM7gqjKuMvjZauvPKb8w/Kc+ogAGiHRDnUAhT74hD12mnZp1J/ccLbiEV3U1gRD7KVEW2oLsgAIZj+HpdTx2tWaTOqLENO3v77Lyc/2E2rbAO2n2ksQRH6KvvXC50Cpn89+Oy/Fl4ybS67xLDPKm/TK23pNatM+W9GCvl X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72baf0a7-5cef-4892-0c72-08dbd0a93994 X-MS-Exchange-CrossTenant-AuthSource: JH0PR06MB6849.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2023 13:42:24.6414 (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: m8YJLU1P6F0SrrijanAzAZB99XcBiP7lHo2q2jtRFJ/CnSrT5B7jfx3Cj6QC9EFELF9O3/5XwnweVoG5x5IJKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB4100 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 19 Oct 2023 06:42:57 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780189885513860708 X-GMAIL-MSGID: 1780191571276537913 |
Series |
mm: the dirty folio unmap redundantly
|
|
Message
Zhiguo Jiang
Oct. 19, 2023, 1:42 p.m. UTC
*** BLURB HERE *** Zhiguo Jiang (2): mm:vmscan: the dirty folio in folio list skip unmap mm:vmscan: the ref clean dirty folio skip unmap mm/vmscan.c | 106 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 69 insertions(+), 37 deletions(-)