Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C1CBC636D4 for ; Wed, 15 Feb 2023 08:34:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233956AbjBOIec (ORCPT ); Wed, 15 Feb 2023 03:34:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233942AbjBOIea (ORCPT ); Wed, 15 Feb 2023 03:34:30 -0500 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A30E2D178 for ; Wed, 15 Feb 2023 00:34:28 -0800 (PST) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-4a263c4ddbaso251344757b3.0 for ; Wed, 15 Feb 2023 00:34:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lZ0Tbl1JRT8TpgT4ciKif/L2O/2dnKFAn9OEhwx1LKY=; b=dnoSQwsXcuOdAmTUN4n1Z54s5MXVwmWD46iY4LYXeF8GleCpym/rek4aZ46EJGOCC2 tpJxYjOaaZo3I3Yg0xJXhInDJvR3VZjVDroIeQkfef44/m6IcE4SQj6pbzu9T7hZLJCl ctkZXBBVNfcSoaL0yIEc/LtxOg4wLolJ5BdMo63+PjZvA523LQEYrWJNEXij7EkoyZPX PdNVwOi4S2Lc3ftHXMg/DA5Cq6CQ25vtps2uDSvPMnUTLQ20DMT+osd0CRtv3JYBd2nw rNjNv44Kdjf0F5BzTp3GnjT003QXTijAcb4Ecw8D/Otv0QXnzBtX3UB9pj/T8HXGonvO SruA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=lZ0Tbl1JRT8TpgT4ciKif/L2O/2dnKFAn9OEhwx1LKY=; b=vCljAqWGxRIJdff9tJNHbAeazhmAPz9cxHgSfVSQ++16k/BpvDoYycw+e0dsd6xWwb V0BP2KVkkLR7YJpiTcRA0Atllo9ZbgMmuORN4s/NhviuatP1fKhZF+ZEU8BekOnMjSJI hrSHD9QRIhkOw7fhjgAJoftP2CqmPq0d+/YF3uz0k5Cr+++KwvqnHOK4GWF4eEWIYpCg J7D4XsQHq0nvQiUrDjgiAcMw8W+4+nnPeslIhVTy/qZ6cP/QYj1kSqdexepdHGfnKwvy zCNf14fp08QbznDpxNm5xXqPDnAoGgg+KkMtFpT9zV8M1VCrh6rK6x4H6RdAXlySfKpI t8fg== X-Gm-Message-State: AO0yUKU771v6PgYEZsI2iNWltC6HpjmhK8n5SlBeO5o97ZL0tx0WCdye V1yVOtv6tkDb2x43Era25Slrl9YpzRA3yMz7VwKRKQ== X-Google-Smtp-Source: AK7set8ljnu+GwuUQ4bAj4hFoVW4I2+uuhh7kwq1uoEl9VQWYBAHdwy47c4ncQV8gkQG7WYcehVwSf5DBTwi77UFuEo= X-Received: by 2002:a25:ad93:0:b0:8bd:d8e7:aace with SMTP id z19-20020a25ad93000000b008bdd8e7aacemr173772ybi.549.1676450067211; Wed, 15 Feb 2023 00:34:27 -0800 (PST) MIME-Version: 1.0 References: <20230214041410.6295-1-kerneljasonxing@gmail.com> In-Reply-To: <20230214041410.6295-1-kerneljasonxing@gmail.com> From: Eric Dumazet Date: Wed, 15 Feb 2023 09:34:16 +0100 Message-ID: Subject: Re: [PATCH v2 net-next] net: no longer support SOCK_REFCNT_DEBUG feature To: Jason Xing Cc: kuniyu@amazon.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, dsahern@kernel.org, matthieu.baerts@tessares.net, willemdebruijn.kernel@gmail.com, nhorman@tuxdriver.com, marcelo.leitner@gmail.com, lucien.xin@gmail.com, kgraul@linux.ibm.com, wenjia@linux.ibm.com, jaka@linux.ibm.com, bjorn@kernel.org, magnus.karlsson@intel.com, maciej.fijalkowski@intel.com, jonathan.lemon@gmail.com, bpf@vger.kernel.org, linux-s390@vger.kernel.org, linux-sctp@vger.kernel.org, mptcp@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Xing Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 14, 2023 at 5:15 AM Jason Xing wrote: > > From: Jason Xing > > Commit e48c414ee61f ("[INET]: Generalise the TCP sock ID lookup routines") > commented out the definition of SOCK_REFCNT_DEBUG in 2005 and later another > commit 463c84b97f24 ("[NET]: Introduce inet_connection_sock") removed it. > Since we could track all of them through bpf and kprobe related tools > and the feature could print loads of information which might not be > that helpful even under a little bit pressure, the whole feature which > has been inactive for many years is no longer supported. > > Link: https://lore.kernel.org/lkml/20230211065153.54116-1-kerneljasonxing@gmail.com/ > Suggested-by: Kuniyuki Iwashima > Signed-off-by: Jason Xing > Reviewed-by: Eric Dumazet