From 70293ea5ed25a392610d858530446faa84fb2dae Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 27 Dec 2003 19:21:05 +0000 Subject: [PATCH] Add a p_sched field to accomodate Adam K Kirchhoff's scheduler work. This will eventually turn into a loadable scheduler module API. Requested-by: Adam K Kirchhoff --- sys/sys/proc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/sys/proc.h b/sys/sys/proc.h index fe26459015..53919a8828 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -37,7 +37,7 @@ * * @(#)proc.h 8.15 (Berkeley) 5/19/95 * $FreeBSD: src/sys/sys/proc.h,v 1.99.2.9 2003/06/06 20:21:32 tegge Exp $ - * $DragonFly: src/sys/sys/proc.h,v 1.38 2003/12/07 04:20:38 dillon Exp $ + * $DragonFly: src/sys/sys/proc.h,v 1.39 2003/12/27 19:21:05 dillon Exp $ */ #ifndef _SYS_PROC_H_ @@ -123,6 +123,7 @@ struct pargs { */ struct jail; +struct sched; struct proc { TAILQ_ENTRY(proc) p_procq; /* run/sleep queue. */ @@ -232,6 +233,7 @@ struct proc { void *p_emuldata; /* process-specific emulator state data */ struct thread *p_thread; /* temporarily embed thread struct in proc */ struct upcall *p_upcall; /* USERLAND POINTER! registered upcall */ + struct sched *p_sched; /* work-in-progress / Peter Kadau */ }; #if defined(_KERNEL) -- 2.41.0