diff options
author | Naoya Horiguchi <[email protected]> | 2016-07-28 15:48:38 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-07-28 16:07:41 -0700 |
commit | 7c7fd82556c61113b6327c9696b347a82b215072 (patch) | |
tree | 99499ad717a26aa030d1f7cd6bea0c918f65d363 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 91fd8b95d656dcd3f0a4e17b6583e7b0220b0747 (diff) |
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/[email protected]
Signed-off-by: Naoya Horiguchi <[email protected]>
Reported-by: Zhan Chen <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions