Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp603536rwe; Fri, 14 Apr 2023 07:26:08 -0700 (PDT) X-Google-Smtp-Source: AKy350ZOhobXajlCIfj5hGJjoNmfvNvI5NZsfAtWwjX0OZA8SXUVhb6kBYZzaV367Faple6V2/KA X-Received: by 2002:a05:6a00:189f:b0:628:1852:8431 with SMTP id x31-20020a056a00189f00b0062818528431mr9033574pfh.30.1681482367936; Fri, 14 Apr 2023 07:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681482367; cv=none; d=google.com; s=arc-20160816; b=YFXobHDob4DSFRgHYMBlG5EMfmOnL/b7CluApjSNCzTfaZhX9+KA/ulObY/tAko75s cU/bvD48Yt1tmxE4zS+7XJISo7diYZjzBOJ7DkCU5VqO9BrdJ5EjgjEFzUyOagixayRt R8n0oRt263EYcU6P/tzDw/EpZWGlJh5EYf8sK5dtalyl9mi/INQbNuoO43eWxjzpdj6v yaRDS57MNvozd90lgYcaHudex6lqN4rm+YpMiPSI0bF/uaPTThRb4yn+l6PxkXXE7r1Z SlrsGRXWiyLH3aShMlQRcYSSbKNpZ/AKodenVF0WlDQ19RjhmBym6QehCjiD84KLMp7M QKlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=HqCYABRUHXP49kVUIqWSLxFZcuUvKNMUVvMTRcIbVhI=; b=PPT8hXqJw+Q2opt4ZXaUufEt/ud08a1HZE9GZS8PkpShiKtAPksaS5LPiwH1WVcm/o WT1pOk+0js1QRmYr20ClKgaBzwoVGZtBA68iasBn59v9V+cLPl4VW3iphYKwU9vT094F MtkHBiZspNyA0pfbCsOT5KT53mI0kXypBjfIq3DN/KWiwj641he+8EGcvgknWqFaIiLw XlXOnoQrd6qM++qURdkFdpAdfpIlRigbD5CCdqe7XcQzlhGIU+NHvNq33LuLkliQ15Au GRIR24WvdnVXLfa85n7cBO81ahceKSdtKyGbt+jB/ru9j7wfHXU0sOrW1SuYmAVIcqj5 RKsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=L1fri7xL; 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=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a63540a000000b0051323af954asi4727272pgb.644.2023.04.14.07.25.54; Fri, 14 Apr 2023 07:26:07 -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=@google.com header.s=20221208 header.b=L1fri7xL; 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=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230231AbjDNOR7 (ORCPT + 99 others); Fri, 14 Apr 2023 10:17:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbjDNOR5 (ORCPT ); Fri, 14 Apr 2023 10:17:57 -0400 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 659F48F for ; Fri, 14 Apr 2023 07:17:53 -0700 (PDT) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-54f6a796bd0so232201867b3.12 for ; Fri, 14 Apr 2023 07:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1681481872; x=1684073872; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HqCYABRUHXP49kVUIqWSLxFZcuUvKNMUVvMTRcIbVhI=; b=L1fri7xLRASJUiwlkiFrLMXseYhq8ueQrhMk6usnBChZJP7Miv+H/1T6+ontoEtR+v JbfoRg1lX5W6lhheRin2wnGAx3TkASOaxlbytL7P5mCIAWqx/vnEb6G3GK3F8F0XkG8B J/3+d65lDD7HT5T2VQwkRkNz4Kg4+YiKJZtCZBHAW6FJW0pW8XZzhYmQG8PHbf1xPsWF fNHbXoAMukz6UyAkVFQ+HSz7jNFEExpvEU1gv1lAUQVsNPuCDSAU0rUc+eYPt4q0/L+B o7J3xGgm/HB1U/DExEK8Cwi9sWI7wsJ8T8zNue0QN/Q1bXkMrqfRgGxTJ7OUmbEv3Tml IHlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681481872; x=1684073872; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HqCYABRUHXP49kVUIqWSLxFZcuUvKNMUVvMTRcIbVhI=; b=OapVTSYfsVqnkHKPxqsExuocZCvUnoOFV+jb3pT/CrtT/fqe3V+yLeFhNyQBC1V8n/ BtXJwHzaDXFHKTokHoiVkazjZAYQnARuRQogXe/D+qrHaVWGHbCEGNKSIyCXgPS+3g/E rxQWrIlhzeNb6uQIPrDLTBc8ijJQKAvPvJrlGSW2C/b1FwqrF4f1bfiRrA3xVSPaNqrV 2ucU3CNRHqoeAYepgato0LKQpJG51GW2dXw+R2svYm7EB6HvI+uS2IZujkhPDqMZRlo+ VZKElpIGeXzIe84UppMiJHmmM4iaeSsGBi1XmHhRJqvX3fz/ohFKw+KTUAl3SL5oPAts v7mg== X-Gm-Message-State: AAQBX9fD8+GG8ZrJbyxmffuB6jjhFjSfHD1t6NRkIN0/ryn2SO/YB3g0 6EmqT+OXMgZbTQt0W6B3XTS6BqRVrLwnXwaSx+U0Iw== X-Received: by 2002:a81:e549:0:b0:545:1d7f:acbf with SMTP id c9-20020a81e549000000b005451d7facbfmr3530526ywm.10.1681481872332; Fri, 14 Apr 2023 07:17:52 -0700 (PDT) MIME-Version: 1.0 References: <20230413171918.GX17993@unreal> <20230414022736.63374-1-bobankhshen@gmail.com> In-Reply-To: <20230414022736.63374-1-bobankhshen@gmail.com> From: Eric Dumazet Date: Fri, 14 Apr 2023 16:17:40 +0200 Message-ID: Subject: Re: [PATCH net-next] lib/win_minmax: export symbol of minmax_running_min To: Yixin Shen Cc: leon@kernel.org, akpm@linux-foundation.org, davem@davemloft.net, linux-kernel@vger.kernel.org, ncardwell@google.com, netdev@vger.kernel.org, rdunlap@infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 Fri, Apr 14, 2023 at 4:27=E2=80=AFAM Yixin Shen = wrote: > > > Please provide in-tree kernel user for that EXPORT_SYMBOL. > > It is hard to provide such an in-tree kernel user. We are trying to > implement newer congestion control algorithms as dynamically loaded modul= es. > For example, Copa(NSDI'18) which is adopted by Facebook needs to maintain > such windowed min filters. Althought it is true that we can just > copy-and-paste the code inside lib/win_minmax, it it more convenient to > give the same status of minmax_running_min as minmax_running_max. > It is confusing that only minmax_running_max is exported. This is needed by net/ipv4/tcp_bbr.c , which can be a module. > If this patch is rejected because the changes are too significant, Well, this path would soon be reverted by people using bots/tools to detect unused functions, or unused EXPORT symbols. So there is no point accepting it, before you submit the CC in the official linux tree.