Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2008 04:10:32 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132281 for review
Message-ID:  <200801020410.m024AWB6002343@repoman.freebsd.org>

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

Change 132281 by kmacy@pandemonium:kmacy:xen31 on 2008/01/02 04:09:54

	indicate to the rest of the system that it is safe to sleep

Affected files ...

.. //depot/projects/xen31/sys/kern/init_main.c#6 edit

Differences ...

==== //depot/projects/xen31/sys/kern/init_main.c#6 (text+ko) ====

@@ -583,6 +583,8 @@
 SYSCTL_INT(_kern, OID_AUTO, init_shutdown_timeout,
 	CTLFLAG_RW, &init_shutdown_timeout, 0, "");
 
+int scheduler_running = 0;
+
 /*
  * Start the initial user process; try exec'ing each pathname in init_path.
  * The program is invoked with one argument containing the boot flags.
@@ -598,6 +600,7 @@
 	struct thread *td;
 	struct proc *p;
 
+	scheduler_running = 1;
 	mtx_lock(&Giant);
 
 	GIANT_REQUIRED;



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