On 10/8/20 12:53 AM, yulei.kernel@xxxxxxxxx wrote: > diff --git a/mm/Kconfig b/mm/Kconfig > index 6c974888f86f..e1995da11cea 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -226,6 +226,15 @@ config BALLOON_COMPACTION > scenario aforementioned and helps improving memory defragmentation. > > # > +# support for direct memory basics > +config DMEM > + bool "Direct Memory Reservation" > + def_bool n Drop the def_bool line. > + depends on SPARSEMEM > + help > + Allow reservation of memory which could be dedicated usage of dmem. dedicated to the use of dmem. or which could be for the dedicated use of dmem. > + It's the basics of dmemfs. basis -- ~Randy