Re: [HMM-v25 10/19] mm/memcontrol: support MEMORY_DEVICE_PRIVATE v4

2017-09-05 Thread Jerome Glisse
On Tue, Sep 05, 2017 at 07:13:15PM +0200, Laurent Dufour wrote: > On 17/08/2017 02:05, Jérôme Glisse wrote: > > HMM pages (private or public device pages) are ZONE_DEVICE page and > > thus need special handling when it comes to lru or refcount. This > > patch make sure that memcontrol properly

Re: [HMM-v25 10/19] mm/memcontrol: support MEMORY_DEVICE_PRIVATE v4

2017-09-05 Thread Jerome Glisse
On Tue, Sep 05, 2017 at 07:13:15PM +0200, Laurent Dufour wrote: > On 17/08/2017 02:05, Jérôme Glisse wrote: > > HMM pages (private or public device pages) are ZONE_DEVICE page and > > thus need special handling when it comes to lru or refcount. This > > patch make sure that memcontrol properly

Re: [HMM-v25 10/19] mm/memcontrol: support MEMORY_DEVICE_PRIVATE v4

2017-09-05 Thread Laurent Dufour
On 17/08/2017 02:05, Jérôme Glisse wrote: > HMM pages (private or public device pages) are ZONE_DEVICE page and > thus need special handling when it comes to lru or refcount. This > patch make sure that memcontrol properly handle those when it face > them. Those pages are use like regular pages in

Re: [HMM-v25 10/19] mm/memcontrol: support MEMORY_DEVICE_PRIVATE v4

2017-09-05 Thread Laurent Dufour
On 17/08/2017 02:05, Jérôme Glisse wrote: > HMM pages (private or public device pages) are ZONE_DEVICE page and > thus need special handling when it comes to lru or refcount. This > patch make sure that memcontrol properly handle those when it face > them. Those pages are use like regular pages in

[HMM-v25 10/19] mm/memcontrol: support MEMORY_DEVICE_PRIVATE v4

2017-08-16 Thread Jérôme Glisse
HMM pages (private or public device pages) are ZONE_DEVICE page and thus need special handling when it comes to lru or refcount. This patch make sure that memcontrol properly handle those when it face them. Those pages are use like regular pages in a process address space either as anonymous page

[HMM-v25 10/19] mm/memcontrol: support MEMORY_DEVICE_PRIVATE v4

2017-08-16 Thread Jérôme Glisse
HMM pages (private or public device pages) are ZONE_DEVICE page and thus need special handling when it comes to lru or refcount. This patch make sure that memcontrol properly handle those when it face them. Those pages are use like regular pages in a process address space either as anonymous page