On Wed, Jun 05, 2019 at 02:58:53PM -0700, Dan Williams wrote: > Teach devm_memremap_pages() about the new sub-section capabilities of > arch_{add,remove}_memory(). Effectively, just replace all usage of > align_start, align_end, and align_size with res->start, res->end, and > resource_size(res). The existing sanity check will still make sure that > the two separate remap attempts do not collide within a sub-section (2MB > on x86). > > Cc: Michal Hocko <mho...@suse.com> > Cc: Toshi Kani <toshi.k...@hpe.com> > Cc: Jérôme Glisse <jgli...@redhat.com> > Cc: Logan Gunthorpe <log...@deltatee.com> > Cc: Oscar Salvador <osalva...@suse.de> > Cc: Pavel Tatashin <pasha.tatas...@soleen.com> > Signed-off-by: Dan Williams <dan.j.willi...@intel.com>
Looks good to me: Reviewed-by: Oscar Salvador <osalva...@suse.de> -- Oscar Salvador SUSE L3