Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1447391rwb; Fri, 23 Sep 2022 12:49:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7e9jGy4LHKIbdgSjxA4pVd5iLga3UVVyErZllqNDLdVp9f0N3gya6EaGpxB1XfiM7pwX8n X-Received: by 2002:a17:902:f683:b0:176:cc02:ce83 with SMTP id l3-20020a170902f68300b00176cc02ce83mr10054706plg.88.1663962567051; Fri, 23 Sep 2022 12:49:27 -0700 (PDT) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c37-20020a630d25000000b0043961d06befsi10929465pgl.486.2022.09.23.12.49.16; Fri, 23 Sep 2022 12:49:27 -0700 (PDT) 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=@intel.com header.s=Intel header.b="lzvnIzi/"; arc=fail (signature failed); 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232195AbiIWSu6 (ORCPT + 99 others); Fri, 23 Sep 2022 14:50:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232100AbiIWSuq (ORCPT ); Fri, 23 Sep 2022 14:50:46 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 664A612110A; Fri, 23 Sep 2022 11:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663959045; x=1695495045; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=NMJXdnHfq/UMbmj1GO4LJnlU9J+0sP/ic5VMH5Hdm3M=; b=lzvnIzi/TgYgbDwBAL7IvXewZfMl+QKehj3g4YkJrCimO/wb7kS6iWiE 0Dx7RP2JZCGcmuoJY7vH1PsmneAfEqf5rv6hHIHWqUfL6x0DGtrCs+UJc OqgwBwxuvDI3DdczxK/pxz7jxiH0ntLGZBORjoG/C+tcLxdLJjNBhpIfv NsKLfJE1yjf3iwUAq1sjuatNVnE+Npqj84aFMdpMMy/YOTfd3M7XfR4Es kRYH3g6FphFQCFhNgm4gBW3QD78B98LuqjzBFsCiQnI7+e/nXLUj2CHX0 0wOTYdNcKjUBluVCxfdlIwBq/gM0bBxdSfoJc5T0WmqFjSfcyzn/fggmu w==; X-IronPort-AV: E=McAfee;i="6500,9779,10479"; a="302116958" X-IronPort-AV: E=Sophos;i="5.93,339,1654585200"; d="scan'208";a="302116958" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2022 11:50:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,339,1654585200"; d="scan'208";a="724239248" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga002.fm.intel.com with ESMTP; 23 Sep 2022 11:50:43 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 23 Sep 2022 11:50:43 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 23 Sep 2022 11:50:43 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Fri, 23 Sep 2022 11:50:43 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.102) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Fri, 23 Sep 2022 11:50:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XkykgaqFmjIg2QATWkHOUfG7vUSJHMEWpcX9hRVzSd3yLV5iYJp3/WuyOxvZJG76gzQMuAEWh4er7pTIfxTTbva6DIWI3cRzEnIjO6z7IBvBU+Higpi6jWV2WXGM2Mfecb4WWG5QhQwOAzZfYZ2W0tumYpIxqblBv8FtrovpEetlR0jf53OnLwRrXlobrZp8F6U9NLeFzzpnBUp1sfG/FFczEbgRSQPljCPRLi6AXEj7knimbiBGd8Y/3AaayTumsz7Tc+unDM1vF0AdaMkkxuXqOVsKPXOU3c+FgeKjTive0REUhNJ5FqImW3lyKs1G3AQQQybU8xzMvrYxiXeEzg== 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=ZoOl9SAdlofJWvzmhdJK0sxe0awxgMfNoA9HePshiV0=; b=UsFOBWi3McYYe6oQDaAxHUgjiNW3pkyQFpEQDcInJ4y9x/k/MsAApuSvGx9sz+eVFNjJgMQaCuNvuMJM6fyzlwEjVdA57zd+exGJh3oTYR5hofsJ9RC4hrQKdwvh4ATS+Lu0M+sKV6c28bnKBvdvLg4cwHU7X4mwSLleAIf70m7jLAf89ocIj+O8Iitt0ZMOkG7f39OIEs/9SPFL0QY2E+wsouSWNjt1VZyBjX20CwuavGCT00lOmCk41SShUZ+3yCEOinpyB3f/JyUcAvsmTQ4K72StvQxUZVi+8/2bM3vwLy4bOWRV2cDyruYURG65SZ3NGnCqbYi4QPlvUnp/IQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MW3PR11MB4764.namprd11.prod.outlook.com (2603:10b6:303:5a::16) by SJ0PR11MB4830.namprd11.prod.outlook.com (2603:10b6:a03:2d7::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.20; Fri, 23 Sep 2022 18:50:40 +0000 Received: from MW3PR11MB4764.namprd11.prod.outlook.com ([fe80::e82e:c89f:d355:5101]) by MW3PR11MB4764.namprd11.prod.outlook.com ([fe80::e82e:c89f:d355:5101%6]) with mapi id 15.20.5654.020; Fri, 23 Sep 2022 18:50:40 +0000 Message-ID: Date: Fri, 23 Sep 2022 11:50:36 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [Intel-wired-lan] [PATCH] ixgbe: Use kmap_local_page in ixgbe_check_lbtest_frame() Content-Language: en-US To: Alexander Duyck CC: "Fabio M. De Francesco" , Jakub Kicinski , "David S. Miller" , Eric Dumazet , Netdev , Maciej Fijalkowski , Jesper Dangaard Brouer , Daniel Borkmann , intel-wired-lan , Alexander Duyck , John Fastabend , Jesse Brandeburg , Alexei Starovoitov , bpf , Paolo Abeni , Ira Weiny , LKML , Tony Nguyen References: <20220629085836.18042-1-fmdefrancesco@gmail.com> <2254584.ElGaqSPkdT@opensuse> <2834855.e9J7NaK4W3@opensuse> <22aa8568-7f6e-605e-7219-325795b218b7@intel.com> From: Anirudh Venkataramanan In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0160.namprd03.prod.outlook.com (2603:10b6:a03:338::15) To MW3PR11MB4764.namprd11.prod.outlook.com (2603:10b6:303:5a::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW3PR11MB4764:EE_|SJ0PR11MB4830:EE_ X-MS-Office365-Filtering-Correlation-Id: a8af877e-9ffc-44e7-07f3-08da9d9482cd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0mZQz50oDDPfQ7lPb1k51JjwapGlfXhtx6VMgNKuE3UDx93SkRHFMtK/QssRkmIErvjoOkQKEzGrYveytHIGDEwoKyT7W1NUsJ1mfoofGavRTfA4JH2zotcMdZ7WpQDTHIVA3JiP6C8QhyGpUFYYriiZtEiPAGY7liyt49y9S5x3FT8whTS3ughg3MaNfon17VBUzS7vEUPawpPSUCeufBeB3usR74kWNwe87xmPJaXRu++G+kGU6DjS4mTiQI15eQ4SHxcDJXYs1D/veSzU1UtehiwjtGcPvsJJ2QV/wiSTTNS1q3g+T+gN/pZ52aam9K7T6YuQL9qNDGBmvtIUDytsn5zLBKfHfn0OTTt3l1KCfm9TBXnyBRFeFVYYYEMpEqL/8QxWrRBfrDeMcczfrHMcF+1DDeJX7U98DGEMyiekwDvuuc5feDWKUoesqmhJdsGCdAGtExil3ToGmnyiugpXI2t2bf18LnddnsgH2oVjtxslOdd9QbD7r3iMkmmw3u/V31gkC3kEZFfsJvSggunXn9rD0Euvg09A5wf2ptNacwXapHimJkJeh+GYVQtFhAkVeAl9HUyqSNOWKaz23MGa2Qs+QV1930q+4pO3/+3j0jYCYDmsCObCcBUBn/nd1pGuhTQd8m38+dRW9K9ZIIg4w8Ay/89VBdbHS0SOAwiCxdt5Oxp51A44vIdvqV/AvIp7uK2C6fRRVTOW2OlnA6Iv3oDDkPrMvbV2kxN2CXCOoCO6XwSuPh5TmpM0jOEOESIosn6wTQNa8EStIe9dGkKAaz1xb1mn2BC8qdrgwxD/c2053vzPb8bUs+8HxrRHt7duh1YXZk8uEey1gFMSHGapvGRImlj/VrQ8nAwUuv8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW3PR11MB4764.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(376002)(346002)(136003)(39860400002)(366004)(396003)(451199015)(31686004)(36756003)(6666004)(41300700001)(6506007)(53546011)(186003)(2616005)(107886003)(86362001)(4326008)(66476007)(7416002)(6512007)(8676002)(66946007)(54906003)(66556008)(8936002)(5660300002)(31696002)(44832011)(2906002)(82960400001)(6486002)(966005)(478600001)(38100700002)(316002)(26005)(6916009)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ODRTQzY2RzJOSkhkNDgzTE1mRW1BMFBMQlEwbit3ZHNRbXJzQnE1Y3RxWGVS?= =?utf-8?B?a1JEdGtsK3cxZE16TDhUUEpjMU1OTkVRd1lDdDFlS0Y5NDJNTnFCdEtBQmFU?= =?utf-8?B?ZFpkQm1vcFp2MU1FWHZ4T09XVkxVdzVhaTBLN1d0eXJxNlVKOWNaQ091c2Ux?= =?utf-8?B?ZWxzQ1cyWlJvV3dmMktmS2lxRDUvTnc5OXg1WmE5MHNTZzZDK3dUNlFGUXVC?= =?utf-8?B?bG8xUTJFbGgvUzdWem1RVkk5cXk3MEl2MEcrQmI2RHRHaGxSOWk4SmF6cUJF?= =?utf-8?B?RDFTai9BMjkrKzJ4RlllUk9zRkVZVTUycXdkaWxOdndkcD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B?MFl5NmhqK1NhMzVxSjVQRjhhR2toMjlSa052V1dxSVN4V1ZYeE14RzF3ZG1X?= =?utf-8?Q?EokZIbd6HiB3CzwI4GFcN6E=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: a8af877e-9ffc-44e7-07f3-08da9d9482cd X-MS-Exchange-CrossTenant-AuthSource: MW3PR11MB4764.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2022 18:50:40.2635 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WjLTkC/HdXRdndibuhYx3G4YKNUYw/qLgoSuXyawzVIqs2YgC5QmEZE6efhoCxMxOrwGduFaCzd/aqBPwUzVQbNZJBc0o+tnC7cfQC8jI9QaNyfOUiJJWELloHytX0dA X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4830 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 9/23/2022 8:31 AM, Alexander Duyck wrote: > On Thu, Sep 22, 2022 at 3:38 PM Anirudh Venkataramanan > wrote: >> >> On 9/22/2022 1:58 PM, Alexander Duyck wrote: >>> On Thu, Sep 22, 2022 at 1:07 PM Anirudh Venkataramanan >>> wrote: >>>> >>>> >>>> Following Fabio's patches, I made similar changes for e1000/e1000e and >>>> submitted them to IWL [1]. >>>> >>>> Yesterday, Ira Weiny pointed me to some feedback from Dave Hansen on the >>>> use of page_address() [2]. My understanding of this feedback is that >>>> it's safer to use kmap_local_page() instead of page_address(), because >>>> you don't always know how the underlying page was allocated. >>>> >>>> This approach (of using kmap_local_page() instead of page_address()) >>>> makes sense to me. Any reason not to go this way? >>>> >>>> [1] >>>> >>>> https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20220919180949.388785-1-anirudh.venkataramanan@intel.com/ >>>> >>>> https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20220919180949.388785-2-anirudh.venkataramanan@intel.com/ >>>> >>>> [2] >>>> https://lore.kernel.org/lkml/5d667258-b58b-3d28-3609-e7914c99b31b@intel.com/ >>>> >>>> Ani >>> >>> For the two patches you referenced the driver is the one allocating >>> the pages. So in such a case the page_address should be acceptable. >>> Specifically we are falling into alloc_page(GFP_ATOMIC) which should >>> fall into the first case that Dave Hansen called out. >> >> Right. However, I did run into a case in the chelsio inline crypto >> driver where it seems like the pages are allocated outside the driver. >> In such cases, kmap_local_page() would be the right approach, as the >> driver can't make assumptions on how the page was allocated. > > Right, but that is comparing apples and oranges. As I said for Tx it > would make sense, but since we are doing the allocations for Rx that > isn't the case so we don't need it. > >> ... and this makes me wonder why not just use kmap_local_page() even in >> cases where the page allocation was done in the driver. IMO, this is >> simpler because >> >> a) you don't have to care how a page was allocated. kmap_local_page() >> will create a temporary mapping if required, if not it just becomes a >> wrapper to page_address(). >> >> b) should a future patch change the allocation to be from highmem, you >> don't have to change a bunch of page_address() calls to be >> kmap_local_page(). >> >> Is using page_address() directly beneficial in some way? > > By that argument why don't we just leave the code alone and keep using > kmap? I am pretty certain that is the logic that had us using kmap in > the first place since it also dumps us with page_address in most cases > and we didn't care much about the other architectures. Well, my understanding is that kmap_local_page() doesn't have the overheads kmap() has, and that alone is reason enough to replace kmap() and kmap_atomic() with kmap_local_page() where possible. > If you look at > the kmap_local_page() it just adds an extra step or two to calling > page_address(). In this case it is adding extra complication to > something that isn't needed which is the reason why we are going > through this in the first place. If we are going to pull the bandage I > suggest we might as well just go all the way and not take a half-step > since we don't actually need kmap or its related calls for this. I don't really see this as "pulling the kmap() bandage", but a "use a more appropriate kmap function if you can" type situation. FWIW, I am not against using page_address(). Just wanted to hash this out and get to a conclusion before I made new changes. Ani