Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2008 14:51:08 +0300
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        current@freebsd.org
Subject:   Re: HEADSUP: KSE support removed from the kernel.
Message-ID:  <IjNrCnsK2NG6VxyA3VI6SS7u/u0@YTQdfCWNDYdWaOFgB0w6gA41pvU>
In-Reply-To: <20080312001824.D1091@desktop>
References:  <20080312001824.D1091@desktop>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?IjNrCnsK2NG6VxyA3VI6SS7u/u0>