提交 9e7ee400 编写于 作者: R Randy Dunlap 提交者: Linus Torvalds

mm/hugetlb.c: delete duplicated words

Drop the repeated word "the" in two places.
Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: NAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: NMike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: NZi Yan <ziy@nvidia.com>
Link: http://lkml.kernel.org/r/20200801173822.14973-5-rdunlap@infradead.orgSigned-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 0cb80a2f
...@@ -133,7 +133,7 @@ void hugepage_put_subpool(struct hugepage_subpool *spool) ...@@ -133,7 +133,7 @@ void hugepage_put_subpool(struct hugepage_subpool *spool)
/* /*
* Subpool accounting for allocating and reserving pages. * Subpool accounting for allocating and reserving pages.
* Return -ENOMEM if there are not enough resources to satisfy the * Return -ENOMEM if there are not enough resources to satisfy the
* the request. Otherwise, return the number of pages by which the * request. Otherwise, return the number of pages by which the
* global pools must be adjusted (upward). The returned value may * global pools must be adjusted (upward). The returned value may
* only be different than the passed value (delta) in the case where * only be different than the passed value (delta) in the case where
* a subpool minimum size must be maintained. * a subpool minimum size must be maintained.
...@@ -2167,7 +2167,7 @@ static void return_unused_surplus_pages(struct hstate *h, ...@@ -2167,7 +2167,7 @@ static void return_unused_surplus_pages(struct hstate *h,
* evenly across all nodes with memory. Iterate across these nodes * evenly across all nodes with memory. Iterate across these nodes
* until we can no longer free unreserved surplus pages. This occurs * until we can no longer free unreserved surplus pages. This occurs
* when the nodes with surplus pages have no free pages. * when the nodes with surplus pages have no free pages.
* free_pool_huge_page() will balance the the freed pages across the * free_pool_huge_page() will balance the freed pages across the
* on-line nodes with memory and will handle the hstate accounting. * on-line nodes with memory and will handle the hstate accounting.
* *
* Note that we decrement resv_huge_pages as we free the pages. If * Note that we decrement resv_huge_pages as we free the pages. If
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册