Re: [PATCH v5 3/4] arm64: Implement page table free interfaces

2018-03-28 Thread Chintan Pandya
On 3/27/2018 11:30 PM, Will Deacon wrote: Hi Chintan, Hi Will, On Tue, Mar 27, 2018 at 06:54:59PM +0530, Chintan Pandya wrote: Implement pud_free_pmd_page() and pmd_free_pte_page(). Implementation requires, 1) Freeing of the un-used next level page tables 2) Clearing off the current

Re: [PATCH v5 3/4] arm64: Implement page table free interfaces

2018-03-28 Thread Chintan Pandya
On 3/27/2018 11:30 PM, Will Deacon wrote: Hi Chintan, Hi Will, On Tue, Mar 27, 2018 at 06:54:59PM +0530, Chintan Pandya wrote: Implement pud_free_pmd_page() and pmd_free_pte_page(). Implementation requires, 1) Freeing of the un-used next level page tables 2) Clearing off the current

Re: [PATCH v5 3/4] arm64: Implement page table free interfaces

2018-03-27 Thread Will Deacon
Hi Chintan, On Tue, Mar 27, 2018 at 06:54:59PM +0530, Chintan Pandya wrote: > Implement pud_free_pmd_page() and pmd_free_pte_page(). > > Implementation requires, > 1) Freeing of the un-used next level page tables > 2) Clearing off the current pud/pmd entry > 3) Invalidate TLB which could have

Re: [PATCH v5 3/4] arm64: Implement page table free interfaces

2018-03-27 Thread Will Deacon
Hi Chintan, On Tue, Mar 27, 2018 at 06:54:59PM +0530, Chintan Pandya wrote: > Implement pud_free_pmd_page() and pmd_free_pte_page(). > > Implementation requires, > 1) Freeing of the un-used next level page tables > 2) Clearing off the current pud/pmd entry > 3) Invalidate TLB which could have

[PATCH v5 3/4] arm64: Implement page table free interfaces

2018-03-27 Thread Chintan Pandya
Implement pud_free_pmd_page() and pmd_free_pte_page(). Implementation requires, 1) Freeing of the un-used next level page tables 2) Clearing off the current pud/pmd entry 3) Invalidate TLB which could have previously valid but not stale entry Signed-off-by: Chintan Pandya

[PATCH v5 3/4] arm64: Implement page table free interfaces

2018-03-27 Thread Chintan Pandya
Implement pud_free_pmd_page() and pmd_free_pte_page(). Implementation requires, 1) Freeing of the un-used next level page tables 2) Clearing off the current pud/pmd entry 3) Invalidate TLB which could have previously valid but not stale entry Signed-off-by: Chintan Pandya --- V4->V5: -