freebsd-src/sys/kern
Steve Passe 2645264a72 Debug version of simple_lock. This will store the CPU id of the
holding CPU along with the lock.  When a CPU fails to get the lock
it compares its own id to the holder id.  If they are the same it
panic()s, as simple locks are binary, and this would cause a deadlock.

Controlled by smptests.h: SL_DEBUG, ON by default.

Some minor cleanup.
1997-08-31 03:17:48 +00:00
..
imgact_aout.c Removed redundant test against MAXDSIZ (the rlimit test is stronger). 1997-08-26 00:02:24 +00:00
imgact_elf.c Fully implement vfork. Vfork is now much much faster than even our 1997-04-13 01:48:35 +00:00
imgact_gzip.c Removed redundant test against MAXDSIZ (the rlimit test is stronger). 1997-08-26 00:02:24 +00:00
imgact_shell.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
inflate.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
init_main.c Clean up the SMP AP bootstrap and eliminate the wretched idle procs. 1997-08-26 18:10:38 +00:00
init_sysent.c Regenerate 1997-08-19 05:57:04 +00:00
init_sysvec.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_acct.c Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
kern_clock.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
kern_conf.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_descrip.c Removed some stale comments. 1997-08-26 00:09:44 +00:00
kern_exec.c Fixed security hole with sharing the file descriptor table (via rfork) 1997-08-04 05:39:24 +00:00
kern_exit.c Fixed some gratuitous ANSIisms. 1997-08-26 00:15:04 +00:00
kern_fork.c Fixed some gratuitous ANSIisms. 1997-08-26 00:15:04 +00:00
kern_intr.c Added a half dozen casts to eliminate annoying warnings. 1997-08-21 06:39:41 +00:00
kern_ktrace.c Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined. 1997-03-23 03:37:54 +00:00
kern_linker.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_lkm.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_lock.c typo in comment. 1997-08-22 07:16:46 +00:00
kern_lockf.c Use OID_AUTO instead of a magic number for Lite2 sysctl debug.lockf_debug. 1997-04-01 10:30:06 +00:00
kern_malloc.c Get rid of the ad-hoc memory allocator for vm_map_entries, in lieu of 1997-08-05 00:02:08 +00:00
kern_mib.c Move MACHINE_ARCH definition from <machine/param.h> to <machine/cpu.h>. 1997-08-30 02:52:04 +00:00
kern_module.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_ntptime.c Update our kernel ntp code to the latest from David Mills. The main change 1996-12-30 18:26:28 +00:00
kern_opt.c Added a copyright and restored order. 1997-02-28 10:14:24 +00:00
kern_physio.c Fixed some gratuitous ANSIisms. 1997-08-26 00:15:04 +00:00
kern_proc.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_prot.c Implement XPG/SYSV-style getpgid()/getsid() syscalls. getpgid() uses the 1997-08-19 06:00:27 +00:00
kern_random.c don't #ifdef out reference to i586_ctr_freq. 1997-05-04 14:28:22 +00:00
kern_resource.c Print more info in the "calcru: negative time" message. 1997-08-26 00:20:11 +00:00
kern_shutdown.c Correct some things I forgot about until it was too late with smp_active. 1997-08-26 18:36:15 +00:00
kern_sig.c Finished staticizing. 1997-08-26 00:31:04 +00:00
kern_subr.c Define NPRIMES in terms of the number of elements in 'primes' (as opposed 1997-05-28 00:47:27 +00:00
kern_synch.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
kern_sysctl.c Include <sys/buf.h> instead of <sys/vnode.h>. kern_sysctl.c no 1997-04-09 15:23:09 +00:00
kern_tc.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
kern_threads.c This is an upgrade so that the kernel supports the AIO calls from 1997-07-06 02:40:43 +00:00
kern_time.c Don't return EINVAL for negative timespecs in the nanosleep functions. 1997-08-26 00:40:04 +00:00
kern_timeout.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
kern_xxx.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
link_aout.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
Make.tags.inc Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
Makefile Remove bogus architectures to allow make tags to work. 1996-03-31 18:53:43 +00:00
makesyscalls.sh Don't generate unused nested #include of <sys/aio.h>. 1997-06-29 17:39:57 +00:00
md5c.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
subr_autoconf.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
subr_clist.c Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
subr_disklabel.c Use the correct size for a sector in the search for a label in 1997-07-13 15:53:20 +00:00
subr_diskmbr.c Avoid division by 0 in check_part(). (It occurred when max_nsectors == 0. 1997-04-19 14:14:17 +00:00
subr_diskslice.c Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
subr_dkbad.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
subr_log.c Don't include <sys/ioctl.h> in the kernel. Stage 4: include 1997-03-24 11:52:29 +00:00
subr_param.c Removed unused #includes. 1997-06-14 11:38:46 +00:00
subr_prf.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
subr_prof.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
subr_rlist.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
subr_smp.c Debug version of simple_lock. This will store the CPU id of the 1997-08-31 03:17:48 +00:00
subr_trap.c Remove the vm86 support as an LKM, and link it directly into the kernel 1997-08-28 14:36:56 +00:00
subr_xxx.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
sys_generic.c Modifications to existing files to support the initial AIO/LIO and 1997-06-16 00:29:36 +00:00
sys_pipe.c Another attempt at cleaning up the new memory allocator. 1997-08-05 22:24:31 +00:00
sys_process.c Remove bogon from previous commit: doubly included sys/systm.h. 1997-04-27 21:26:29 +00:00
sys_socket.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
syscalls.c Regenerate 1997-08-19 05:57:04 +00:00
syscalls.master SVR4/XPG-style getpgid()/getsid() syscalls. 1997-08-19 05:53:48 +00:00
sysv_ipc.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
sysv_msg.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
sysv_sem.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
sysv_shm.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
tty.c Don't include <sys/ioctl.h> in the kernel. Stage 5: include 1997-03-24 12:03:06 +00:00
tty_compat.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
tty_conf.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tty_cons.c Make a function static to quieten gcc 1997-08-08 20:29:47 +00:00
tty_pty.c fix a few problems with pty. warn about how if you only have 1 pty 1997-07-30 10:05:18 +00:00
tty_snoop.c Don't include <sys/ioctl.h> in the kernel. Stage 3: include 1997-03-24 11:37:53 +00:00
tty_subr.c Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
tty_tb.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tty_tty.c Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
uipc_domain.c The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
uipc_mbuf.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
uipc_proto.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
uipc_sockbuf.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
uipc_socket.c #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
uipc_socket2.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
uipc_syscalls.c Delete a bit of debugging code that mistakenly crept in, and as a consequence 1997-08-17 19:47:28 +00:00
uipc_usrreq.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
vfs_aio.c Clean up some lint associated with the AIO code. 1997-07-17 04:49:43 +00:00
vfs_bio.c Back out some incorrect changes that was worse than the original bug. 1997-08-26 04:36:27 +00:00
vfs_cache.c Uncut&paste cache_lookup(). 1997-08-26 07:32:51 +00:00
vfs_cluster.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
vfs_conf.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vfs_export.c Restored rev.1.92 which was clobbered by the previous commit. 1997-08-26 11:59:20 +00:00
vfs_extattr.c Merge WebNFS support from NetBSD 1997-07-17 07:17:33 +00:00
vfs_init.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
vfs_lookup.c [Previous comment was incorrect for these files] 1997-04-04 17:47:43 +00:00
vfs_mount.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vfs_subr.c Restored rev.1.92 which was clobbered by the previous commit. 1997-08-26 11:59:20 +00:00
vfs_syscalls.c Merge WebNFS support from NetBSD 1997-07-17 07:17:33 +00:00
vfs_vnops.c [Previous comment was incorrect for these files] 1997-04-04 17:47:43 +00:00
vnode_if.pl Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vnode_if.sh Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vnode_if.src Add a new vnode op (cachedlookup) so that filesystems can plug into 1997-08-25 20:28:49 +00:00