+11
−10
Loading
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAO6DE -------------------------------- In the commit 8ee84018 ("mm/dynamic_pool: disable irq for dynamic_pool lock"), the spinlock has been changed to spinlock_irq to address potential deadlock scenarios during interrupts. However, during dpool_init(), the lock will be released and sleep in order to avoid lockup. This is not appropriate, as disabling the interrupt will render this scheduling ineffective. To resolve this, add pages to dpool via batch. Fixes: 8ee84018 ("mm/dynamic_pool: disable irq for dynamic_pool lock") Signed-off-by:Ma Wupeng <mawupeng1@huawei.com> Signed-off-by:
Liu Shixin <liushixin2@huawei.com>