NetBSD/sys/kern
thorpej a7d0570e67 First sweep at scheduler state cleanup. Collect MI scheduler
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.
2000-05-26 21:19:19 +00:00
..
exec_aout.c add a new function vn_marktext() for exec code to let others know 2000-04-11 04:37:47 +00:00
exec_conf.c defopt COMPAT_VAX1K 2000-01-17 02:59:25 +00:00
exec_ecoff.c add a new function vn_marktext() for exec code to let others know 2000-04-11 04:37:47 +00:00
exec_elf32.c add a new function vn_marktext() for exec code to let others know 2000-04-11 04:37:47 +00:00
exec_elf64.c add support and reorganize for 64-bit ELF, included by EXEC_ELF64 1996-09-26 20:51:03 +00:00
exec_elf_common.c update for linux file move. 1998-10-03 20:39:32 +00:00
exec_script.c (exec_script_makecmds): remove declaration of vnops, now in 2000-02-01 01:23:29 +00:00
exec_subr.c Handle misalignment in vmcmd_map_readvn and vmcmd_map_zero correctly. 1999-07-07 20:23:45 +00:00
genassym.awk Allow pattern matching for symbol string to handle GCC's output for mips, 1998-11-25 06:10:19 +00:00
genassym.sh new command "config" to set type (for c), constraint and printmodifier. 1998-04-25 19:48:27 +00:00
init_main.c First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
init_sysent.c Regen. 2000-04-21 16:16:15 +00:00
kern_acct.c Don't reset file size limit to infinity on exit. Instead, temporarily 2000-05-08 19:06:36 +00:00
kern_allocsys.c Call the routine to calculate callwheelsize from allocsys() instead of 2000-03-24 11:57:14 +00:00
kern_clock.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
kern_descrip.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
kern_exec.c Fill in locators for process argv/envp data after ps_strings is built. 2000-05-26 02:24:37 +00:00
kern_exit.c __predict_false() the test for init exiting. 2000-05-08 19:58:17 +00:00
kern_fork.c __predict_false() the test for full process table, user exceeding their 2000-05-08 19:59:21 +00:00
kern_kthread.c __predict_false() fork1() failing. 2000-05-08 19:59:48 +00:00
kern_ktrace.c First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
kern_lkm.c Don't need to declare nblkdev, nchrdev - these are in <sys/systm.h>. 2000-03-28 06:26:22 +00:00
kern_lock.c Fix a typo, and add some lint comments. 2000-05-23 05:17:11 +00:00
kern_malloc.c __predict_false() the check for bogus malloc type, running out of space 2000-05-08 20:02:21 +00:00
kern_ntptime.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
kern_physio.c __predict_false() uvm_useracc() failure. 2000-05-08 20:03:20 +00:00
kern_proc.c __predict_false() the DIAGNOSTIC error checks. 2000-05-08 20:07:37 +00:00
kern_prot.c Add native issetugid() call. 2000-04-21 16:15:39 +00:00
kern_resource.c First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
kern_sig.c Introduce a new process state distinct from SRUN called SONPROC 2000-05-26 00:36:42 +00:00
kern_subr.c First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
kern_synch.c First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
kern_sysctl.c Add some new sysctls to help abolish the dreaded "proc size mismatch" 2000-05-26 02:23:12 +00:00
kern_time.c First sweep at scheduler state cleanup. Collect MI scheduler 2000-05-26 21:19:19 +00:00
kern_xxx.c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
kgdb_stub.c Fix a few comment tyops, kill an inaccurate comment, and 1998-08-30 20:30:57 +00:00
Make.tags.inc Protect the COMM variable with an '.ifmake tags' to stop the long delay 1999-02-12 19:52:30 +00:00
Makefile (mostly) fix kernel tags support. from Frederick Bruckman in pr-6445. 1998-11-15 20:36:30 +00:00
makesyscalls.sh Clean up some whitespace issues in the generated syscallargs.h file. 1999-08-20 19:07:31 +00:00
subr_autoconf.c Get rid of a lot of register declarations. 2000-03-28 17:30:10 +00:00
subr_disk.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
subr_extent.c Kludge: 2000-05-24 02:22:36 +00:00
subr_log.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
subr_pool.c __predict_false() the DIAGNOSTIC and other error condition checks. 2000-05-08 20:09:44 +00:00
subr_prf.c If db_onpanic is unset and DDB is compiled in, panic() now calls 2000-05-26 20:25:57 +00:00
subr_prof.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
subr_rmap.c Back out previous. 1998-08-18 18:16:30 +00:00
subr_xxx.c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
sys_generic.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
sys_process.c Disallow tracing of processes unless tracer's root directory is at or 1999-03-25 04:45:56 +00:00
sys_socket.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
syscalls.c Regen. 2000-04-21 16:16:15 +00:00
syscalls.conf Add COMPAT_14. 1999-08-25 04:55:53 +00:00
syscalls.master Add native issetugid() call. 2000-04-21 16:15:39 +00:00
sysv_ipc.c Make copyrights consistent; fix weird/trailing spaces add missing (c) etc. 1998-09-12 17:20:02 +00:00
sysv_msg.c Remove bogus "#ifdef EIDRM" checks and warnings that BSD doesn't define 2000-04-12 13:08:26 +00:00
sysv_sem.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
sysv_shm.c Remove shmsegs declaration from conf/param.c - it doesn't belong here. 2000-04-15 16:49:35 +00:00
tty_conf.c defopt COMPAT_43 1998-12-10 15:07:01 +00:00
tty_pty.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
tty_subr.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
tty_tb.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
tty_tty.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
tty.c Introduce a new process state distinct from SRUN called SONPROC 2000-05-26 00:36:42 +00:00
uipc_domain.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_mbuf2.c introduce m->m_pkthdr.aux to hold random data which needs to be passed 2000-03-01 12:49:27 +00:00
uipc_mbuf.c introduce m->m_pkthdr.aux to hold random data which needs to be passed 2000-03-01 12:49:27 +00:00
uipc_proto.c add PR_LISTEN for UNIX domain socket, SOCK_STREAM case. 1999-07-01 07:59:57 +00:00
uipc_socket2.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_socket.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_syscalls.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_usrreq.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
vfs_bio.c Fix from Ethan Solomita <ethan@geocast.com> to avoid a livelock problem 2000-04-12 11:33:43 +00:00
vfs_cache.c change "nextvnodeid" from a global in namei.h to a static in 2000-04-16 21:41:49 +00:00
vfs_cluster.c First round of discarding the CL* macros. 1999-12-03 21:43:19 +00:00
vfs_getcwd.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
vfs_init.c Add Kirk McKusick's soft updates code to the trunk. Not enabled by 1999-11-15 18:49:07 +00:00
vfs_lockf.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
vfs_lookup.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
vfs_subr.c add ddb commands for printing vnodes and bufs. 2000-04-10 02:22:13 +00:00
vfs_syscalls.c implement lchflags(2), which does the chflags(2) dance without following 2000-04-17 14:31:21 +00:00
vfs_vnops.c add a new function vn_marktext() for exec code to let others know 2000-04-11 04:37:47 +00:00
vnode_if.c Change the sementics of the last parameter from a boolean ("waitfor") to 2000-05-13 23:43:06 +00:00
vnode_if.sh Update syntax to support WILLUNLOCK and WILLPUT syntax. Change calls which 1999-07-07 23:32:50 +00:00
vnode_if.src Change the sementics of the last parameter from a boolean ("waitfor") to 2000-05-13 23:43:06 +00:00