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: <CACZOiM2goO0hhHdnYNkaSNiO2bfL+xwWY=RbVytXuhO+s1D7-g@mail.gmail.com>
Date:   Fri, 9 Oct 2020 19:49:01 +0800
From:   yulei zhang <yulei.kernel@...il.com>
To:     Randy Dunlap <rdunlap@...radead.org>
Cc:     akpm@...ux-foundation.org, naoya.horiguchi@....com,
        viro@...iv.linux.org.uk, Paolo Bonzini <pbonzini@...hat.com>,
        linux-fsdevel@...r.kernel.org, kvm <kvm@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Xiao Guangrong <xiaoguangrong.eric@...il.com>,
        Wanpeng Li <kernellwp@...il.com>,
        Haiwei Li <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

Thanks, Randy. I will follow the instructions to modify the patches.

On Fri, Oct 9, 2020 at 4:23 AM Randy Dunlap <rdunlap@...radead.org> wrote:
>
> 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