From acb93d599cf9e4c7fc183f5568b740813472ff16 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 12 Mar 2008 10:12:01 +0000 Subject: Remove kernel support for M:N threading. While the KSE project was quite successful in bringing threading to FreeBSD, the M:N approach taken by the kse library was never developed to its full potential. Backwards compatibility will be provided via libmap.conf for dynamically linked binaries and static binaries will be broken. --- sys/kern/kern_clock.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sys/kern/kern_clock.c') diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index fb0ca7e..c92d7de 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -477,10 +477,6 @@ statclock(int usermode) /* * Charge the time as appropriate. */ -#ifdef KSE - if (p->p_flag & P_SA) - thread_statclock(1); -#endif td->td_uticks++; if (p->p_nice > NZERO) cp_time[CP_NICE]++; @@ -504,10 +500,6 @@ statclock(int usermode) td->td_iticks++; cp_time[CP_INTR]++; } else { -#ifdef KSE - if (p->p_flag & P_SA) - thread_statclock(0); -#endif td->td_pticks++; td->td_sticks++; if (!TD_IS_IDLETHREAD(td)) -- cgit v1.1