lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2babfe21-beb8-762b-8ede-15f3467ca841@infradead.org>
Date:   Thu, 8 Oct 2020 13:23:30 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     yulei.kernel@...il.com, akpm@...ux-foundation.org,
        naoya.horiguchi@....com, viro@...iv.linux.org.uk,
        pbonzini@...hat.com
Cc:     linux-fsdevel@...r.kernel.org, kvm@...r.kernel.org,
        linux-kernel@...r.kernel.org, xiaoguangrong.eric@...il.com,
        kernellwp@...il.com, lihaiwei.kernel@...il.com,
        Yulei Zhang <yuleixzhang@...cent.com>,
        Xiao Guangrong <gloryxiao@...cent.com>
Subject: Re: [PATCH 08/35] dmem: show some statistic in debugfs

On 10/8/20 12:53 AM, yulei.kernel@...il.com 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ