Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1265470

[PATCH v1] hugetlb: trivial comment fix

From Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Newsgroups linux.kernel
Subject [PATCH v1] hugetlb: trivial comment fix
Date 2015-11-09 10:20 +0100
Message-ID <qsQMi-4tx-13@gated-at.bofh.it> (permalink)
References <qrJ0u-Z9-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Recently alloc_buddy_huge_page was renamed to __alloc_buddy_huge_page, so
let's sync comments.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
---
 mm/hugetlb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git mmotm-2015-10-21-14-41/mm/hugetlb.c mmotm-2015-10-21-14-41_patched/mm/hugetlb.c
index 9e63f1a..1721c9d 100644
--- mmotm-2015-10-21-14-41/mm/hugetlb.c
+++ mmotm-2015-10-21-14-41_patched/mm/hugetlb.c
@@ -2133,7 +2133,7 @@ static unsigned long set_max_huge_pages(struct hstate *h, unsigned long count,
 	 * First take pages out of surplus state.  Then make up the
 	 * remaining difference by allocating fresh huge pages.
 	 *
-	 * We might race with alloc_buddy_huge_page() here and be unable
+	 * We might race with __alloc_buddy_huge_page() here and be unable
 	 * to convert a surplus huge page to a normal huge page. That is
 	 * not critical, though, it just means the overall size of the
 	 * pool might be one hugepage larger than it needs to be, but
@@ -2175,7 +2175,7 @@ static unsigned long set_max_huge_pages(struct hstate *h, unsigned long count,
 	 * By placing pages into the surplus state independent of the
 	 * overcommit value, we are allowing the surplus pool size to
 	 * exceed overcommit. There are few sane options here. Since
-	 * alloc_buddy_huge_page() is checking the global counter,
+	 * __alloc_buddy_huge_page() is checking the global counter,
 	 * though, we'll note that we're not allowed to exceed surplus
 	 * and won't grow the pool anywhere else. Not until one of the
 	 * sysctls are changed, or the surplus pages go out of use.
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v1] mm: hwpoison: adjust for new thp refcounting Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-11-06 07:20 +0100
  Re: [PATCH v1] mm: hwpoison: adjust for new thp refcounting Sasha Levin <sasha.levin@oracle.com> - 2015-11-06 07:40 +0100
    Re: [PATCH v1] mm: hwpoison: adjust for new thp refcounting Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-11-06 07:50 +0100
      [PATCH v2] mm: hwpoison: adjust for new thp refcounting Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-11-06 09:10 +0100
        Re: [PATCH v2] mm: hwpoison: adjust for new thp refcounting "Kirill A. Shutemov" <kirill@shutemov.name> - 2015-11-06 11:40 +0100
      [PATCH v1] hugetlb: trivial comment fix Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-11-09 10:20 +0100

csiph-web