opnsense-src/sys/sys
John Baldwin 33fb8a386e Rework the optimization for spinlocks on UP to be slightly less drastic and
turn it back on.  Specifically, the actual changes are now less intrusive
in that the _get_spin_lock() and _rel_spin_lock() macros now have their
contents changed for UP vs SMP kernels which centralizes the changes.
Also, UP kernels do not use _mtx_lock_spin() and no longer include it.  The
UP versions of the spin lock functions do not use any atomic operations,
but simple compares and stores which allow mtx_owned() to still work for
spin locks while removing the overhead of atomic operations.

Tested on:	i386, alpha
2005-01-05 21:13:27 +00:00
..
_iovec.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
_label.h Improve consistency of include file guards in src/sys/sys by terminating 2004-05-10 18:38:07 +00:00
_lock.h Include <sys/_lock.h>'s prerequisite <sys/queue.h> before including the 2004-06-19 14:58:35 +00:00
_mutex.h Add some basic support for measuring sleep mutex contention to the 2004-01-25 01:59:27 +00:00
_null.h Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
_semaphore.h The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
_sigset.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
_task.h Add taskqueue_drain. This waits for the specified task to finish, if 2004-10-05 04:16:01 +00:00
_timespec.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
_timeval.h Move struct timeval to its own header so that it can be shared between 2002-12-31 04:08:41 +00:00
_types.h Document why rlim_t needs to be a signed type. 2004-11-08 18:05:43 +00:00
aac_ioctl.h Do some small cleanups to comments and remove AACQ_COMPLETE definitions since 2004-02-07 17:40:38 +00:00
acct.h Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
acl.h Improve consistency of include file guards in src/sys/sys by terminating 2004-05-10 18:38:07 +00:00
agpio.h Add simple support for AGP 3.0 including enabling 8x mode. The simple 2003-10-23 18:08:56 +00:00
aio.h
alq.h Add an explicit credential argument to alq_open() to allow the caller to 2003-06-22 22:28:56 +00:00
assym.h These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
ata.h Whitespace cleanup 2004-05-20 15:09:41 +00:00
bio.h Add bioq_insert_head() function. 2004-12-13 12:57:21 +00:00
bitstring.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
blist.h Move the definitions of SWAPBLK_NONE and SWAPBLK_MASK from vm_page.h to 2004-06-04 04:03:26 +00:00
buf.h - Eliminate the acquisition and release of the bqlock in bremfree() by 2004-11-18 08:44:09 +00:00
bufobj.h Give the bufobj a private __bo_vnode for now to keep the syncer floating [1] 2004-10-29 09:33:32 +00:00
bus.h Implement device_quiesce. This method means 'you are about to be 2004-12-31 20:47:51 +00:00
bus_dma.h Document the lockfunc and lockfuncarg arguments to bus_dma_tag_create() in 2003-11-07 23:29:42 +00:00
callout.h 1. Remove callout_stop binary compatibility. 2004-04-20 15:49:31 +00:00
cdefs.h Add a macro to define the size of a subsection of a structure. 2004-08-13 00:53:40 +00:00
cdio.h Remove no longer existant CDIOCREADAUDIO ioctl. 2003-10-20 09:29:40 +00:00
cdrio.h * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec. 2002-10-18 22:03:39 +00:00
chio.h Use symbolic constants instead of "4". 2003-05-31 16:54:37 +00:00
clist.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
clock.h
condvar.h Name the pri argument to cv_broadcastpri() to match the existing style of 2004-05-05 21:57:44 +00:00
conf.h Make getdiskbyname() static to vfs_mount.c. 2004-11-09 23:03:34 +00:00
cons.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
consio.h
copyright.h Bump to 2005 for the new year. 2004-12-31 18:06:45 +00:00
ctype.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
dataacq.h
device_port.h
devicestat.h Add an XXX comment with a TODO item for next time we run a revision 2003-05-31 21:10:01 +00:00
digiio.h
dir.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
dirent.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
disk.h I think the divorce successed, so stop #including <geom/geom_disk.h> 2003-04-01 18:55:04 +00:00
disklabel.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
diskmbr.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
diskpc98.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
dkstat.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
domain.h Implement the check I was talking about in the previous message already. 2004-11-30 22:38:37 +00:00
dvdio.h
elf32.h
elf64.h
elf_common.h Fix typo (in comment): s/IA-46/IA-64/ 2004-05-05 02:38:54 +00:00
elf_generic.h
endian.h Quiet warnings about mis-matched pointer assignment. 2003-10-15 20:05:57 +00:00
errno.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
eui64.h Add support for an /etc/eui64 file modeled on /etc/ethers. The API is 2004-05-26 22:58:06 +00:00
event.h move the declaration of struct kqlist into the non-KERNEL visable section 2004-08-15 15:36:18 +00:00
eventhandler.h Use 'const char *' for a few prototypes. 2004-12-06 10:53:40 +00:00
eventvar.h Add locking to the kqueue subsystem. This also makes the kqueue subsystem 2004-08-15 06:24:42 +00:00
exec.h Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00
extattr.h Userspace prototypes for the extattr_list_*() system calls. 2003-06-04 04:04:24 +00:00
fbio.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
fcntl.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
fdcio.h Fixed fd related tools on pc98. 2004-11-09 14:10:18 +00:00
file.h "nfiles" is a bad name for a global variable. Call it "openfiles" instead 2004-12-01 09:22:26 +00:00
filedesc.h Add a new kind of reference count (fd_holdcnt) to struct filedesc 2004-12-14 09:09:51 +00:00
filio.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
fnv_hash.h
gmon.h Add prototypes for the userland gmon support functions, which normally 2004-06-14 18:39:28 +00:00
gpt.h Remove GPT_ENT_TYPE_FREEBSD_UFS2. It was speculatively added before 2004-08-02 18:46:52 +00:00
iconv.h Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
imgact.h Fixed some style bugs (useless forward declarations of structs and 2004-04-24 06:44:33 +00:00
imgact_aout.h Adjust the system endian and a.out headers to be more MI and cross-building 2004-06-22 17:05:39 +00:00
imgact_elf.h Add __elfN(dump_thread). This function is called from __elfN(coredump) 2004-08-11 02:35:06 +00:00
inflate.h
interrupt.h Remove SWI_CAMNET since it's no longer used. Re-sort SWI priorities in its 2004-10-05 04:52:41 +00:00
ioccom.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
ioctl.h Deorbit COMPAT_SUNOS. 2004-06-11 11:16:26 +00:00
ioctl_compat.h Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES. 2004-06-21 22:57:16 +00:00
ipc.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
jail.h Correct mutexes names in comment. 2004-11-24 14:47:06 +00:00
joystick.h
kbio.h
kdb.h Add kdb_thr_from_pid(), which given a PID returns the first thread 2004-07-21 04:49:48 +00:00
kenv.h
kernel.h We don't have RAIDFrame anymore and it seems gvinum doesn't use SI_SUB_RAID, 2004-12-06 11:28:02 +00:00
kerneldump.h Add kernel dump support, based on the ia64 version (which was committed 2002-10-20 17:03:15 +00:00
kobj.h * Add multiple inheritance to kobj. Each class can have zero or more base 2003-10-16 09:16:28 +00:00
kse.h Add an execve command for kse_thr_interrupt to allow libpthread to 2004-10-07 13:50:10 +00:00
kthread.h Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
ktr.h - Add KTR_SCHED to produce ktr data for sys/tools/sched/schedgraph.py. 2004-12-26 00:13:38 +00:00
ktrace.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
libkern.h Copy qsort_r(3) from libc to libkern. 2004-07-15 23:58:23 +00:00
limits.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
linedisc.h Fix line discipline switching issues: If opening a new ldisc fails, 2004-06-26 08:44:04 +00:00
link_aout.h
link_elf.h Implement dlinfo() function. 2003-02-13 17:47:44 +00:00
linker.h Add a new module information type MODINFOMD_SHDR that will be used 2004-08-27 01:10:16 +00:00
linker_set.h Emply __used attribute to prevent compiler from removing unreferenced 2004-07-28 07:07:16 +00:00
lock.h Rework witness_lock() to make it slightly more useful and flexible. 2004-01-28 20:39:57 +00:00
lockf.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
lockmgr.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
mac.h Define new MAC framework and policy entry points for System V IPC 2004-11-17 13:10:16 +00:00
mac_policy.h Define new MAC framework and policy entry points for System V IPC 2004-11-17 13:10:16 +00:00
malloc.h Reimplement contigmalloc(9) with an algorithm which stands a greatly- 2004-07-19 06:21:27 +00:00
mbpool.h Add a facility for devices, specifically network interfaces, that require 2003-07-15 08:59:38 +00:00
mbuf.h add m_append utility function to be used in forthcoming changes 2004-12-08 05:42:02 +00:00
mchain.h Some style fixes. 2003-02-21 16:24:49 +00:00
md4.h
md5.h
mdioctl.h Rewrite piece of code which I committed some time ago that allows to 2004-12-27 17:20:06 +00:00
memrange.h Fix module builds for i386 and amd64. 2004-08-04 18:30:31 +00:00
mman.h Remove mlockall() and munlockall() from the list of unimplemented 2004-04-27 13:13:20 +00:00
module.h Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
mount.h The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly 2004-12-07 08:15:41 +00:00
mouse.h Don't export the 'dt' field as that would break the exisiting ABI. 2004-12-13 01:23:49 +00:00
msg.h In the kernel-only portionss of System V IPC objects (messages, 2004-11-17 13:12:06 +00:00
msgbuf.h Increase the message buffer size on AMD64. Such machines can have a lot 2005-01-01 21:49:20 +00:00
mtio.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
mutex.h Rework the optimization for spinlocks on UP to be slightly less drastic and 2005-01-05 21:13:27 +00:00
namei.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
nlist_aout.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
param.h Bump revision of FreeBSD for 802.11 framework update. 2004-12-12 22:42:17 +00:00
pciio.h
pcpu.h Change the type of the various CPU masks to cpumask_t. Note that as 2004-03-27 18:21:24 +00:00
pioctl.h #define the ioctls that take no arguments correctly. 2004-11-28 11:08:23 +00:00
pipe.h An a #error discouraging people from using pipe.h from places outside 2004-07-21 03:11:41 +00:00
poll.h
posix4.h Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
power.h
priority.h
proc.h Rework the interface between priority propagation (lending) and the 2004-12-30 20:52:44 +00:00
procfs.h type prgregset_t really should be an array. this is odd, however, other 2004-07-15 03:52:17 +00:00
protosw.h Initialize struct pr_userreqs in new/sparse style and fill in common 2004-11-08 14:44:54 +00:00
ptio.h
ptrace.h Add pl_flags to ptrace_lwpinfo, two flags PL_FLAG_SA and PL_FLAG_BOUND 2004-08-08 22:26:11 +00:00
queue.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
random.h Add a note ahea of the esource enum that if new entropy source 2004-10-12 14:55:59 +00:00
reboot.h Remove the last vestiges of the userconfig option. None of this actually 2004-12-01 04:59:33 +00:00
regression.h Improve consistency of include file guards in src/sys/sys by terminating 2004-05-10 18:38:07 +00:00
resource.h Fix signedness idiocy in previous commit. Pass the pointy hat... 2004-11-09 01:33:58 +00:00
resourcevar.h Rework how we store process times in the kernel such that we always store 2004-10-05 18:51:11 +00:00
rman.h Learn that 'b' comes before 'e' in ISO-LATIN-1 2004-11-10 00:54:18 +00:00
rtprio.h
runq.h When preempting a thread, put it back on the HEAD of its run queue. 2004-10-05 22:03:10 +00:00
sbuf.h Have sbuf_bcat() and sbuf_bcpy() take a const void * instead of a 2004-07-09 11:35:30 +00:00
sched.h Rework the interface between priority propagation (lending) and the 2004-12-30 20:52:44 +00:00
select.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
selinfo.h Add locking to the kqueue subsystem. This also makes the kqueue subsystem 2004-08-15 06:24:42 +00:00
sem.h In the kernel-only portionss of System V IPC objects (messages, 2004-11-17 13:12:06 +00:00
sema.h
semaphore.h The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
serial.h Make the relationship between modem control bits and their delta cousins 2004-06-25 10:56:43 +00:00
sf_buf.h Introduce two new options, "CPU private" and "no wait", to sf_buf_alloc(). 2004-11-08 00:43:46 +00:00
shm.h In the kernel-only portionss of System V IPC objects (messages, 2004-11-17 13:12:06 +00:00
sigio.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
signal.h Make this look less dubious :-) 2004-06-11 11:43:46 +00:00
signalvar.h Add code to support debugging threaded process. 2004-07-13 07:20:10 +00:00
sleepqueue.h Refine the turnstile and sleep queue interfaces just a bit: 2004-10-12 18:36:20 +00:00
smp.h ooops finish last commit. 2004-09-03 08:19:31 +00:00
snoop.h Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
socket.h If soreceive() is called from a socket callback, there's no reason 2004-11-29 23:10:59 +00:00
socketvar.h Push acquisition of the accept mutex out of sofree() into the caller 2004-10-18 22:19:43 +00:00
sockio.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
soundcard.h New defines that paves the way for new midi features and ports. 2003-11-22 03:27:09 +00:00
stat.h Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
statvfs.h
stddef.h Change the definition of NULL on ia64 (for LP64 compilations) from 2003-12-07 21:10:06 +00:00
stdint.h
sun_disklabel.h Add SVR4-compatible VTOC-style elements to the Sun label. The 2004-06-01 20:18:25 +00:00
sx.h Add sx_unlock() macro as a frontend to both sx_sunlock() and sx_xunlock(), 2004-07-11 16:07:07 +00:00
syscall.h Regen. 2005-01-03 00:47:23 +00:00
syscall.mk Regen. 2005-01-03 00:47:23 +00:00
syscallsubr.h Add an execve command for kse_thr_interrupt to allow libpthread to 2004-10-07 13:50:10 +00:00
sysctl.h Put on my peril sensitive sunglasses and add a flags field to the internal 2004-10-11 22:04:16 +00:00
sysent.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
syslimits.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
syslog.h Protect against local flooder of /var/run/log. Do not loop forever in 2004-11-04 23:09:57 +00:00
sysproto.h Regen. 2005-01-03 00:47:23 +00:00
systm.h The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly 2004-12-07 08:15:41 +00:00
taskqueue.h Add taskqueue_drain. This waits for the specified task to finish, if 2004-10-05 04:16:01 +00:00
termios.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
thr.h Close a race between a thread exiting and the freeing of it's stack. 2004-10-06 14:23:00 +00:00
tiio.h
time.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
timeb.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
timepps.h Long overdue comment claification: RFC 2783 was approved long time ago. 2003-11-23 18:52:23 +00:00
timers.h
times.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
timespec.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
timetc.h Give timecounters a numeric quality field. 2003-08-16 08:23:53 +00:00
timex.h
tree.h Synch with NetBSD: avoid "unused parameter" warning. 2004-03-29 11:18:25 +00:00
tty.h Add new function ttyinitmode() which sets our systemwide default 2004-10-18 21:51:27 +00:00
ttychars.h Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES. 2004-06-21 22:57:16 +00:00
ttycom.h Retire the TIOC_REMOTE ioctl. 2004-06-25 21:54:49 +00:00
ttydefaults.h Restore TTYDEF_LFLAG to set echo bits. 2004-11-03 19:16:55 +00:00
ttydev.h Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES. 2004-06-21 22:57:16 +00:00
turnstile.h Rework the interface between priority propagation (lending) and the 2004-12-30 20:52:44 +00:00
types.h Define __lwpid_t as an int32_t in <sys/_types.h> and define lwpid_t 2004-06-19 17:58:32 +00:00
ucontext.h Change the clear_ret argument of get_mcontext() to be a flags argument. 2003-11-09 20:31:04 +00:00
ucred.h Remove sched_free_thread() which was only used 2004-08-31 06:12:13 +00:00
uio.h Tidy up the zero-copy receive path: Remove an unneeded argument to 2004-12-08 05:25:08 +00:00
umtx.h Make umtx_wait and umtx_wake more like linux futex does, it is 2004-12-30 02:56:17 +00:00
un.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
unistd.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
unpcb.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
user.h Axe a.out core dump support. Neither older gdb binaries nor current 2004-11-27 06:46:59 +00:00
utsname.h Remove advertising clause from University of California Regent's license, 2004-04-07 04:19:52 +00:00
uuid.h Introduce {be,le}_uuid_{enc,dec}() functions for explicitly encoding 2003-05-31 16:47:07 +00:00
vmmeter.h Remove remnants of PGINPROF. 2004-06-08 10:37:30 +00:00
vnode.h Shuffle numeric values of the IO_* flags to match the O_* flags from 2004-12-22 16:25:50 +00:00
wait.h Fixed missing forward declaration of struct rusage in the _KERNEL case. 2004-04-09 13:14:32 +00:00
watchdog.h Add a generic watchdog facility which through a single device entry 2004-02-28 20:06:59 +00:00
xrpuio.h