Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 11:00:23 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 53062 for review
Message-ID:  <200405191800.i4JI0MDs021509@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=53062

Change 53062 by julian@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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405191800.i4JI0MDs021509>