Skip to content

Commit 2eb70aa

Browse files
unixbhaskartorvalds
authored andcommitted
include/linux/pgtable.h: few spelling fixes
Few spelling fixes throughout the file. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Bhaskar Chowdhury <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 80d0155 commit 2eb70aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/linux/pgtable.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addres
426426

427427
/*
428428
* 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
430430
* out extra page fault penalty to track page access bit. For optimization page
431431
* access bit can be set during all page fault flow on these arches.
432432
* 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);
519519
/*
520520
* This is an implementation of pmdp_establish() that is only suitable for an
521521
* 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.
523523
*/
524524
static inline pmd_t generic_pmdp_establish(struct vm_area_struct *vma,
525525
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,
852852
* updates, but to prevent any updates it may make from being lost.
853853
*
854854
* 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.
856856
*
857857
* Note that this interface is intended to be batchable, meaning that
858858
* 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)
12811281
*
12821282
* The complete check uses is_pmd_migration_entry() in linux/swapops.h
12831283
* 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.
12851285
*
12861286
* !pmd_present() is equivalent to is_pmd_migration_entry() currently,
12871287
* because !pmd_present() pages can only be under migration not swapped
12881288
* out.
12891289
*
1290-
* pmd_none() is preseved for future condition checks on pmd migration
1290+
* pmd_none() is preserved for future condition checks on pmd migration
12911291
* entries and not confusing with this function name, although it is
12921292
* redundant with !pmd_present().
12931293
*/

0 commit comments

Comments
 (0)