Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp181367pxb; Thu, 17 Feb 2022 01:24:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnRHvDICbczfwpfCLYt8SVrIaYBi5qimvvCc9mtRwgDKABSmfHu0Tlkk0BY5HAEj1p+t13 X-Received: by 2002:a17:906:715:b0:6b7:21d5:dd0a with SMTP id y21-20020a170906071500b006b721d5dd0amr1573508ejb.500.1645089874954; Thu, 17 Feb 2022 01:24:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645089874; cv=pass; d=google.com; s=arc-20160816; b=0X62aAKyYnC9zcRVhrko5maBHSsMoX6fvkllhA5Cj+eeX5CopIEJp+AtagaanU8ASS BZ0LrikFfSsAygs4qaTxpzdx8HTPI2zriz2/lYKFaxAxjftu+BHqlDu4eEgnYheggM8W 32rlZf1i73hT3aablFwcpXHwp1yBecGokQyVOP9zKyG+2zGKU9o1OpZ9xbn3UrDjlAsk gDrYodfeD6+tZqgFegSSJpP4s9hD0BNs4RvtXAz+g64Tu1Ct+Y4cXPvdyqs+dtCre4Gj jp0We6MH0eLEhq3ErTBvTKiiQonQI7r+JVx3cmRgkmsDJKnShMqHrX0JoKOS9pEkiAEk wqSg== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=uxezJ+eQ0t8nsp/JeJLAdcYADxuWyL78MpFKSt3CetM=; b=qHJVP55W+g2PKYn3v7zptUKy8rcfRLw39poSYjMK6PQx+ng2AHDcYQv9qxx4Ibizuu 2ZcL+83ocbYvbQ/nyLwei7htQRPiEh914QTI1oaJpi7yBpKd7g7zWC8jkGz92ZaDKs0H gZRg8JWfr7OgvdSoRNfjLX+8+pxvw64F/JdUuzvmMtAiiiw8w6pX3OI6UQ2lZDiNcrwa I92S/yBycjs7CyzrMeLWgNrICQACYLyHT+7vTq66oLOIp15iX1jRlxSlDers7g4XoS2i oce9wTNYtAknq71CjdoeL979hrq+Qqo33l2Ohlj5hFinQecd/CInR7++XGFk5eDgt3oE XeHA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=qGpr8HFJ; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m2si4063713edc.412.2022.02.17.01.24.09; Thu, 17 Feb 2022 01:24:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=qGpr8HFJ; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234408AbiBQFpg (ORCPT + 99 others); Thu, 17 Feb 2022 00:45:36 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:56706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230317AbiBQFpd (ORCPT ); Thu, 17 Feb 2022 00:45:33 -0500 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2043.outbound.protection.outlook.com [40.107.237.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A4F127FB8A for ; Wed, 16 Feb 2022 21:45:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DVo0Bj6P5IlK9BI0T/N/BqTJXLvkLoADwT+5omHiELmRlmYLigMGTfWE/vBsCQ3leFgOrxo7ZjbO7rZcKtZrLIF5v0ifefvjGzV/+G5ruY9Ql+5/pp/OntZrjeL+KqLJ6yfg/7qa32UGb9remstxC4X9LSpcTXLILOLTO41DD/y0oeG1wUPvDrcCbONO8UF8bpPk2YOdVg82kBuTX4A0HPKOTslX/muVNLzpHc7l7QPYlnjP5akzrud8yKmptm21lsElr/FU1IFQ5BHtRfZ3BguEvHIpXpl7VisjQu71dSwvEVOmt8iGdSQVbWmu8eN4Z9lce3Iqy8A1iSz/WL9JRw== 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=uxezJ+eQ0t8nsp/JeJLAdcYADxuWyL78MpFKSt3CetM=; b=O9Zm5VdVVXFmpNddqPSoQxgy2mgYDgU6so6SkDlIuk1gfjvNxyTGf+VPgzA/ewkE0OkB8HTZ3j23n543BQUVn8Scg5LOxXCQS+f4lVVxmB5wU1sYa8+OR3ANx/Ip+xw53qbk/gxcqrVtZiwpOxw2NXXMtSbVMVThmmhH5SD2RdQQqzELIVFOyX/dP3drrvpYGFjjhoiMGCOFY2X3WRvx1W4ZlTRhaPOYUfIWVK97xrX15y4W6kl7S+kln3FnJ6xHNpS7QVXLdsTEre22ocVG3ynz5r6rSjSKiTUdBvknWLFZHhRl8fmTCUUZGwULLoLLgF6UT7qr6L9lHQn5ZH9o4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uxezJ+eQ0t8nsp/JeJLAdcYADxuWyL78MpFKSt3CetM=; b=qGpr8HFJ56x42ISVStT85BQ7cWaZvKOs7mLBtO9Keg4Azotak48pi5ehrdVn+Pkeq87NbBEx5+cgokL4DDS/ru1PIfZ8x/3wXGYDg2I6tluddr29pTyyjGjcfFkrIXOmnEZWzEAoEm/DwC7AAAu9XGd4dTMth72ZNDrYrYYuqwJcQkWsbyCYQaqIMCqinP8o1LghTFXt7ai/wNQW/I+6qKr0KAH0duUQmrj8eMD+M8Q0BW7qAqOOcWx+vw22UfKHS2wcK52mAnzLHfkYr/Jlg5gfHt1LCLOeu4DyzAkf1Ukh5ZALiemrjTPyUrInmZuFWXNJF2H1GtLs88y4QfkARg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by MW2PR12MB2348.namprd12.prod.outlook.com (2603:10b6:907:e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Thu, 17 Feb 2022 05:45:15 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::498:6469:148a:49c7]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::498:6469:148a:49c7%6]) with mapi id 15.20.4995.015; Thu, 17 Feb 2022 05:45:15 +0000 Message-ID: <0c71b2e6-894d-8a36-533c-f5ff8b5e2683@nvidia.com> Date: Wed, 16 Feb 2022 21:45:13 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH v4 1/4] mm: Don't skip swap entry even if zap_details specified Content-Language: en-US To: Peter Xu Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , "Kirill A . Shutemov" , Matthew Wilcox , Yang Shi , Andrea Arcangeli , Alistair Popple , David Hildenbrand , Vlastimil Babka , Hugh Dickins References: <20220216094810.60572-1-peterx@redhat.com> <20220216094810.60572-2-peterx@redhat.com> From: John Hubbard In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR13CA0054.namprd13.prod.outlook.com (2603:10b6:a03:2c2::29) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e324c137-2d3b-4d2f-3666-08d9f1d8ac13 X-MS-TrafficTypeDiagnostic: MW2PR12MB2348:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YITM8VBt/Klr0O0i8nHnI68H4+UNm/eeAyneseij2LEmTHWXypyYZsCq58W89btrJi//6vyrzPxiN9vNf3jkAw5QQJm8IaBHF/Dl5qOD5R3uUGllNkXmBVcYaBltdKtIx7BzFZiNaYrV4EtjeRlwK0pH7kuUro6K0hrv8+rhlUq0DMKU9PTS4VqXWnwG5ZsVri6rGm6e8mc+upB+w8VvEy6XGwv1En0BhZlu+MqcjpxfXNB3LNOcelYs9cKB7jv8Fvrk6Ea0I7SgyTH639j+sESHoVfuvPFjDDZX4lDyHzUdZ5nP1GA9zLrhOcW+jwvyE2DbpmU0XDjyL8YqGR6TklZWFzLqC7mpuGbs6QJFTQn6uD6YpTDFjZMasvwJ0IHf2C1+FKMpLycuLdRynmHdhNKw6DrF/XgWf3kYYsQTeBrl2xJ+A2t9BgRb5gkFVhlsOiQz1z559Zs+h6Y62jqGqz84PVIl6Fy98yBRkNaIdOy2+kjkIEsVdDsR3o2IzqI2l6Ieij3Tn5fL1eVDQlYA5eKU1J1/5G39wMBTRMMVLHgphbkUVgNFl3WIcbc5Wf/3fNN8gYx7RUaaUxUvNvlRhacO6HUummNgUNW15PNDjBUnS2XlZMKUQB1Cc92snykMcB61WZLdfFOMdATBBP1F6rsQsmkOh2KpWlKvVnFQvWeuNuCZ11QuN3baSyg+Lt9UZMqVaslJw74IkvZJt+LXme2sAEmeW7bxypaqLy4tQlccEd5CqrZXtZq8sV/l70c4jIAuhHoLZeUqM2OEeJA8xTSebkPCxNeSCfi+KFm6hPTLr0P1RwQX2CnbN/B0RboorUYXbs8Q0s6DhiS7MJ2zmA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(316002)(5660300002)(8936002)(6512007)(7416002)(2906002)(86362001)(31696002)(508600001)(186003)(26005)(966005)(31686004)(53546011)(6506007)(2616005)(6486002)(38100700002)(83380400001)(4326008)(8676002)(54906003)(66476007)(66556008)(6916009)(36756003)(66946007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cnN3czQ2T0xHbEx3VUlkSlF1WXo2RDQxY1NvbTFKUkxZMlRNZnZ6dTQyNzNm?= =?utf-8?B?TDFXQmVRUjdRcEg0RlJuYXdRbXhGZFNwR3dBemFvMEJiUzkrRE0xTjNsRXZE?= =?utf-8?B?YlVFR3dGYmMrbWM5S1J2MTdVNnRvdW8xaGo3NTB4QlBtbHhDbjVJWVRyRzhZ?= =?utf-8?B?ZWFEaVowczJuL1pXZ1pDdzdVcnhOZHhjQmZucG9w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l?= =?utf-8?B?VThjQU1id3JwK3orSDFnWHBoZ0IvczJFeEFIbE9uNmpNa1pXb204MlN3TmIv?= =?utf-8?B?YXN2Y3kyYjU1dVo5L1pwSkM1SnVDUzNScEkvcVlvL2tITCtEZWNBMlV0bFVk?= =?utf-8?B?eGJTemNyYmdwVHNRT3Z2cTZ4dFgwMFZ2b2RJTkNPemd0aTQ4SkZnM3N2SnpY?= =?utf-8?Q?njOfJ95KPK0BU0T8Yszv6Hc=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: e324c137-2d3b-4d2f-3666-08d9f1d8ac13 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2022 05:45:15.3524 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eLFb/o/5uBZM9AfwmQeKXTuVtljQEIJHp3ufSImpq0vtCrvE9P9MHN+GstX2pvJxtYVw/bUiMAEf13oYT4m8Vg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2348 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/16/22 20:46, Peter Xu wrote: ... > I personally used 78/79 col width for a long time for different projects, but > sure I can adjust my config. I found that the "official guide" points us to > 75 instead: > > https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html > > The body of the explanation, line wrapped at 75 columns, which will be copied > to the permanent changelog to describe this patch. > > I'll follow that. > Oh, I'll change to that too, then. Thanks for spotting that. > [...] >>> + if (!should_zap_cows(details)) >>> + continue; >>> rss[MM_SWAPENTS]--; >>> - else if (is_migration_entry(entry)) { >> >> Can we put a newline here, and before each "else" block? Because now it >> is getting very dense, and the visual separation really helps. > > The thing is we don't have a rule to add empty lines here, or do we? Changing > it could make it less like what we have had. > I'm not claiming rules or standards, this is just a special case of trying to make it a little nicer. No big deal either way, of course. thanks, -- John Hubbard NVIDIA