[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <59446182-8d60-40a0-975f-30069b0afe86@lunn.ch>
Date: Mon, 24 Mar 2025 21:50:36 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Jeff Layton <jlayton@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: add a debugfs files for showing netns refcount
tracking info
On Mon, Mar 24, 2025 at 04:24:47PM -0400, Jeff Layton wrote:
> CONFIG_NET_NS_REFCNT_TRACKER currently has no convenient way to display
> its tracking info. Add a new net_ns directory in debugfs. Have a
> directory in there for every net, with refcnt and notrefcnt files that
> show the currently tracked active and passive references.
Hi Jeff
CONFIG_NET_NS_REFCNT_TRACKER is just an instance of
CONFIG_REF_TRACKER.
It would be good to explain why you are doing it at the netdev level,
rather than part of the generic CONFIG_REF_TRACKER level. Why would
other subsystems not benefit from having their reference trackers in
debugfs?
Andrew
Powered by blists - more mailing lists