1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/vm
Julian Elischer dc9c271aa1 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 Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
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 Notify pmap when a page is freed on the alpha to allow it to clean up 1998-07-26 18:15:20 +00:00
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 Removed no longer valid comment about swb_block being int instead of 1998-07-10 21:50:17 +00:00
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 Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
vm_kern.c Cosmetic changes to the PAGE_XXX macros to make them consistent with 1998-09-04 08:06:57 +00:00
vm_kern.h Attempt to fix the previous fix to the contigmalloc1 prototype. 1997-10-11 10:39:19 +00:00
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 Add John Dyson's SYSCTL descriptions, and an export of more stats to 1998-10-31 17:21:31 +00:00
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 Change various syscalls to use size_t arguments instead of u_int. 1998-08-24 08:39:39 +00:00
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 Added a second argument, "activate" to the vm_page_unwire() call so that 1998-10-28 13:37:02 +00:00
vm_pageout.c Add John Dyson's SYSCTL descriptions, and an export of more stats to 1998-10-31 17:21:31 +00:00
vm_pageout.h VM level code cleanups. 1998-01-22 17:30:44 +00:00
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 Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_param.h There is a comment in vm_param.h which doesn't belong to the 1998-07-22 06:21:55 +00:00
vm_prot.h
vm_swap.c Don't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted 1998-10-25 19:24:04 +00:00
vm_unix.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vm_zone.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
vm_zone.h Correct copyright. 1998-04-25 04:50:03 +00:00
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 Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00