Re: powerpc/mm/hugetlb: Update hugetlb related locks

2018-06-04 Thread Michael Ellerman
On Fri, 2018-06-01 at 08:24:24 UTC, "Aneesh Kumar K.V" wrote: > With split pmd page table lock enabled, we don't use mm->page_table_lock when > updating pmd entries. This patch update hugetlb path to use the right lock > when inserting huge page directory entries into page table. > > ex: if we

[PATCH] powerpc/mm/hugetlb: Update hugetlb related locks

2018-06-01 Thread Aneesh Kumar K.V
With split pmd page table lock enabled, we don't use mm->page_table_lock when updating pmd entries. This patch update hugetlb path to use the right lock when inserting huge page directory entries into page table. ex: if we are using hugepd and inserting hugepd entry at the pmd level, we use