Re: [PATCH 2/7] mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly

2018-08-30 Thread Jerome Glisse
On Fri, Aug 31, 2018 at 12:05:38AM +1000, Balbir Singh wrote: > On Fri, Aug 24, 2018 at 03:25:44PM -0400, jgli...@redhat.com wrote: > > From: Ralph Campbell > > > > Private ZONE_DEVICE pages use a special pte entry and thus are not > > present. Properly handle this case in map_pte(), it is alread

Re: [PATCH 2/7] mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly

2018-08-30 Thread Balbir Singh
On Fri, Aug 24, 2018 at 03:25:44PM -0400, jgli...@redhat.com wrote: > From: Ralph Campbell > > Private ZONE_DEVICE pages use a special pte entry and thus are not > present. Properly handle this case in map_pte(), it is already handled > in check_pte(), the map_pte() part was lost in some rebase m

[PATCH 2/7] mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly

2018-08-24 Thread jglisse
From: Ralph Campbell Private ZONE_DEVICE pages use a special pte entry and thus are not present. Properly handle this case in map_pte(), it is already handled in check_pte(), the map_pte() part was lost in some rebase most probably. Without this patch the slow migration path can not migrate back