diff options
| author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2018-06-01 11:24:24 +0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 13:40:37 +0300 |
| commit | ed515b6898c36775ddd99ff9ffeda4e83917acda (patch) | |
| tree | 565dfa28eaa7de9126c40c0e0d052e59ab9445a0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 91d06971881f71d945910de128658038513d1b24 (diff) | |
| download | linux-ed515b6898c36775ddd99ff9ffeda4e83917acda.tar.xz | |
powerpc/mm/hugetlb: Update hugetlb related locks
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 pmd_lockptr, which based on config can be split pmd lock.
For update huge page directory entries itself we use mm->page_table_lock. We
do have a helper huge_pte_lockptr() for that.
Fixes: 675d99529 ("powerpc/book3s64: Enable split pmd ptlock")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
