+18
−15
+2
−2
Loading
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9K8D1 CVE: NA -------------------------------- Like commit db71ef79 ("hugetlb: make free_huge_page irq safe") said, the spinlock may be interrupt by hugetlb freeing path, which will results deadlock. This patch fix such deadlock scenarios by changing spin_lock to spin_lock_irq in every path. Fixes: a8a836a3 ("mm/dynamic_hugetlb: establish the dynamic hugetlb feature framework") Signed-off-by:Liu Shixin <liushixin2@huawei.com>