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. What I do not see is why the patch did not make it to further RCs. Thanks -- Oscar Salvador SUSE L3