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


Groups > linux.kernel > #1445990

[PATCH v1] mm: hugetlb: remove incorrect comment

From Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Newsgroups linux.kernel
Subject [PATCH v1] mm: hugetlb: remove incorrect comment
Date 2016-07-19 04:10 +0200
Message-ID <rWsDT-68O-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


dequeue_hwpoisoned_huge_page() can be called without page lock hold,
so let's remove incorrect comment.

Reported-by: Zhan Chen <zhanc1@andrew.cmu.edu>
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
---
 mm/hugetlb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git v4.7-rc7/mm/hugetlb.c v4.7-rc7_patched/mm/hugetlb.c
index c1f3c0b..26f735c 100644
--- v4.7-rc7/mm/hugetlb.c
+++ v4.7-rc7_patched/mm/hugetlb.c
@@ -4401,7 +4401,6 @@ follow_huge_pud(struct mm_struct *mm, unsigned long address,
 
 /*
  * This function is called from memory failure code.
- * Assume the caller holds page lock of the head page.
  */
 int dequeue_hwpoisoned_huge_page(struct page *hpage)
 {
-- 
2.7.0

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


Thread

[PATCH v1] mm: hugetlb: remove incorrect comment Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2016-07-19 04:10 +0200
  Re: [PATCH v1] mm: hugetlb: remove incorrect comment Michal Hocko <mhocko@kernel.org> - 2016-07-19 11:20 +0200
    Re: [PATCH v1] mm: hugetlb: remove incorrect comment Naoya Horiguchi <nao.horiguchi@gmail.com> - 2016-07-20 11:40 +0200
      Re: [PATCH v1] mm: hugetlb: remove incorrect comment Michal Hocko <mhocko@kernel.org> - 2016-07-20 11:50 +0200

csiph-web