History

mm: fix some typos in mm directory

No functional change.

Wei Yang committed 7 years ago

Commit 8bb4e7a1 parent 8aa49766 files · +10 −10Browse files

Unified · Split

6 files
  1. include/linux/mmzone.h +1 −1
  2. mm/migrate.c +1 −1
  3. mm/mmap.c +4 −4
  4. mm/page_alloc.c +2 −2
  5. mm/slub.c +1 −1
  6. mm/vmscan.c +1 −1
include/linux/mmzone.h+1−1
@@ -1301,7 +1301,7 @@ void memory_present(int nid, unsigned long start, unsigned long end); · 1300 unmodified lines
13011301
13021302 /*
13031303 * If it is possible to have holes within a MAX_ORDER_NR_PAGES, then we
1304− * need to check pfn validility within that MAX_ORDER_NR_PAGES block.
1304+ * need to check pfn validity within that MAX_ORDER_NR_PAGES block.
13051305 * pfn_valid_within() should be used in this case; we optimise this away
13061306 * when we have no holes within a MAX_ORDER_NR_PAGES block.
13071307 */
mm/migrate.c+1−1
@@ -100,7 +100,7 @@ int isolate_movable_page(struct page *page, isolate_mode_t mode) · 99 unmodified lines
100100 /*
101101 * Check PageMovable before holding a PG_lock because page's owner
102102 * assumes anybody doesn't touch PG_lock of newly allocated page
103− * so unconditionally grapping the lock ruins page's owner side.
103+ * so unconditionally grabbing the lock ruins page's owner side.
104104 */
105105 if (unlikely(!__PageMovable(page)))
106106 goto out_putpage;
mm/mmap.c+4−4
@@ -438,7 +438,7 @@ static void vma_gap_update(struct vm_area_struct *vma) · 437 unmodified lines
438438 {
439439 /*
440440 * As it turns out, RB_DECLARE_CALLBACKS() already created a callback
441− * function that does exacltly what we want.
441+ * function that does exactly what we want.
442442 */
443443 vma_gap_callbacks_propagate(&vma->vm_rb, NULL);
444444 }
@@ -1012,7 +1012,7 @@ static inline int is_mergeable_vma(struct vm_area_struct *vma, · 567 unmodified lines
10121012 * VM_SOFTDIRTY should not prevent from VMA merging, if we
10131013 * match the flags but dirty bit -- the caller should mark
10141014 * merged VMA as dirty. If dirty bit won't be excluded from
1015− * comparison, we increase pressue on the memory system forcing
1015+ * comparison, we increase pressure on the memory system forcing
10161016 * the kernel to generate new VMAs when old one could be
10171017 * extended instead.
10181018 */
@@ -1115,7 +1115,7 @@ can_vma_merge_after(struct vm_area_struct *vma, unsigned long vm_flags, · 96 unmodified lines
11151115 * PPPP NNNN PPPPPPPPPPPP PPPPPPPPNNNN PPPPNNNNNNNN
11161116 * might become case 1 below case 2 below case 3 below
11171117 *
1118− * It is important for case 8 that the the vma NNNN overlapping the
1118+ * It is important for case 8 that the vma NNNN overlapping the
11191119 * region AAAA is never going to extended over XXXX. Instead XXXX must
11201120 * be extended in region AAAA and NNNN must be removed. This way in
11211121 * all cases where vma_merge succeeds, the moment vma_adjust drops the
@@ -1645,7 +1645,7 @@ SYSCALL_DEFINE1(old_mmap, struct mmap_arg_struct __user *, arg) · 523 unmodified lines
16451645 #endif /* __ARCH_WANT_SYS_OLD_MMAP */
16461646
16471647 /*
1648− * Some shared mappigns will want the pages marked read-only
1648+ * Some shared mappings will want the pages marked read-only
16491649 * to track write events. If so, we'll downgrade vm_page_prot
16501650 * to the private version (using protection_map[] without the
16511651 * VM_SHARED bit).
mm/page_alloc.c+2−2
@@ -7551,7 +7551,7 @@ static void __setup_per_zone_wmarks(void) · 7550 unmodified lines
75517551 * value here.
75527552 *
75537553 * The WMARK_HIGH-WMARK_LOW and (WMARK_LOW-WMARK_MIN)
7554− * deltas control asynch page reclaim, and so should
7554+ * deltas control async page reclaim, and so should
75557555 * not be capped for highmem.
75567556 */
75577557 unsigned long min_pages;
@@ -8028,7 +8028,7 @@ bool has_unmovable_pages(struct zone *zone, struct page *page, int count, · 470 unmodified lines
80288028
80298029 /*
80308030 * Hugepages are not in LRU lists, but they're movable.
8031− * We need not scan over tail pages bacause we don't
8031+ * We need not scan over tail pages because we don't
80328032 * handle each tail page individually in migration.
80338033 */
80348034 if (PageHuge(page)) {
mm/slub.c+1−1
@@ -2129,7 +2129,7 @@ redo: · 2128 unmodified lines
21292129 if (!lock) {
21302130 lock = 1;
21312131 /*
2132− * Taking the spinlock removes the possiblity
2132+ * Taking the spinlock removes the possibility
21332133 * that acquire_slab() will see a slab page that
21342134 * is frozen
21352135 */
mm/vmscan.c+1−1
@@ -3527,7 +3527,7 @@ static bool kswapd_shrink_node(pg_data_t *pgdat, · 3526 unmodified lines
35273527 *
35283528 * kswapd scans the zones in the highmem->normal->dma direction. It skips
35293529 * zones which have free_pages > high_wmark_pages(zone), but once a zone is
3530− * found to have free_pages <= high_wmark_pages(zone), any page is that zone
3530+ * found to have free_pages <= high_wmark_pages(zone), any page in that zone
35313531 * or lower is eligible for reclaim until at least one usable zone is
35323532 * balanced.
35333533 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t