File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,10 @@ static inline void native_set_pte(pte_t *ptep, pte_t pte)
44
44
* pmd_populate rightfully does a set_64bit, but if we're reading the
45
45
* pmd_t with a "*pmdp" on the mincore side, a SMP race can happen
46
46
* because gcc will not read the 64bit of the pmd atomically. To fix
47
- * this all places running pmd_offset_map_lock () while holding the
47
+ * this all places running pte_offset_map_lock () while holding the
48
48
* mmap_sem in read mode, shall read the pmdp pointer using this
49
49
* function to know if the pmd is null nor not, and in turn to know if
50
- * they can run pmd_offset_map_lock or pmd_trans_huge or other pmd
50
+ * they can run pte_offset_map_lock() or pmd_trans_huge() or other pmd
51
51
* operations.
52
52
*
53
53
* Without THP if the mmap_sem is hold for reading, the pmd can only
You can’t perform that action at this time.
0 commit comments