Re: [PATCH 08/35] dmem: show some statistic in debugfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux