Re: [RFC] powerpc/mm/pgtable: Split mappings on hot-unplug

2018-02-01 Thread Bharata B Rao
On Fri, Feb 2, 2018 at 8:38 AM, Balbir Singh wrote: > On Thu, Feb 1, 2018 at 11:48 PM, Balbir Singh > wrote: > > This patch splits the a linear mapping if the hot-unplug range > > is smaller than the mapping size. The code detects if the mapping > >

Re: [RFC] powerpc/mm/pgtable: Split mappings on hot-unplug

2018-02-01 Thread Balbir Singh
On Thu, Feb 1, 2018 at 11:48 PM, Balbir Singh wrote: > This patch splits the a linear mapping if the hot-unplug range > is smaller than the mapping size. The code detects if the mapping > needs to be split into a smaller size and if so, uses the stop > machine

[RFC] powerpc/mm/pgtable: Split mappings on hot-unplug

2018-02-01 Thread Balbir Singh
This patch splits the a linear mapping if the hot-unplug range is smaller than the mapping size. The code detects if the mapping needs to be split into a smaller size and if so, uses the stop machine infrastructure to map the current linear mapping with a smaller size mapping. Then the requested