freebsd-dev/sys/vm
julian b8d69589f3 Changes to the LINUX_THREADS support to only allocate extra memory for
shared signal handling when there is shared signal handling being
used.

This removes the main objection to making the shared signal handling
a standard ability in rfork() and friends and 'unconditionalising'
this code. (i.e. the allocation of an extra 328 bytes per process).

Signal handling information remains in the U area until such a time as
it's reference count would be incremented to > 1. At that point a new
struct is malloc'd and maintained in KVM so that it can be shared between
the processes (threads) using it.

A function to check the reference count and move the struct back to the U
area when it drops back to 1 is also supplied. Signal information is
therefore now swapable for all processes that are not sharing that
information with other processes. THis should addres the concerns raised
by Garrett and others.

Submitted by:	"Richard Seaman, Jr." <dick@tar.com>
1999-01-07 21:23:50 +00:00
..
default_pager.c
default_pager.h
device_pager.c The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
pmap.h
swap_pager.c Don't free swap in swap_pager_getpages(): this code probably cause the 1998-12-29 22:53:51 +00:00
swap_pager.h
vm_extern.h Add (but don't activate) code for a special VM option to make 1999-01-06 23:05:42 +00:00
vm_fault.c Add missing splvm protection around unqueue call. Without this, the page 1998-11-25 07:40:49 +00:00
vm_glue.c Changes to the LINUX_THREADS support to only allocate extra memory for 1999-01-07 21:23:50 +00:00
vm_inherit.h
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c Add (but don't activate) code for a special VM option to make 1999-01-06 23:05:42 +00:00
vm_map.h Add (but don't activate) code for a special VM option to make 1999-01-06 23:05:42 +00:00
vm_meter.c
vm_mmap.c Add (but don't activate) code for a special VM option to make 1999-01-06 23:05:42 +00:00
vm_object.c Ifdefed conditionally used simplock variables. 1999-01-02 11:34:57 +00:00
vm_object.h
vm_page.c Update comments to routines in vm_page.c, most especially whether a 1998-12-23 01:52:47 +00:00
vm_page.h
vm_pageout.c
vm_pageout.h
vm_pager.c add #include <sys/kernel.h> where it's needed by MALLOC_DEFINE() 1998-11-10 09:16:29 +00:00
vm_pager.h
vm_param.h
vm_prot.h
vm_swap.c
vm_unix.c
vm_zone.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
vm_zone.h
vm.h
vnode_pager.c In vnode_pager_input_old, set auio.uio_procp = curproc 1998-12-04 18:39:44 +00:00
vnode_pager.h