HEADSUP: KSE support removed from the kernel.

Eygene Ryabinkin rea-fbsd at codelabs.ru
Wed Mar 12 05:14:08 PDT 2008


Me again.

Wed, Mar 12, 2008 at 02:51:08PM +0300, Eygene Ryabinkin wrote:
> 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
[...]

Sorry, forgot to include the patch to the kdump.c:
-----
--- kdump.c.orig	2008-03-12 15:11:34.000000000 +0300
+++ kdump.c	2008-03-12 15:11:44.000000000 +0300
@@ -743,12 +743,6 @@
 				mountflagsname ((int)*ip);
 				ip++;
 				narg--;
-			} else if (ktr->ktr_code == SYS_kse_thr_interrupt) {
-				print_number(ip,narg,c);
-				(void)putchar(',');
-				ksethrcmdname ((int)*ip);
-				ip++;
-				narg--;
 			} else if (ktr->ktr_code == SYS_thr_create) {
 				print_number(ip,narg,c);
 				print_number(ip,narg,c);
-----
-- 
Eygene


More information about the freebsd-current mailing list