Re: [PATCH v2] mm/swap: Fix release_pages() when releasing devmap pages

2019-06-04 Thread Michal Hocko
On Tue 28-05-19 20:56:19, Ira Weiny wrote: > Would you like to roll a V3 with some of this in the commit > message? Yes please. I will re-read the whole changelog and let's see whether I can make more sense of it. Thanks! -- Michal Hocko SUSE Labs

Re: [PATCH v2] mm/swap: Fix release_pages() when releasing devmap pages

2019-05-28 Thread Ira Weiny
On Mon, May 27, 2019 at 05:01:07PM +0200, Michal Hocko wrote: > On Fri 24-05-19 10:36:56, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > Device pages can be more than type MEMORY_DEVICE_PUBLIC. > > > > Handle all device pages within release_pages() > > > > This was found via code

Re: [PATCH v2] mm/swap: Fix release_pages() when releasing devmap pages

2019-05-27 Thread Michal Hocko
On Fri 24-05-19 10:36:56, ira.we...@intel.com wrote: > From: Ira Weiny > > Device pages can be more than type MEMORY_DEVICE_PUBLIC. > > Handle all device pages within release_pages() > > This was found via code inspection while determining if release_pages() > and the new put_user_pages()

[PATCH v2] mm/swap: Fix release_pages() when releasing devmap pages

2019-05-24 Thread ira . weiny
From: Ira Weiny Device pages can be more than type MEMORY_DEVICE_PUBLIC. Handle all device pages within release_pages() This was found via code inspection while determining if release_pages() and the new put_user_pages() could be interchangeable. Cc: Jérôme Glisse Cc: Michal Hocko