Re: [PATCH v3 2/3] ioremap: Update pgtable free interfaces with addr

2018-05-17 Thread Kani, Toshi
On Thu, 2018-05-17 at 08:47 +0200, Michal Hocko wrote: > On Wed 16-05-18 17:32:06, Kani Toshimitsu wrote: > > From: Chintan Pandya > > > > This patch ("mm/vmalloc: Add interfaces to free unmapped > > page table") adds following 2 interfaces to free the page > > table in case we implement huge map

Re: [PATCH v3 2/3] ioremap: Update pgtable free interfaces with addr

2018-05-16 Thread Michal Hocko
On Wed 16-05-18 17:32:06, Kani Toshimitsu wrote: > From: Chintan Pandya > > This patch ("mm/vmalloc: Add interfaces to free unmapped > page table") adds following 2 interfaces to free the page > table in case we implement huge mapping. > > pud_free_pmd_page() and pmd_free_pte_page() > > Some ar

[PATCH v3 2/3] ioremap: Update pgtable free interfaces with addr

2018-05-16 Thread Toshi Kani
From: Chintan Pandya This patch ("mm/vmalloc: Add interfaces to free unmapped page table") adds following 2 interfaces to free the page table in case we implement huge mapping. pud_free_pmd_page() and pmd_free_pte_page() Some architectures (like arm64) needs to do proper TLB maintanance after u