socsvn commit: r238993 - in soc2012/rudot/sys: kern sys

rudot at FreeBSD.org rudot at FreeBSD.org
Thu Jul 5 11:08:50 UTC 2012


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_ */


More information about the svn-soc-all mailing list