HomeFreeBSD

LinuxKPI: Fix typo in cond_resched_lock

Description

LinuxKPI: Fix typo in cond_resched_lock

Lock must be released rather than acquired around mi_switch call.

MFC after: 1 week
Reviewed by: hselasky, manu
Differential Revision: https://reviews.freebsd.org/D35048

Details

Provenance
wulfAuthored on May 17 2022, 12:10 PM
Reviewer
hselasky
Differential Revision
D35048: LinuxKPI: Fix typo in cond_resched_lock
Parents
rG29d5f0c14805: LinuxKPI: Convert lkpi-shrinker lock to sx.
Branches
Unknown
Tags
Unknown