[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YfzY780CPu6z09Ki@hades>
Date: Fri, 4 Feb 2022 09:42:39 +0200
From: Ilias Apalodimas <ilias.apalodimas@...aro.org>
To: Joe Damato <jdamato@...tly.com>
Cc: netdev@...r.kernel.org, kuba@...nel.org, davem@...emloft.net,
hawk@...nel.org, saeed@...nel.org, ttoukan.linux@...il.com,
brouer@...hat.com
Subject: Re: [net-next v4 01/11] page_pool: kconfig: Add flag for page pool
stats
On Thu, Feb 03, 2022 at 04:09:23PM -0800, Joe Damato wrote:
> Control enabling / disabling page_pool_stats with a kernel config option.
> Option is defaulted to N.
>
> Signed-off-by: Joe Damato <jdamato@...tly.com>
> ---
> net/Kconfig | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/net/Kconfig b/net/Kconfig
> index 8a1f9d0..604b3eb 100644
> --- a/net/Kconfig
> +++ b/net/Kconfig
> @@ -434,6 +434,18 @@ config NET_DEVLINK
> config PAGE_POOL
> bool
>
> +config PAGE_POOL_STATS
> + default n
> + bool "Page pool stats"
> + depends on PAGE_POOL
> + help
> + Enable page pool statistics to track allocations. Stats are exported
> + to the file /proc/net/page_pool_stat. Users can examine these
There's no proc anymore
> + stats to better understand how their drivers and the kernel's
> + page allocator, and the page pool interact with each other.
> +
> + If unsure, say N.
> +
> config FAILOVER
> tristate "Generic failover module"
> help
> --
> 2.7.4
>
Regards
/Ilias
Powered by blists - more mailing lists