Message ID | 20231019131446.317-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 fe16csp375650vqb; Thu, 19 Oct 2023 06:16:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFP0MaLjdDy9UfZAXtJTZWUBVybQscucoZxWrI2rB1Yojjjg1Y5Dm85r0MQr/Lk2HLFxNRL X-Received: by 2002:a05:6e02:1cab:b0:352:5fcb:1401 with SMTP id x11-20020a056e021cab00b003525fcb1401mr2748168ill.8.1697721371814; Thu, 19 Oct 2023 06:16:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697721371; cv=pass; d=google.com; s=arc-20160816; b=Ktwd6j0Vy8UOiktPm6OX2wtHVYT6yRC37GOGIuLDy55NhuBP9qgl3WP5NiSmWfq8nC OrKlE67VWFgxf4EEyIXfEMa+pRZF9Tt3x4y5Yb38WPfv6u81MltMc8OGgc6imd4obNmJ ApbLsUL8QrsG01YDPODeYwidcnyUoAbyxPpK2Sq1RpTqcx4MKE9MXub17j5IZZf3cpI4 6KJIiQTzy3hOOLw6rzXKffd4FZqjdaThQ2SEemQEC0p3G/qLSzHBZd2kZtKXjdmt+dec vMRPKPOazzWSSnsbk1l+FPg4HvWtOz4hPXkbuq2hWGeZC5dN1IeMudz9AOMo1D9RBqb2 liIQ== 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=PeD7GJRBVPaLEyPUpBRL+qWTsTW6KysVx0ohxWkfuHI=; fh=c2eYxmN/YNr2ouhP31X3BrePKjLzNfOQt6lh5667ppQ=; b=O9/UBDHwaA1Yg+n4qtIOIHY3Fq/vvx/HvMzN9BTT61Mr7lweX2LUMlw4QzjzsUHFm8 Sx5tWuiAKfNq2wiRJpCMyif5E3kcgkXg26RiYHrKKdY/CUmDOEbPy1wqO108pxbZOHXx 9CQZVVF7+RhU8iKaEZ0gJ3WK572U21Q0OpVc/DM27VoOugGdag9m2DRADtk7yoHDbM63 dJf3mqJ17bLUekpZCW5OFjsDsGLDFiQONkpM0M5xAkhPsOWTASN+oakz5f9VuD1MsAlp rGT8qrVPIge3GSjNhceStLd+/23Mo7X0irXf4ajA+dF0Qk+RVrOZCDpbQKdnZOOujlFW RLvQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=oLzXKw57; 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 2620:137:e000::3:1 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. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id x3-20020a634a03000000b005a99db7489bsi4344736pga.248.2023.10.19.06.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:16:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=oLzXKw57; 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 2620:137:e000::3:1 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 AF3D1808A95B; Thu, 19 Oct 2023 06:15:15 -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 S1345754AbjJSNPI (ORCPT <rfc822;lkml4gm@gmail.com> + 25 others); Thu, 19 Oct 2023 09:15:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233202AbjJSNPG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 19 Oct 2023 09:15:06 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2102.outbound.protection.outlook.com [40.107.255.102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5853F7 for <linux-kernel@vger.kernel.org>; Thu, 19 Oct 2023 06:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UcUZMPUDC8CyVmpCnExZ0ORqj1S7YclA523xmtSTJ9np0KaeQ5FY0OBhLq5QLjkzdIEPWEwH+EUiyMJYi6BXueVj6hS8gi/SER+FI8+fmmd6gsyn21UUVoIt8bkzImUmIQWmZ/IOruLmQRbNF4yNKILpU711NpTgmAZUeqwAAen5JmGFmJo7JTXVX/tUFzXElnXqxYxJSvr2o7/X4ePKtvPMuTXcmk4i5zQDDuOfe4uQE+pbU9Kxp8oveFGCULBXsyJrr8hLlS96m/ksiGg0GeQGVNwj7VO1ewe+u9FJ16wPAZU2LxU9Ov1UI2pibvm7W8WefVlWumR8odW5nLTv/w== 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=PeD7GJRBVPaLEyPUpBRL+qWTsTW6KysVx0ohxWkfuHI=; b=SQ18xcG6tqKA0w6LeVOaP05cghtB2NELtUa4SFPxwqIQWholDZ4lPN480TTwgga723HSdPP09L7lzQbUIZG3hJOQlYAm8Kt7sSl5Yd55u75aY7MA9aTjaiglhTRZxXhKLaR1QxJpmSa2Us93vpbMJrVbTsxCy4yh7nOQ+L1a06AYTDrLhqv1GS4pQGjUl8Itn+U4Tz935CELqnTXCn8WgzzyWNuT2CYaEnBLOYayL/nZlm/jjjIfk4opfSX3CqGRfRzM5wfHKM2UBJIj+gfzgvRFwGpTTU2d28D2qPiBEWI1EKnbE05/bKfIRkukB1Y5itMR1U/cDXZw5iXbsp5mEQ== 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=PeD7GJRBVPaLEyPUpBRL+qWTsTW6KysVx0ohxWkfuHI=; b=oLzXKw574khkqySpgwwrN7z0sMcH5hC9sbm6Z+HYoOBp9+BC4rMPcM4B98dC7rFuCpDYEBTxCGm7U1hcD+miQRud6HFIsHuw89XrDYcRNUjOJsdnuArcnuk0i5a3zgiTrIuW0iBHG7rsg1inqSMcCge0oOJlGxXhWsKJ0wd+dgqn5rMbb64uHs9J459gIEbIKojEiAu7nsY6dliKh3KwvorOdf6v+6t1+k6UzawWCa1UuT3H7PitKdAoS0asGi2hPj16xVTiYtEsrjLWheNdhEw/do6XDH7soHfGjAHy6jqDtcC5U8tdWN6mLf5IRNLGWnf9ndjKToWyzvUCAmFdvQ== 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 PSAPR06MB4470.apcprd06.prod.outlook.com (2603:1096:301:86::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Thu, 19 Oct 2023 13:14:59 +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:14:59 +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:14:44 +0800 Message-ID: <20231019131446.317-1-justinjiang@vivo.com> X-Mailer: git-send-email 2.41.0.windows.3 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR06CA0252.apcprd06.prod.outlook.com (2603:1096:4:ac::36) To JH0PR06MB6849.apcprd06.prod.outlook.com (2603:1096:990:47::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: JH0PR06MB6849:EE_|PSAPR06MB4470:EE_ X-MS-Office365-Filtering-Correlation-Id: a14950eb-ec36-4cfa-bc25-08dbd0a564b9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y0VDagAjZTQz7+ysd3yUZJaifjezvEWDh6TlkdvYcBD6BFd4AfwMhPvR5WBY2htcBVmdWWpzYtiK8Ff2QGbUzlv1SbriXZI1+lMYOXIhYCh/X6SpOogpg0eOp5tf52oGPY77voVq4+lrADWBvXJPlFf6a/cUKpcr2trMgZdnbID8v25vGHZ8ZzNw91ijyAOgRyPDUng7lMkXtlSIMctlZwKsZ6o97ojMFOqn0BEc53yAVT01FWe1iyAJ0PiDg+DjPlNF6t1lj/PxQSFk38tzhWRBeaJJEketBJWDNuE+5yuwNnBgTsmHeoNmO+ZRm54R1on9W0wb9wq9mkiROauoIabGI8MrBoWMi9GJC/xAyDeiYnIyc++9Sq469PLUu4sRwdHOXHNAS3rHHeJJ4OFiLyXteXohfyb7ExniGj8IM9kAGFSs0Be8a9Tv4Oa3OdtRRsbdM4Y2Z1TSvWvD5nz93Kk/VPXaRj1/zGNTMPmJ6RkXtwN0Jf0mh0f66eaqAs9Mj0sXaJSaD4gQKkN63ToaJA47AehaDmVcp1jx8Ke/XMzM4y9uQm5f9wHNfBQaC2kG/B2EJ2yXiTazptp0cloYLcYt61DEhHfiauxfTpDwTAH9h2524lC0e00ofB1OeQGRCpCGuXPB9lKEgc7SDPAzpw== 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)(376002)(39850400004)(136003)(366004)(396003)(346002)(230922051799003)(451199024)(64100799003)(186009)(1800799009)(6666004)(2906002)(52116002)(6506007)(6486002)(478600001)(41300700001)(4326008)(8676002)(8936002)(5660300002)(66476007)(66556008)(66946007)(316002)(558084003)(83380400001)(36756003)(26005)(38350700005)(1076003)(6512007)(107886003)(38100700002)(2616005)(86362001)(14143004);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AtplFugcW04cy9EvZN791dGcc66Ribe27rEScSwQVRxWsaiIH2Vzn/PL/bUuKt+awW51aajT72KwkXwGF23c1emn9dzuxskh2VTF6wJN0t+5jOhDZ+B9xWYfepx+cWHrric6eajawkzExS7S4IogfbA7EztfKR43RaXYjYDGjF/EhdhLpri2Am1cZbECC6KA11GIuhHWDvAgaHwcyek+z4QxMzlCgPm9dC4YYEBpN0vXvLngZWT5FoqqsfvxmmK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pKRpl9r518aDJy9mP74xfXlkTwBQ0W16Ce2g+XI76gLCeR8r6SS6jWu6auJwme3pTf71PRJz76rkuy3yt/T6cI07oh8uTNFpPeJyLS3p66C/VVnYForOcSnaibYMTdIpbe+H3s9rr0PP01T1HpbXExblKtaDtp81U+8YUJ0F0JfqLpuBEBfGtczfteHzzZ456zsaDHbucQAKvYv2svV0rO645Ju7TNb4cI/8p2dMo+cmMw2nXTvH1XaxyE2VQRao0xqjpr6oBQePT0B X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: a14950eb-ec36-4cfa-bc25-08dbd0a564b9 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:14:59.0646 (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: 21swLdqSszPW+VEmkCryLdxqtu/RjlpSF5vCiwo5WIvmSwmL/EcgjXmGYG5rTNdMoY2QoU8O3uojkSeBAx6fSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR06MB4470 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:15:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780189885513860708 X-GMAIL-MSGID: 1780189885513860708 |
Series |
mm: the dirty folio unmap redundantly
|
|
Message
Zhiguo Jiang
Oct. 19, 2023, 1:14 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(-)