From owner-p4-projects@FreeBSD.ORG Wed May 19 11:00:34 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8400716A4D0; Wed, 19 May 2004 11:00:34 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EE0C16A4CE for ; Wed, 19 May 2004 11:00:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58C8043D39 for ; Wed, 19 May 2004 11:00:34 -0700 (PDT) (envelope-from julian@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i4JI0NjP021512 for ; Wed, 19 May 2004 11:00:23 -0700 (PDT) (envelope-from julian@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4JI0MDs021509 for perforce@freebsd.org; Wed, 19 May 2004 11:00:23 -0700 (PDT) (envelope-from julian@freebsd.org) Date: Wed, 19 May 2004 11:00:23 -0700 (PDT) Message-Id: <200405191800.i4JI0MDs021509@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to julian@freebsd.org using -f From: Julian Elischer To: Perforce Change Reviews Subject: PERFORCE change 53062 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 18:00:34 -0000 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_ */