Skip to content

Commit be16dd7

Browse files
muzzammilashrafakpm00
authored andcommitted
mm: fix multiple typos in multiple files
Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Muhammad Muzammil <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Muhammad Muzammil <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 98b32d2 commit be16dd7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

mm/debug_vm_pgtable.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,8 +1322,8 @@ static int __init debug_vm_pgtable(void)
13221322
* true irrespective of the starting protection value for a
13231323
* given page table entry.
13241324
*
1325-
* Protection based vm_flags combinatins are always linear
1326-
* and increasing i.e starting from VM_NONE and going upto
1325+
* Protection based vm_flags combinations are always linear
1326+
* and increasing i.e starting from VM_NONE and going up to
13271327
* (VM_SHARED | READ | WRITE | EXEC).
13281328
*/
13291329
#define VM_FLAGS_START (VM_NONE)

mm/internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ extern bool mlock_future_ok(struct mm_struct *mm, unsigned long flags,
592592
* range.
593593
* "fully mapped" means all the pages of folio is associated with the page
594594
* table of range while this function just check whether the folio range is
595-
* within the range [start, end). Funcation caller nees to do page table
595+
* within the range [start, end). Function caller needs to do page table
596596
* check if it cares about the page table association.
597597
*
598598
* Typical usage (like mlock or madvise) is:

mm/memcontrol.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ void __mod_memcg_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx,
819819
memcg = pn->memcg;
820820

821821
/*
822-
* The caller from rmap relay on disabled preemption becase they never
822+
* The caller from rmap relies on disabled preemption because they never
823823
* update their counter from in-interrupt context. For these two
824824
* counters we check that the update is never performed from an
825825
* interrupt context while other caller need to have disabled interrupt.
@@ -8044,7 +8044,7 @@ static struct cftype memsw_files[] = {
80448044
*
80458045
* This doesn't check for specific headroom, and it is not atomic
80468046
* either. But with zswap, the size of the allocation is only known
8047-
* once compression has occured, and this optimistic pre-check avoids
8047+
* once compression has occurred, and this optimistic pre-check avoids
80488048
* spending cycles on compression when there is already no room left
80498049
* or zswap is disabled altogether somewhere in the hierarchy.
80508050
*/

mm/mmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ unsigned long do_mmap(struct file *file, unsigned long addr,
12231223
* Does the application expect PROT_READ to imply PROT_EXEC?
12241224
*
12251225
* (the exception is when the underlying filesystem is noexec
1226-
* mounted, in which case we dont add PROT_EXEC.)
1226+
* mounted, in which case we don't add PROT_EXEC.)
12271227
*/
12281228
if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC))
12291229
if (!(file && path_noexec(&file->f_path)))

0 commit comments

Comments
 (0)