[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1982176625.36197567.1497548604992.JavaMail.zimbra@redhat.com>
Date: Thu, 15 Jun 2017 13:43:25 -0400 (EDT)
From: Jerome Glisse <jglisse@...hat.com>
To: zhong jiang <zhongjiang@...wei.com>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, Dan Williams <dan.j.williams@...el.com>,
"Kirill A . Shutemov" <kirill.shutemov@...ux.intel.com>,
John Hubbard <jhubbard@...dia.com>,
Ross Zwisler <ross.zwisler@...ux.intel.com>
Subject: Re: [HMM 07/15] mm/ZONE_DEVICE: new type of ZONE_DEVICE for
unaddressable memory v3
> On 2017/5/25 1:20, Jérôme Glisse wrote:
[...]
> > diff --git a/mm/Kconfig b/mm/Kconfig
> > index d744cff..f5357ff 100644
> > --- a/mm/Kconfig
> > +++ b/mm/Kconfig
> > @@ -736,6 +736,19 @@ config ZONE_DEVICE
> >
> > If FS_DAX is enabled, then say Y.
> >
> > +config DEVICE_PRIVATE
> > + bool "Unaddressable device memory (GPU memory, ...)"
> > + depends on X86_64
> > + depends on ZONE_DEVICE
> > + depends on MEMORY_HOTPLUG
> > + depends on MEMORY_HOTREMOVE
> > + depends on SPARSEMEM_VMEMMAP
> > +
> maybe just depends on ARCH_HAS_HMM is enough.
I have updated that as part of HMM CDM patchset.
Powered by blists - more mailing lists