DragonFlyBSD/src 4aa6d05sys/kern kern_memio.c kern_fork.c, sys/platform/pc64/vmm vmx.c

libc - Implement sigblockall() and sigunblockall() (2)

* Cleanup the logic a bit.  Store the lwp or proc pointer
  in the vm_map_backing structure and make vm_map_fork()
  and friends more aware of it.

* Rearrange lwp allocation in [v]fork() to make the pointer(s)
  available to vm_fork().

* Put the thread mappings on the lwp's list immediately rather
  than waiting for the first fault, which means that per-thread
  mappings will be deterministically removed on thread exit
  whether any faults happened or not.

* Adjust vmspace_fork*() functions to not propagate 'dead' lwp
  mappings for threads that won't exist in the forked process.
  Only the lwp mappings for the thread doing the [v]fork() is
  retained.
DeltaFile
+58-84sys/kern/kern_memio.c
+107-24sys/vm/vm_map.c
+19-8sys/vm/vm_glue.c
+3-2sys/vm/vm_extern.h
+2-2sys/kern/kern_fork.c
+1-1sys/kern/imgact_resident.c
+0-2sys/kern/kern_proc.c
+1-1sys/platform/pc64/vmm/vmx.c
+0-1sys/vm/vm_map.h
+191-1259 files

UnifiedSplitRaw