@@ -426,7 +426,7 @@ static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addres
426
426
427
427
/*
428
428
* On some architectures hardware does not set page access bit when accessing
429
- * memory page, it is responsibilty of software setting this bit. It brings
429
+ * memory page, it is responsibility of software setting this bit. It brings
430
430
* out extra page fault penalty to track page access bit. For optimization page
431
431
* access bit can be set during all page fault flow on these arches.
432
432
* To be differentiate with macro pte_mkyoung, this macro is used on platforms
@@ -519,7 +519,7 @@ extern pgtable_t pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp);
519
519
/*
520
520
* This is an implementation of pmdp_establish() that is only suitable for an
521
521
* architecture that doesn't have hardware dirty/accessed bits. In this case we
522
- * can't race with CPU which sets these bits and non-atomic aproach is fine.
522
+ * can't race with CPU which sets these bits and non-atomic approach is fine.
523
523
*/
524
524
static inline pmd_t generic_pmdp_establish (struct vm_area_struct * vma ,
525
525
unsigned long address , pmd_t * pmdp , pmd_t pmd )
@@ -852,7 +852,7 @@ static inline void __ptep_modify_prot_commit(struct vm_area_struct *vma,
852
852
* updates, but to prevent any updates it may make from being lost.
853
853
*
854
854
* This does not protect against other software modifications of the
855
- * pte; the appropriate pte lock must be held over the transation .
855
+ * pte; the appropriate pte lock must be held over the transaction .
856
856
*
857
857
* Note that this interface is intended to be batchable, meaning that
858
858
* ptep_modify_prot_commit may not actually update the pte, but merely
@@ -1281,13 +1281,13 @@ static inline int pmd_none_or_trans_huge_or_clear_bad(pmd_t *pmd)
1281
1281
*
1282
1282
* The complete check uses is_pmd_migration_entry() in linux/swapops.h
1283
1283
* But using that requires moving current function and pmd_trans_unstable()
1284
- * to linux/swapops.h to resovle dependency, which is too much code move.
1284
+ * to linux/swapops.h to resolve dependency, which is too much code move.
1285
1285
*
1286
1286
* !pmd_present() is equivalent to is_pmd_migration_entry() currently,
1287
1287
* because !pmd_present() pages can only be under migration not swapped
1288
1288
* out.
1289
1289
*
1290
- * pmd_none() is preseved for future condition checks on pmd migration
1290
+ * pmd_none() is preserved for future condition checks on pmd migration
1291
1291
* entries and not confusing with this function name, although it is
1292
1292
* redundant with !pmd_present().
1293
1293
*/
0 commit comments