Re: HEADSUP: KSE support removed from the kernel.

From: Eygene Ryabinkin <rea-fbsd_at_codelabs.ru>
Date: Wed, 12 Mar 2008 14:51:08 +0300
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
_at__at_ -149,7 +149,6 _at__at_
 #define _KERNEL
 #include <sys/thr.h>
 #undef _KERNEL
-#include <sys/kse.h>
 #include <sys/extattr.h>
 #include <sys/acl.h>
 #include <aio.h>
_at__at_ -327,7 +326,6 _at__at_
 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
Received on Wed Mar 12 2008 - 10:51:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:28 UTC