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

2020-10-09 Thread yulei zhang
Thanks, Randy. I will follow the instructions to modify the patches. On Fri, Oct 9, 2020 at 4:23 AM Randy Dunlap wrote: > > On 10/8/20 12:53 AM, yulei.ker...@gmail.com wrote: > > diff --git a/mm/Kconfig b/mm/Kconfig > > index e1995da11cea..8a67c8933a42 100644 > > --- a/mm/Kconfig > > +++ b/mm/Kco

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

2020-10-08 Thread Randy Dunlap
On 10/8/20 12:53 AM, yulei.ker...@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 t

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

2020-10-08 Thread yulei . kernel
From: Yulei Zhang Create 'dmem' directory under debugfs and show some statistic for dmem pool, track total and free dpages on dmem pool and each numa node. Signed-off-by: Xiao Guangrong Signed-off-by: Yulei Zhang --- mm/Kconfig | 9 + mm/dmem.c | 100 +++