Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp155929rdb; Thu, 30 Nov 2023 00:46:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFE1TvEJcYPNITRW0aGyZOStV0arEGtrS6iNnH1tr3nR9vCdfxTFlpo5ep88aGocfdm/hax X-Received: by 2002:a05:6a20:42a0:b0:188:973c:ef84 with SMTP id o32-20020a056a2042a000b00188973cef84mr22413591pzj.9.1701333992392; Thu, 30 Nov 2023 00:46:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701333992; cv=none; d=google.com; s=arc-20160816; b=fvR5fDLSCuqLRaH7OxA8bRkIKjRqtvNDmG9xdxjBHZR7yTUGVlXbu92zS9PeT1Kgrp 6/jqDLXSTOTF/wkbdqqw18NJXkxRhWvKE9N03tdJgtPU9VA26/QXC9xUQ/UUs2cku9jI 4QE4MaYKDYbz+9p1OIzqvqIbIUYiokOu4vMpIJUsWA662eQT2XlIwQ4v+Gcpe7H98Cth APqJMN+IcGCX+ybPyX/HSSkxHNNSxdz+utenDpzM3koRAi2JsR3Dcbcbai/1RT/UgqOF Bi9AxoBPKs6LXVATsHUkZ8UumEwMNogtox3+1KZ4AgTf0DulVq8XpOkMt7+pFzoqSsqK v3XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=wb9u6OXzzlvzj/qRIUwoC3QfyF2Engr+s7F5XrkKF18=; fh=Pn5uCvYSrTOEmkAFPdCfm1qGmHStqV58cfLwDNyn3NI=; b=sZAMi9Qy4xznk14AWfgzXueK0fnJ3445jahcT+HrZgNNYzT9KfzV3mhFSs1EZlDBSr XNg7A21i0Fz/7IesAAAlqR+Hj0QxYhot6QryqerkJkUWzDprmGxl+cS5by+v5padoAAJ UUAs9AHJuiwKUU8VL6wosdj1oW4lH1j6kYsFRfeDb8Esh25MIHH5LSYnERK34Fm8qA3C BQt//pJn/0+aP4NuUnf61eP4RqhzRWSfNgYIBcSXixs1WaQQh1E9KmmzfrnVFhMHpzmJ lpTOFFAFgSxy8dpNpeEgDERLiBZDHBawd/WYVbqmvTyU8XUXDIK/CyaYOwVyGV96bZoU 7VPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id fu1-20020a17090ad18100b0028516fe2bffsi2979092pjb.186.2023.11.30.00.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 00:46:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B98B78095800; Thu, 30 Nov 2023 00:46:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344929AbjK3IqL (ORCPT + 99 others); Thu, 30 Nov 2023 03:46:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231890AbjK3IqK (ORCPT ); Thu, 30 Nov 2023 03:46:10 -0500 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84E63A2; Thu, 30 Nov 2023 00:46:15 -0800 (PST) Received: from dggpemm500005.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4SgqRN3BjGzMnZ8; Thu, 30 Nov 2023 16:41:20 +0800 (CST) Received: from [10.69.30.204] (10.69.30.204) by dggpemm500005.china.huawei.com (7.185.36.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 30 Nov 2023 16:46:12 +0800 Subject: Re: [Intel-wired-lan] [PATCH net-next v5 03/14] page_pool: avoid calling no-op externals when possible To: Alexander Lobakin , Christoph Hellwig CC: Paul Menzel , Maciej Fijalkowski , Jesper Dangaard Brouer , Larysa Zaremba , , Alexander Duyck , Ilias Apalodimas , , Eric Dumazet , Michal Kubiak , , David Christensen , Jakub Kicinski , Paolo Abeni , "David S. Miller" References: <20231124154732.1623518-1-aleksander.lobakin@intel.com> <20231124154732.1623518-4-aleksander.lobakin@intel.com> <6bd14aa9-fa65-e4f6-579c-3a1064b2a382@huawei.com> <534e7752-38a9-3e7e-cb04-65789712fb66@huawei.com> <8c6d09be-78d0-436e-a5a6-b94fb094b0b3@intel.com> From: Yunsheng Lin Message-ID: <4814a337-454b-d476-dabe-5035dd6dc51f@huawei.com> Date: Thu, 30 Nov 2023 16:46:11 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <8c6d09be-78d0-436e-a5a6-b94fb094b0b3@intel.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.69.30.204] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm500005.china.huawei.com (7.185.36.74) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.9 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 30 Nov 2023 00:46:27 -0800 (PST) On 2023/11/29 21:17, Alexander Lobakin wrote: > From: Yunsheng Lin > Date: Wed, 29 Nov 2023 11:17:50 +0800 > >> On 2023/11/27 22:32, Alexander Lobakin wrote: >>> >>> Chris, any thoughts on a global flag for skipping DMA syncs ladder? >> >> It seems there was one already in the past: >> >> https://lore.kernel.org/netdev/7c55a4d7-b4aa-25d4-1917-f6f355bd722e@arm.com/T/ > > It addresses a different problem, meaningless indirect calls, while this > one addresses meaningless direct calls :> > When the above gets merged, we could combine these two into one global, > but Eric wasn't active with his patch and I remember there were some > problems, so I wouldn't count on that it will arrive soon. I went through the above patch, It seems to me that there was no fundamental problem that stopping us from implementing it in the dma layer basing on Eric' patch if Eric is no longer interested in working on a newer version? It is just that if we allow every subsystem and driver using dma API doing their own trick of skipping dma sync, then there is less willing to implement it in the dma layer.