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 | ||
cdefs.h | ||
cg2reg.h | ||
cpu.h | ||
db_machdep.h | ||
disklabel.h | ||
dvma.h | ||
dvma3.h | ||
dvma3x.h | ||
eeprom.h | ||
elf_machdep.h | ||
endian.h | ||
endian_machdep.h | ||
fbio.h | ||
float.h | ||
frame.h | ||
idprom.h | ||
ieee.h | ||
ieeefp.h | ||
kbd.h | ||
kbio.h | ||
kcore.h | ||
leds.h | ||
limits.h | ||
lock.h | ||
math.h | ||
mc68851.h | ||
mon.h | ||
param.h | ||
param3.h | ||
param3x.h | ||
pcb.h | ||
pmap.h | ||
pmap3.h | ||
pmap3x.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
pte3.h | ||
pte3x.h | ||
ptrace.h | ||
reg.h | ||
setjmp.h | ||
signal.h | ||
stdarg.h | ||
svr4_machdep.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h | ||
vmparam3.h | ||
vmparam3x.h | ||
vuid_event.h | ||
z8530var.h |