Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

include/linux/pgtable.h: few spelling fixes

Few spelling fixes throughout the file.

Link: https://lkml.kernel.org/r/20210318201404.6380-1-unixbhaskar@gmail.com
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Bhaskar Chowdhury and committed by
Linus Torvalds
2eb70aab 80d01558

+5 -5
+5 -5
include/linux/pgtable.h
··· 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 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 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 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 */