On Thu, Aug 09, 2018 at 09:50:55AM +0200, Oscar Salvador wrote: > On Wed, Aug 08, 2018 at 11:29:08PM +0200, Oscar Salvador wrote: > > On Wed, Aug 08, 2018 at 01:55:59PM -0400, Jerome Glisse wrote: > > > Note that Dan did post patches that already go in that direction (unifying > > > code between devm and HMM). I think they are in Andrew queue, looks for > > > > > > mm: Rework hmm to use devm_memremap_pages and other fixes > > > > Thanks for pointing that out. > > I will take a look at that work. > > Ok, I checked the patchset [1] and I think it is nice that those two (devm and HMM) > get unified. > I think it will make things easier when we have to change things for the memory-hotplug. > Actually, I think that after [2], all hot-adding memory will be handled in > devm_memremap_pages. Forgot to include the links: [1] https://lkml.org/lkml/2018/6/19/108 [2] https://lkml.org/lkml/2018/6/19/110 -- Oscar Salvador SUSE L3