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
kern.post.mk
kern.pre.mk
kmod_syms.awk
kmod.mk
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
Makefile.i386
Makefile.ia64
Makefile.pc98
Makefile.powerpc
Makefile.sparc64
Makefile.sun4v
makeLINT.mk
makeLINT.sed
newvers.sh
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
options.arm
options.i386
options.ia64
options.pc98
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
options.sun4v
systags.sh