b8d69589f3
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> |
||
---|---|---|
.. | ||
default_pager.c | ||
default_pager.h | ||
device_pager.c | ||
pmap.h | ||
swap_pager.c | ||
swap_pager.h | ||
vm_extern.h | ||
vm_fault.c | ||
vm_glue.c | ||
vm_inherit.h | ||
vm_init.c | ||
vm_kern.c | ||
vm_kern.h | ||
vm_map.c | ||
vm_map.h | ||
vm_meter.c | ||
vm_mmap.c | ||
vm_object.c | ||
vm_object.h | ||
vm_page.c | ||
vm_page.h | ||
vm_pageout.c | ||
vm_pageout.h | ||
vm_pager.c | ||
vm_pager.h | ||
vm_param.h | ||
vm_prot.h | ||
vm_swap.c | ||
vm_unix.c | ||
vm_zone.c | ||
vm_zone.h | ||
vm.h | ||
vnode_pager.c | ||
vnode_pager.h |