summaryrefslogtreecommitdiffstats
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorNaoya Horiguchi2016-07-29 00:48:38 +0200
committerLinus Torvalds2016-07-29 01:07:41 +0200
commit7c7fd82556c61113b6327c9696b347a82b215072 (patch)
tree99499ad717a26aa030d1f7cd6bea0c918f65d363 /mm/compaction.c
parentmake __section_nr() more efficient (diff)
downloadkernel-qcow2-linux-7c7fd82556c61113b6327c9696b347a82b215072.tar.gz
kernel-qcow2-linux-7c7fd82556c61113b6327c9696b347a82b215072.tar.xz
kernel-qcow2-linux-7c7fd82556c61113b6327c9696b347a82b215072.zip
mm: hwpoison: remove incorrect comments
dequeue_hwpoisoned_huge_page() can be called without page lock hold, so let's remove incorrect comment. The reason why the page lock is not really needed is that dequeue_hwpoisoned_huge_page() checks page_huge_active() inside hugetlb_lock, which allows us to avoid trying to dequeue a hugepage that are just allocated but not linked to active list yet, even without taking page lock. Link: http://lkml.kernel.org/r/20160720092901.GA15995@www9186uo.sakura.ne.jp Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Reported-by: Zhan Chen <zhanc1@andrew.cmu.edu> Acked-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions