freebsd-skq/sys/conf
John Baldwin 8e38aeff17 Add a new file descriptor type for IPC shared memory objects and use it to
implement shm_open(2) and shm_unlink(2) in the kernel:
- Each shared memory file descriptor is associated with a swap-backed vm
  object which provides the backing store.  Each descriptor starts off with
  a size of zero, but the size can be altered via ftruncate(2).  The shared
  memory file descriptors also support fstat(2).  read(2), write(2),
  ioctl(2), select(2), poll(2), and kevent(2) are not supported on shared
  memory file descriptors.
- shm_open(2) and shm_unlink(2) are now implemented as system calls that
  manage shared memory file descriptors.  The virtual namespace that maps
  pathnames to shared memory file descriptors is implemented as a hash
  table where the hash key is generated via the 32-bit Fowler/Noll/Vo hash
  of the pathname.
- As an extension, the constant 'SHM_ANON' may be specified in place of the
  path argument to shm_open(2).  In this case, an unnamed shared memory
  file descriptor will be created similar to the IPC_PRIVATE key for
  shmget(2).  Note that the shared memory object can still be shared among
  processes by sharing the file descriptor via fork(2) or sendmsg(2), but
  it is unnamed.  This effectively serves to implement the getmemfd() idea
  bandied about the lists several times over the years.
- The backing store for shared memory file descriptors are garbage
  collected when they are not referenced by any open file descriptors or
  the shm_open(2) virtual namespace.

Submitted by:	dillon, peter (previous versions)
Submitted by:	rwatson (I based this on his version)
Reviewed by:	alc (suggested converting getmemfd() to shm_open())
2008-01-08 21:58:16 +00:00
..
defines
files Add a new file descriptor type for IPC shared memory objects and use it to 2008-01-08 21:58:16 +00:00
files.amd64 Add the 'hptrr' driver for supporting the following Highpoint RocketRAID 2007-12-15 00:56:17 +00:00
files.arm Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
files.i386 "vt" doesn't refer to any existing device anymore. Remove it. 2007-12-25 22:41:29 +00:00
files.ia64 Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
files.pc98 Catch up pc98 for i386 stack(9) changes: 2007-12-03 11:38:28 +00:00
files.powerpc Redefine bus_space_tag_t on PowerPC from a 32-bit integral to 2007-12-19 18:00:50 +00:00
files.sparc64 Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
files.sun4v Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
kern.mk Temporarily add 'WITH_GCC3' that removes -Wno-pointer-sign from the 2007-05-24 21:53:42 +00:00
kern.post.mk If KERNEL_EXTRA is defined, make kernel-all target depend on it. 2007-03-23 21:55:59 +00:00
kern.pre.mk Re-enable -Werror for PowerPC. This should really be unconditional again. 2007-08-08 19:12:06 +00:00
kmod_syms.awk
kmod.mk Re-enable -Werror for modules. 2007-11-19 16:24:10 +00:00
ldscript.amd64
ldscript.arm
ldscript.i386
ldscript.ia64
ldscript.powerpc
ldscript.sparc64
Makefile.amd64 Kernel and hwpmc(4) support for callchain capture. 2007-12-07 08:20:17 +00:00
Makefile.arm Bring in two bandaids to get the elf trampoline to work again, until I find 2007-07-27 14:42:25 +00:00
Makefile.i386 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.ia64 Remove definition of the GCC3 variable. It was introduced in rev. 2007-06-02 21:30:39 +00:00
Makefile.pc98 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.powerpc Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.sparc64 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.sun4v Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
makeLINT.mk
makeLINT.sed
newvers.sh To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT. 2007-10-11 04:28:08 +00:00
NOTES Add COMPAT_FREEBSD7 and enable it in configs that have COMPAT_FREEBSD6. 2008-01-07 21:40:11 +00:00
options Add COMPAT_FREEBSD7 and enable it in configs that have COMPAT_FREEBSD6. 2008-01-07 21:40:11 +00:00
options.amd64 Allow the sio acpi attachment to be disabled (ie: use hints only). This 2007-11-30 21:45:07 +00:00
options.arm Add CPU_ARM9E 2007-10-31 07:28:45 +00:00
options.i386 Allow the sio acpi attachment to be disabled (ie: use hints only). This 2007-11-30 21:45:07 +00:00
options.ia64 Add option EXCEPTION_TRACING, which enables KTR-like functionality 2007-07-30 22:42:33 +00:00
options.pc98 Temporary disconnect i4bing, i4bisppp and i4bipr from the build for 2007-07-04 00:18:39 +00:00
options.powerpc Rename OEA to AIM. The former means nothing as it applies to all 2007-12-16 00:45:56 +00:00
options.sparc64 - In sunkbd_probe_keyboard() don't bother to determine the keyboard layout 2006-11-02 00:01:15 +00:00
options.sun4v Remove remnants from the sparc64 origin of this file and which are 2007-01-19 12:22:50 +00:00
systags.sh