-
由 zhong jiang 提交于
euler inclusion commit NA category: bugfix bugzilla: NA CVE: NA ------------------------------------------------ Commit 9980d744 ("mm, hugetlb: get rid of surplus page accounting tricks") introduce the deadloop issue. We hold the hugetlb_lock to deal with put_page, And if the refcount drop to zero, we will call free_huge_page to free the page to buddy system. Unfortunatlly, it also need to get the lock the operation. The patch just release the lock before put_page. hence it will avoid the deadloop. Fixes: 9980d744 ("mm, hugetlb: get rid of surplus page accounting tricks") Signed-off-by: Nzhong jiang <zhongjiang@huawei.com> Reviewed-by: NJing Xiangfeng <jingxiangfeng@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
9975c8ea