HomeFreeBSD

vm: Remove kernel stack swapping support, part 2

Description

vm: Remove kernel stack swapping support, part 2

After mi_startup() finishes, thread0 becomes the "swapper", whose
responsibility is to swap threads back in on demand. Now that threads
can't be swapped out, there is no use for this thread. Just sleep
forever once sysinits are finished; thread_exit() doesn't work because
thread0 is allocated statically. The thread could be repurposed if that
would be useful.

Tested by: pho
Reviewed by: alc, imp, kib
Differential Revision: https://reviews.freebsd.org/D46113

Details

Provenance
markjAuthored on Jul 29 2024, 1:38 AM
Reviewer
alc
Differential Revision
D46113: vm: Remove kernel stack swapping support, part 2
Parents
rG13a1129d700c: vm: Remove kernel stack swapping support, part 1
Branches
Unknown
Tags
Unknown