a7d0570e67
state into global and per-CPU scheduler state: - Global state: sched_qs (run queues), sched_whichqs (bitmap of non-empty run queues), sched_slpque (sleep queues). NOTE: These may collectively move into a struct schedstate at some point in the future. - Per-CPU state, struct schedstate_percpu: spc_runtime (time process on this CPU started running), spc_flags (replaces struct proc's p_schedflags), and spc_curpriority (usrpri of processes on this CPU). - Every platform must now supply a struct cpu_info and a curcpu() macro. Simplify existing cpu_info declarations where appropriate. - All references to per-CPU scheduler state now made through curcpu(). NOTE: this will likely be adjusted in the future after further changes to struct proc are made. Tested on i386 and Alpha. Changes are mostly mechanical, but apologies in advance if it doesn't compile on a particular platform. |
||
---|---|---|
.. | ||
Makefile | ||
ansi.h | ||
aout_machdep.h | ||
asm.h | ||
autoconf.h | ||
bswap.h | ||
bus.h | ||
cdefs.h | ||
cpu.h | ||
db_machdep.h | ||
disklabel.h | ||
endian.h | ||
endian_machdep.h | ||
float.h | ||
frame.h | ||
ieee.h | ||
ieeefp.h | ||
intr.h | ||
kcore.h | ||
limits.h | ||
lock.h | ||
math.h | ||
param.h | ||
pcb.h | ||
pmap.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
setjmp.h | ||
signal.h | ||
stdarg.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h |