+0
−2
Loading
stable inclusion from stable-v6.6.78 commit b4e355e70e12aac855950323eb9f45f1586a5e5e category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBX1M5 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b4e355e70e12aac855950323eb9f45f1586a5e5e -------------------------------- This reverts commit 6e1a8225930719a9f352d56320214e33e2dde0a6. The backport for linux-6.6.y, commit 6e1a82259307 ("btrfs: avoid monopolizing a core when activating a swap file"), inserted cond_resched() in the wrong location. Revert it now; a subsequent commit will re-backport the original patch. Fixes: 6e1a82259307 ("btrfs: avoid monopolizing a core when activating a swap file") # linux-6.6.y Signed-off-by:Koichiro Den <koichiro.den@canonical.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit b4e355e70e12aac855950323eb9f45f1586a5e5e) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>