aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorNaoya Horiguchi <[email protected]>2012-12-12 13:52:33 -0800
committerLinus Torvalds <[email protected]>2012-12-12 17:38:35 -0800
commit56f2fb147659e05b1e87b99791bf44b988d38545 (patch)
tree7e29f1c2cf74e4789ec5429bab3dc4f45a12ef89 /lib/string_helpers.c
parent5f24ae585be985691c017b7ab90b3669dca32d6d (diff)
mm/hugetlb.c: fix warning on freeing hwpoisoned hugepage
Fix the warning from __list_del_entry() which is triggered when a process tries to do free_huge_page() for a hwpoisoned hugepage. free_huge_page() can be called for hwpoisoned hugepage from unpoison_memory(). This function gets refcount once and clears PageHWPoison, and then puts refcount twice to return the hugepage back to free pool. The second put_page() finally reaches free_huge_page(). Signed-off-by: Naoya Horiguchi <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Tony Luck <[email protected]> Cc: Wu Fengguang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions