PERFORCE change 53062 for review

Julian Elischer julian at FreeBSD.org
Wed May 19 11:00:34 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=53062

Change 53062 by julian at julian_desk on 2004/05/19 10:59:42

	Need to initialise the kse upcall zone etc.

Affected files ...

.. //depot/projects/nsched/sys/kern/init_main.c#7 edit
.. //depot/projects/nsched/sys/kern/kern_kse.c#7 edit
.. //depot/projects/nsched/sys/sys/proc.h#10 edit

Differences ...

==== //depot/projects/nsched/sys/kern/init_main.c#7 (text+ko) ====

@@ -336,6 +336,7 @@
 	 */
 	procinit();	/* set up proc zone */
 	threadinit();	/* set up thead, upcall and KSEGRP zones */
+	kseinit();	/* set up kse specific stuff  e.g. upcall zone*/
 
 	/*
 	 * initialise scheduler resources.

==== //depot/projects/nsched/sys/kern/kern_kse.c#7 (text+ko) ====

@@ -82,8 +82,6 @@
 
 static int thread_update_usr_ticks(struct thread *td, int user);
 static void thread_alloc_spare(struct thread *td, struct thread *spare);
-void kse_initialise(void);
-void kse_GC(void);
 
 
 struct kse_upcall *
@@ -633,7 +631,7 @@
  * Initialize global thread allocation resources.
  */
 void
-kse_initialise(void)
+kseinit(void)
 {
 
 	upcall_zone = uma_zcreate("UPCALL", sizeof(struct kse_upcall),

==== //depot/projects/nsched/sys/sys/proc.h#10 (text+ko) ====

@@ -840,6 +840,9 @@
 void	thread_stopped(struct proc *p);
 void	thread_switchout(struct thread *td);
 void	thr_exit1(void);
+void	kseinit(void);
+void	kse_GC(void);
+
 #endif	/* _KERNEL */
 
 #endif	/* !_SYS_PROC_H_ */


More information about the p4-projects mailing list