1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/sys
John Baldwin 21f8f506fb Use umtx_key objects to uniquely identify futexes. Private futexes in
different processes that happen to use the same user address in the
separate processes will now be treated as distinct futexes rather than the
same futex.  We can now honor shared futexes properly by mapping them to a
PROCESS_SHARED umtx_key.  Private futexes use THREAD_SHARED umtx_key
objects.

In conjunction with:	dchagin
Reviewed by:	kib
MFC after:	1 week
2011-02-23 13:23:28 +00:00
..
_bus_dma.h
_iovec.h
_lock.h
_lockmgr.h In current code, threads performing an interruptible sleep (on both 2009-12-12 21:31:07 +00:00
_mutex.h
_null.h
_pthreadtypes.h
_rmlock.h rmlock(9) two additions and one change/fix: 2010-09-01 19:50:03 +00:00
_rwlock.h
_semaphore.h Use umtx to implement process sharable semaphore, to make this work, 2010-01-05 02:37:59 +00:00
_sigset.h
_sockaddr_storage.h
_stack.h
_sx.h
_task.h Use a safer mechanism for determining if a task is currently running, 2010-10-13 22:59:04 +00:00
_termios.h Decompose <sys/termios.h>. 2009-11-28 23:50:48 +00:00
_timespec.h Rename st_*timespec fields to st_*tim for POSIX 2008 compliance. 2010-03-28 13:13:22 +00:00
_timeval.h
_types.h
_umtx.h MFp4: 2010-12-22 05:01:52 +00:00
aac_ioctl.h Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
acct.h
acl.h First step at adopting FreeBSD to support PSARC/2010/029. This makes 2010-09-20 17:10:06 +00:00
agpio.h
aio.h
alq.h - Rework the underlying ALQ storage to be a circular buffer, which amongst other 2010-04-26 13:48:22 +00:00
apm.h Add apple-boot and apple-ufs. 2009-12-14 22:47:09 +00:00
assym.h
ata.h Make PUIS detection more strict. Previous implementation caused false 2010-02-26 10:42:46 +00:00
bio.h Correct bioq_disksort so that bioq_insert_tail() offers barrier semantic. 2010-09-02 19:40:28 +00:00
bitstring.h
blist.h
buf_ring.h Switch to our preferred 2-clause BSD license. 2010-05-05 20:39:02 +00:00
buf.h Add INVARIANTS checking that numfreebufs values are sane. Also add a 2010-06-11 17:03:26 +00:00
bufobj.h
bus_dma.h
bus.h Retire the INTR_FAST flag as it was obsoleted by the introduction of the 2011-01-06 21:14:34 +00:00
callout.h Make kern_tc.c provide minimum frequency of tc_ticktock() calls, required 2010-09-14 08:48:06 +00:00
cdefs.h Turn off default generation of userland dot symbols on powerpc64 now that 2011-02-18 21:44:53 +00:00
cdio.h
cdrio.h
cfictl.h
chio.h
clock.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
condvar.h
conf.h Check the device name validity on device registration. 2010-10-07 18:00:55 +00:00
cons.h
consio.h
copyright.h Happy New Year 2011. 2010-12-31 18:07:16 +00:00
cpu.h
cpuctl.h
cpuset.h
ctype.h
dataacq.h
device_port.h
devicestat.h
digiio.h
dir.h
dirent.h
disk.h Remove spurious '/*-' marks and fix some other style problems. 2010-07-22 05:42:29 +00:00
disklabel.h Add MIPS platform, this will make bsdlabel(8) work on MIPS (when invoked 2010-09-23 05:24:50 +00:00
diskmbr.h Add new user-friendly aliases for partition types for the MBR and 2011-01-28 11:13:01 +00:00
diskpc98.h
dkstat.h
domain.h
dtrace_bsd.h Add the necessary DTrace function pointers. 2010-08-25 12:35:36 +00:00
dvdio.h
elf32.h
elf64.h
elf_common.h Add PT_GNU_STACK definition. 2010-11-23 12:51:08 +00:00
elf_generic.h
elf.h
endian.h Fix some way-past-brucification complaints from FlexeLint. 2010-05-20 06:16:13 +00:00
errno.h
eui64.h
event.h The devices that supported EVFILT_NETDEV kqueue filters were removed in 2009-12-31 20:29:58 +00:00
eventhandler.h I added vfs_lowvnodes event, but it was only used for a short while and now 2010-05-11 22:46:36 +00:00
eventvar.h
exec.h Add macro DECLARE_MODULE_TIED to denote a module as requiring the 2010-10-12 09:18:17 +00:00
extattr.h
fail.h Initialize fp_location for explicitly managed fail points, and push 2010-12-21 18:23:03 +00:00
fbio.h Yet another attempt to make palette loading more safer: 2010-02-23 21:51:14 +00:00
fcntl.h
fdcio.h
file.h Apply band-aid around function-like macro fdrop() without turning it into 2010-06-11 23:38:25 +00:00
filedesc.h
filio.h
firmware.h
fnv_hash.h
gmon.h
gpio.h Initial GPIO bus support. Includes: 2010-09-28 03:24:53 +00:00
gpt.h Add new user-friendly aliases for partition types for the MBR and 2011-01-28 11:13:01 +00:00
hash.h
hhook.h - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), 2010-12-21 13:45:29 +00:00
iconv.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
imgact_aout.h Merge projects/enhanced_coredumps (r204346) into HEAD: 2010-03-02 06:58:58 +00:00
imgact_elf.h Reword the comment, fixing typo. 2010-07-24 14:23:06 +00:00
imgact.h Create shared (readonly) page. Each ABI may specify the use of page by 2011-01-08 16:13:44 +00:00
inflate.h
interrupt.h Remove 'softclock_ih' as it is no longer used. 2010-11-03 15:38:52 +00:00
ioccom.h IOCPARM_MAX defines maximum size of a structure that can be passed 2010-04-01 16:21:35 +00:00
ioctl_compat.h
ioctl.h
ipc.h
ipmi.h
jail.h Add ip4.saddrsel/ip4.nosaddrsel (and equivalent for ip6) to control 2010-01-17 12:57:11 +00:00
joystick.h
kbio.h
kdb.h
kenv.h
kernel.h Remove unexisted since r212541 timer1hz/timer2hz variables. 2010-11-10 16:42:36 +00:00
kerneldump.h - Add minidump support for FreeBSD/mips 2010-11-07 03:09:02 +00:00
khelp.h - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), 2010-12-21 13:45:29 +00:00
kobj.h
ksem.h
ksyms.h
kthread.h Remove spurious '/*-' marks and fix some other style problems. 2010-07-22 05:42:29 +00:00
ktr.h Remove extra commas from KTR_EVENT4() macro to match number of CTR6() args. 2010-07-24 10:07:17 +00:00
ktrace.h - When disabling ktracing on a process, free any pending requests that 2010-10-21 19:17:40 +00:00
libkern.h Add support for asterisk characters when filling in the GELI password 2010-11-14 14:12:43 +00:00
limits.h
link_aout.h
link_elf.h In rtld, read the initial stack access mode from AT_STACKPROT as set 2011-01-08 17:11:49 +00:00
linker_set.h After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
linker.h Provide convenience function for obtaining MODINFO_ADDR and MODINFO_SIZE 2011-02-09 19:08:21 +00:00
lock_profile.h
lock.h Protect BSDI $Id from accidental manipulation. 2010-09-10 06:26:28 +00:00
lockf.h
lockmgr.h Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
lockstat.h
mac.h
malloc.h Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
mbpool.h
mbuf.h MFp4: anchie_soc2009 branch: 2010-08-19 11:31:03 +00:00
mchain.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
md4.h
md5.h
mdioctl.h
memrange.h Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
mman.h Add the MAP_PREFAULT_READ option to mmap(2). 2010-08-28 16:57:07 +00:00
module_khelp.h - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), 2010-12-21 13:45:29 +00:00
module.h Add macro DECLARE_MODULE_TIED to denote a module as requiring the 2010-10-12 09:18:17 +00:00
mount.h Close body of the VFS_UNLOCK_GIANT() macro into do { } while (0) loop, 2010-12-21 21:59:21 +00:00
mouse.h
mpt_ioctl.h
mqueue.h
msg.h
msgbuf.h Make MSGBUF_SIZE kernel option a loader tunable kern.msgbufsize. 2011-01-21 10:26:26 +00:00
mtio.h
mutex.h Retire mp_fixme(). It's no longer used. 2011-02-14 02:37:27 +00:00
namei.h
nlist_aout.h Make the char *n_name member of struct nlist 'const'. 2010-06-10 14:19:51 +00:00
osd.h - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), 2010-12-21 13:45:29 +00:00
param.h Merge binutils 2.17.50 to head. This brings a number of improvements to 2011-02-18 20:54:12 +00:00
pciio.h
pcpu.h After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
pioctl.h Fix typo. 2011-01-23 12:44:17 +00:00
pipe.h
pmc.h Set the comment at the right place for PMC uncore classes. 2010-06-15 09:12:31 +00:00
pmckern.h
pmclog.h
poll.h
posix4.h Add a facility to dynamically adjust or unconfigure p1003_1b mib. 2010-06-02 09:59:05 +00:00
power.h
priority.h Rework realtime priority support: 2011-01-14 17:06:54 +00:00
priv.h Fix typo in comment. 2010-07-20 11:20:45 +00:00
proc.h Remove unused since r134586 thr_exit1() declaration. 2011-02-12 15:24:52 +00:00
procfs.h Add the ability for GDB to printout the thread name along with other 2010-11-22 14:42:13 +00:00
protosw.h
ptio.h
ptrace.h Allow debugger to specify that children of the traced process should be 2011-01-25 10:59:21 +00:00
queue.h Add SLIST_SWAP() macro. 2010-12-03 16:07:50 +00:00
random.h
reboot.h
refcount.h
regression.h
resource.h Style fix - keep the line length below 80 characters. 2010-07-18 11:13:36 +00:00
resourcevar.h Revert r210225 - turns out I was wrong; the "/*-" is not license-only 2010-07-18 20:57:53 +00:00
rman.h
rmlock.h rmlock(9) two additions and one change/fix: 2010-09-01 19:50:03 +00:00
rtprio.h
runq.h
rwlock.h
sbuf.h Replace sbuf_overflowed() with sbuf_error(), which returns any error 2010-09-10 16:42:16 +00:00
sched.h - Follow r216313, the sched_unlend_user_prio is no longer needed, always 2010-12-29 09:26:46 +00:00
sdt.h Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
select.h
selinfo.h
sem.h
sema.h
serial.h
sf_buf.h
sglist.h
shm.h
sigio.h
signal.h Make POLL_ERR and POLL_HUP different. 2010-11-12 15:30:49 +00:00
signalvar.h Create a global thread hash table to speed up thread lookup, use 2010-10-09 02:50:23 +00:00
sleepqueue.h Tighten up some of the comments describing turnstiles and sleepqueues. 2010-12-13 23:53:55 +00:00
smp.h Add some platform KOBJ extensions and continue integrating PowerPC 2010-11-12 04:18:19 +00:00
snoop.h
sockbuf.h
socket.h This commit implements the SO_USER_COOKIE socket option, which lets 2010-11-12 13:02:26 +00:00
socketvar.h This commit implements the SO_USER_COOKIE socket option, which lets 2010-11-12 13:02:26 +00:00
sockio.h Reshuffle SIOCGIFCONF32 handler from r155224. 2010-10-21 16:20:48 +00:00
sockopt.h
sockstate.h
soundcard.h
stack.h
stat.h Rename st_*timespec fields to st_*tim for POSIX 2008 compliance. 2010-03-28 13:13:22 +00:00
statvfs.h
stddef.h
stdint.h
sun_disklabel.h
sx.h
syscall.h Regen 2010-08-30 14:26:02 +00:00
syscall.mk Regen 2010-08-30 14:26:02 +00:00
syscallsubr.h Move prototypes for kern_sigtimedwait() and kern_sigprocmask() to 2010-06-30 18:03:42 +00:00
sysctl.h Remove the CTLFLAG_NOLOCK as it seems to be both unused and 2011-01-26 22:48:09 +00:00
sysent.h Add macro to test the sv_flags of any process. Change some places to test 2011-01-26 20:03:58 +00:00
syslimits.h
syslog.h
sysproto.h Regen 2010-08-30 14:26:02 +00:00
systm.h Rename boot() to kern_reboot() and make it visible outside of 2010-10-18 04:30:27 +00:00
taskqueue.h Use M_WAITOK rather than M_NOWAIT when creating taskqueues via the 2011-02-04 14:06:57 +00:00
termios.h Decompose <sys/termios.h>. 2009-11-28 23:50:48 +00:00
thr.h Make this file more C++ friendly. 2010-04-20 17:57:43 +00:00
tiio.h
time.h Certain static code analysis tools (FlexeLint being one) are very 2010-10-04 10:48:47 +00:00
timeb.h Add warnings to <regexp.h> and <sys/timeb.h>. 2010-03-09 21:01:12 +00:00
timeet.h Refactor timer management code with priority to one-shot operation mode. 2010-09-13 07:25:35 +00:00
timepps.h
timers.h
times.h
timespec.h Rename st_*timespec fields to st_*tim for POSIX 2008 compliance. 2010-03-28 13:13:22 +00:00
timetc.h Make kern_tc.c provide minimum frequency of tc_ticktock() calls, required 2010-09-14 08:48:06 +00:00
timex.h
tree.h
tty.h Make TIOCSTI work again. 2010-01-04 20:59:52 +00:00
ttycom.h
ttydefaults.h
ttydevsw.h Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
ttydisc.h
ttyhook.h
ttyqueue.h
turnstile.h Tighten up some of the comments describing turnstiles and sleepqueues. 2010-12-13 23:53:55 +00:00
types.h Remove spurious '/*-' marks and fix some other style problems. 2010-07-22 05:42:29 +00:00
ucontext.h
ucred.h
uio.h Remove the uio_yield prototype and symbol. This function has been 2011-02-08 00:36:46 +00:00
umtx.h Use umtx_key objects to uniquely identify futexes. Private futexes in 2011-02-23 13:23:28 +00:00
un.h
unistd.h Indicate that POSIX semaphores are always supported. 2010-09-19 12:01:50 +00:00
unpcb.h
user.h Make a thread's address available via the kern proc sysctl, just like the 2010-10-08 00:44:53 +00:00
utsname.h
uuid.h
vmmeter.h Move repeated MAXSLP definition from machine/vmparam.h to sys/vmmeter.h. 2011-01-09 12:50:44 +00:00
vnode.h Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +00:00
vtoc.h - In gpart_bootfile_read() fix an off-by-one error preventing the bootstrap 2010-06-03 13:01:55 +00:00
wait.h
watchdog.h