HEADSUP: KSE support removed from the kernel.

Eygene Ryabinkin rea-fbsd at codelabs.ru
Wed Mar 12 04:51:11 PDT 2008


Jeff, good day.

Wed, Mar 12, 2008 at 12:27:55AM -1000, Jeff Roberson wrote:
> CURRENT is no longer going to support KSE threaded applications.

And it broke the Tinderbox, because /usr/src/usr.bin/kdump/mksubr
produces source file that includes <sys/kse.h>.

>   Removed files:
>     sys/kern             kern_kse.c
>     sys/sys              kse.h

The following patch worked for me, although I may had missed something:
-----
--- mksubr.orig	2008-03-12 14:47:31.000000000 +0300
+++ mksubr	2008-03-12 14:48:22.000000000 +0300
@@ -149,7 +149,6 @@
 #define _KERNEL
 #include <sys/thr.h>
 #undef _KERNEL
-#include <sys/kse.h>
 #include <sys/extattr.h>
 #include <sys/acl.h>
 #include <aio.h>
@@ -327,7 +326,6 @@
 auto_switch_type "msyncflagsname" "MS_[A-Z]+[[:space:]]+0x[0-9]+" "sys/mman.h"
 auto_switch_type "schedpolicyname" "SCHED_[A-Z]+[[:space:]]+[0-9]+" "sched.h"
 auto_switch_type "kldunloadfflagsname" "LINKER_UNLOAD_[A-Z]+[[:space:]]+[0-9]+" "sys/linker.h"
-auto_switch_type "ksethrcmdname" "KSE_INTR_[A-Z]+[[:space:]]+[0-9]+" "sys/kse.h"
 auto_switch_type "extattrctlname" "EXTATTR_NAMESPACE_[A-Z]+[[:space:]]+0x[0-9]+" "sys/extattr.h"
 auto_switch_type "kldsymcmdname" "KLDSYM_[A-Z]+[[:space:]]+[0-9]+" "sys/linker.h"
 auto_switch_type "sendfileflagsname" "SF_[A-Z]+[[:space:]]+[0-9]+" "sys/socket.h"
-----
-- 
Eygene


More information about the freebsd-current mailing list