lkml.org 
[lkml]   [2020]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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@infradead.org> wrote:
>
> On 10/8/20 12:53 AM, yulei.kernel@gmail.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
>

\
 
 \ /
  Last update: 2020-10-09 13:49    [W:0.063 / U:5.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site