Re: [PATCH 08/35] dmem: show some statistic in debugfs
From: Randy Dunlap
Date: Thu Oct 08 2020 - 16:23:55 EST
On 10/8/20 12:53 AM, yulei.kernel@xxxxxxxxx wrote:
> diff --git a/mm/Kconfig b/mm/Kconfig
> index e1995da11cea..8a67c8933a42 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -235,6 +235,15 @@ config DMEM
> Allow reservation of memory which could be dedicated usage of dmem.
> It's the basics of dmemfs.
>
> +config DMEM_DEBUG_FS
> + bool "Enable debug information for direct memory"
> + depends on DMEM && DEBUG_FS
> + def_bool n
Drop the def_bool line. 'n' is the default anyway and the symbol is
already of type bool from 2 lines above.
> + help
> + This option enables showing various statistics of direct memory
> + in debugfs filesystem.
> +
> +#
--
~Randy