Re: [PATCH V3 4/4] arm64/mm: Enable memory hot remove

2019-05-16 Thread Anshuman Khandual
On 05/16/2019 04:27 PM, Mark Rutland wrote: > On Thu, May 16, 2019 at 11:04:48AM +0530, Anshuman Khandual wrote: >> On 05/15/2019 05:19 PM, Mark Rutland wrote: >>> On Tue, May 14, 2019 at 02:30:07PM +0530, Anshuman Khandual wrote: Memory removal from an arch perspective involves tearing

Re: [PATCH V3 4/4] arm64/mm: Enable memory hot remove

2019-05-16 Thread Mark Rutland
On Thu, May 16, 2019 at 11:04:48AM +0530, Anshuman Khandual wrote: > On 05/15/2019 05:19 PM, Mark Rutland wrote: > > On Tue, May 14, 2019 at 02:30:07PM +0530, Anshuman Khandual wrote: > >> Memory removal from an arch perspective involves tearing down two different > >> kernel based mappings i.e

Re: [PATCH V3 4/4] arm64/mm: Enable memory hot remove

2019-05-15 Thread Anshuman Khandual
On 05/15/2019 05:19 PM, Mark Rutland wrote: > Hi Anshuman, > > On Tue, May 14, 2019 at 02:30:07PM +0530, Anshuman Khandual wrote: >> Memory removal from an arch perspective involves tearing down two different >> kernel based mappings i.e vmemmap and linear while releasing related page >> table

Re: [PATCH V3 4/4] arm64/mm: Enable memory hot remove

2019-05-15 Thread Mark Rutland
Hi Anshuman, On Tue, May 14, 2019 at 02:30:07PM +0530, Anshuman Khandual wrote: > Memory removal from an arch perspective involves tearing down two different > kernel based mappings i.e vmemmap and linear while releasing related page > table and any mapped pages allocated for given physical

Re: [PATCH V3 4/4] arm64/mm: Enable memory hot remove

2019-05-14 Thread David Hildenbrand
On 14.05.19 11:00, Anshuman Khandual wrote: > Memory removal from an arch perspective involves tearing down two different > kernel based mappings i.e vmemmap and linear while releasing related page > table and any mapped pages allocated for given physical memory range to be > removed. > > Define

[PATCH V3 4/4] arm64/mm: Enable memory hot remove

2019-05-14 Thread Anshuman Khandual
Memory removal from an arch perspective involves tearing down two different kernel based mappings i.e vmemmap and linear while releasing related page table and any mapped pages allocated for given physical memory range to be removed. Define a common kernel page table tear down helper