FreeBSD has had kernel threads for 20+ years. (cherry picked from commit 57ea2912e24de04072b069c0e618a9888bb7967a)