Date: Thu, 05 Jul 2012 11:08:48 +0000 From: rudot@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r238993 - in soc2012/rudot/sys: kern sys Message-ID: <20120705110848.B4DBD1065673@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rudot Date: Thu Jul 5 11:08:48 2012 New Revision: 238993 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=238993 Log: cleanup of old code Modified: soc2012/rudot/sys/kern/sched_4bsd.c soc2012/rudot/sys/sys/sched.h Modified: soc2012/rudot/sys/kern/sched_4bsd.c ============================================================================== --- soc2012/rudot/sys/kern/sched_4bsd.c Thu Jul 5 10:23:44 2012 (r238992) +++ soc2012/rudot/sys/kern/sched_4bsd.c Thu Jul 5 11:08:48 2012 (r238993) @@ -69,10 +69,6 @@ dtrace_vtime_switch_func_t dtrace_vtime_switch_func; #endif -#ifdef RACCT -#include <sys/racct.h> -#endif - /* * INVERSE_ESTCPU_WEIGHT is only suitable for statclock() frequencies in * the range 100-256 Hz (approximately). @@ -1260,6 +1256,7 @@ SDT_PROBE4(sched, , , enqueue, td, td->td_proc, NULL, flags & SRQ_PREEMPTED); + /* * Now that the thread is moving to the run-queue, set the lock * to the scheduler's lock. Modified: soc2012/rudot/sys/sys/sched.h ============================================================================== --- soc2012/rudot/sys/sys/sched.h Thu Jul 5 10:23:44 2012 (r238992) +++ soc2012/rudot/sys/sys/sched.h Thu Jul 5 11:08:48 2012 (r238993) @@ -239,10 +239,4 @@ __END_DECLS #endif - -#ifdef RACCT -#define TDF_RACCT_PCTCPU TDF_SCHED2 -#define TDF_RACCT_RQ TDF_SCHED3 -#endif - #endif /* !_SCHED_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120705110848.B4DBD1065673>