hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/Documentation/vm/split_page_table_lock.rst
....@@ -54,9 +54,9 @@
5454 Support of split page table lock by an architecture
5555 ===================================================
5656
57
-There's no need in special enabling of PTE split page table lock:
58
-everything required is done by pgtable_page_ctor() and pgtable_page_dtor(),
59
-which must be called on PTE table allocation / freeing.
57
+There's no need in special enabling of PTE split page table lock: everything
58
+required is done by pgtable_pte_page_ctor() and pgtable_pte_page_dtor(), which
59
+must be called on PTE table allocation / freeing.
6060
6161 Make sure the architecture doesn't use slab allocator for page table
6262 allocation: slab uses page->slab_cache for its pages.
....@@ -74,7 +74,7 @@
7474
7575 With everything in place you can set CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK.
7676
77
-NOTE: pgtable_page_ctor() and pgtable_pmd_page_ctor() can fail -- it must
77
+NOTE: pgtable_pte_page_ctor() and pgtable_pmd_page_ctor() can fail -- it must
7878 be handled properly.
7979
8080 page->ptl
....@@ -94,7 +94,7 @@
9494 split lock with enabled DEBUG_SPINLOCK or DEBUG_LOCK_ALLOC, but costs
9595 one more cache line for indirect access;
9696
97
-The spinlock_t allocated in pgtable_page_ctor() for PTE table and in
97
+The spinlock_t allocated in pgtable_pte_page_ctor() for PTE table and in
9898 pgtable_pmd_page_ctor() for PMD table.
9999
100100 Please, never access page->ptl directly -- use appropriate helper.