Skip to content

Commit

Permalink
mm/vmscan.c: fix typo in comment
Browse files Browse the repository at this point in the history
Fix the typo "resheduled" -> "rescheduled" in comment

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Xianting Tian <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Xianting Tian authored and torvalds committed Dec 1, 2019
1 parent b91ac37 commit 178821b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@ int isolate_lru_page(struct page *page)

/*
* A direct reclaimer may isolate SWAP_CLUSTER_MAX pages from the LRU list and
* then get resheduled. When there are massive number of tasks doing page
* then get rescheduled. When there are massive number of tasks doing page
* allocation, such sleeping direct reclaimers may keep piling up on each CPU,
* the LRU list will go small and be scanned faster than necessary, leading to
* unnecessary swapping, thrashing and OOM.
Expand Down

0 comments on commit 178821b

Please sign in to comment.