mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 21:09:28 +00:00
Fixed bug that caused system processes to run at realtime priority.
This commit is contained in:
parent
55020640dc
commit
f992f48043
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2445
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)init_main.c 8.9 (Berkeley) 1/21/94
|
||||
* $Id: init_main.c,v 1.7 1994/08/27 16:14:25 davidg Exp $
|
||||
* $Id: init_main.c,v 1.8 1994/09/01 05:12:37 davidg Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -167,6 +167,8 @@ main(framep)
|
||||
p->p_flag = P_INMEM | P_SYSTEM;
|
||||
p->p_stat = SRUN;
|
||||
p->p_nice = NZERO;
|
||||
p->p_rtprio = RTPRIO_RTOFF;
|
||||
|
||||
bcopy("swapper", p->p_comm, sizeof ("swapper"));
|
||||
|
||||
/* Create credentials. */
|
||||
@ -363,9 +365,6 @@ start_init(p, framep)
|
||||
*/
|
||||
cpu_set_init_frame(p, framep);
|
||||
|
||||
/* XXX */
|
||||
p->p_rtprio = RTPRIO_RTOFF;
|
||||
|
||||
/*
|
||||
* Need just enough stack to hold the faked-up "execve()" arguments.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user