freebsd-nq/sys/kern
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
..
bus_if.m
device_if.m
imgact_aout.c Fixed bitrot in a comment. Fixed some style bugs. 1999-01-01 14:41:51 +00:00
imgact_elf.c Reviewed by: Luoqi Chen, Jordan Hubbard 1998-12-19 02:55:34 +00:00
imgact_gzip.c
imgact_shell.c
inflate.c
init_main.c Changes to the LINUX_THREADS support to only allocate extra memory for 1999-01-07 21:23:50 +00:00
init_sysent.c
kern_acct.c
kern_clock.c
kern_conf.c
kern_descrip.c
kern_environment.c
kern_exec.c Add (but don't activate) code for a special VM option to make 1999-01-06 23:05:42 +00:00
kern_exit.c Changes to the LINUX_THREADS support to only allocate extra memory for 1999-01-07 21:23:50 +00:00
kern_fork.c Changes to the LINUX_THREADS support to only allocate extra memory for 1999-01-07 21:23:50 +00:00
kern_intr.c
kern_ktrace.c In ktrwrite, use uio_procp = curproc vs 0 1998-12-10 01:47:41 +00:00
kern_linker.c Don't allow more than one module with the same name to be loaded. 1999-01-05 20:24:28 +00:00
kern_lkm.c
kern_lock.c
kern_lockf.c
kern_malloc.c
kern_mib.c
kern_module.c
kern_ntptime.c
kern_physio.c
kern_proc.c
kern_prot.c getpgid() and getsid() were doing a comparision rather than an assignment, 1998-12-13 07:07:51 +00:00
kern_random.c
kern_resource.c
kern_shutdown.c Improved DDB_UNATTENDED behaviour. From the submitter: 1998-12-28 23:03:00 +00:00
kern_sig.c Reviewed by: Luoqi Chen, Jordan Hubbard 1998-12-19 02:55:34 +00:00
kern_subr.c
kern_synch.c Add asleep() and await() support. Currently highly experimental. A 1998-12-21 07:41:51 +00:00
kern_sysctl.c Fix some 64bit truncation problems which crept into SYSCTL_LONG() with the 1998-12-27 18:03:29 +00:00
kern_tc.c
kern_threads.c Wrap two macros into do { ... } while (0), and fix the way they're used 1998-12-15 17:38:33 +00:00
kern_time.c
kern_timeout.c
kern_xxx.c
ksched.c
link_aout.c
link_elf_obj.c When loading something that has undefined symbols, it would be helpful to 1998-12-31 09:17:20 +00:00
link_elf.c When loading something that has undefined symbols, it would be helpful to 1998-12-31 09:17:20 +00:00
Make.tags.inc
makedevops.pl
makedevops.sh
Makefile
makesyscalls.sh
md5c.c
p1003_1b.c
posix4_mib.c
subr_autoconf.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
subr_bus.c When no driver was found for a device, the message 'not probed' appeared 1998-12-12 11:30:04 +00:00
subr_clist.c
subr_devstat.c Fix some 64bit truncation problems which crept into SYSCTL_LONG() with the 1998-12-27 18:03:29 +00:00
subr_disklabel.c Fix -Wuninitialized warning regarding zero-length var-args ctl element. 1998-12-14 05:37:37 +00:00
subr_diskmbr.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
subr_diskslice.c Rename one of the two devfs_link's to devfs_makelink. 1998-12-10 19:57:01 +00:00
subr_dkbad.c
subr_log.c The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
subr_module.c
subr_param.c Fixed problems with kernel config file overrides of sysv semaphore 1998-12-14 08:34:55 +00:00
subr_prf.c Add snprintf(3) and vsnprintf(3) capability to the kernel. 1998-12-03 04:45:57 +00:00
subr_prof.c
subr_rlist.c
subr_rman.c Ifdefed conditionally used simplock variables. 1999-01-02 11:34:57 +00:00
subr_smp.c The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
subr_trap.c Add (but don't activate) code for a special VM option to make 1999-01-06 23:05:42 +00:00
subr_xxx.c
sys_generic.c poll(2) sets POLLNVAL for descriptors passed in that are less than 1998-12-10 01:53:26 +00:00
sys_pipe.c The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
sys_process.c Tweak ptrace(PT_READ_U) so that the last alpha register can be read. 1998-12-26 17:14:37 +00:00
sys_socket.c
syscalls.c
syscalls.master
sysv_ipc.c
sysv_msg.c
sysv_sem.c Fixed problems with kernel config file overrides of sysv semaphore 1998-12-14 08:34:55 +00:00
sysv_shm.c
tty_compat.c
tty_conf.c
tty_cons.c Remove a hard-coded table of kernel console I/O functions exported 1999-01-07 14:14:24 +00:00
tty_pty.c
tty_snoop.c
tty_subr.c
tty_tb.c
tty_tty.c
tty.c Backed out the FIOASYNC fix in rev.1.108. fcntl(fd, F_SETFL, flags) 1998-12-08 10:22:07 +00:00
uipc_domain.c
uipc_mbuf.c
uipc_proto.c
uipc_sockbuf.c The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
uipc_socket2.c The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
uipc_socket.c The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
uipc_syscalls.c The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
uipc_usrreq.c
vfs_aio.c Wrap two macros into do { ... } while (0), and fix the way they're used 1998-12-15 17:38:33 +00:00
vfs_bio.c Adjust some comments to prevent future confusion on the implementation. 1998-12-22 18:57:30 +00:00
vfs_cache.c
vfs_cluster.c Even the most recently allocated buffer may not have its b_blkno 1998-12-05 06:12:14 +00:00
vfs_conf.c
vfs_default.c
vfs_export.c Remove the 'waslocked' parameter to vfs_object_create(). 1999-01-05 18:50:03 +00:00
vfs_extattr.c Remove the 'waslocked' parameter to vfs_object_create(). 1999-01-05 18:50:03 +00:00
vfs_init.c The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
vfs_lookup.c Remove the 'waslocked' parameter to vfs_object_create(). 1999-01-05 18:50:03 +00:00
vfs_mount.c
vfs_subr.c Remove the 'waslocked' parameter to vfs_object_create(). 1999-01-05 18:50:03 +00:00
vfs_syscalls.c Remove the 'waslocked' parameter to vfs_object_create(). 1999-01-05 18:50:03 +00:00
vfs_vnops.c Remove the 'waslocked' parameter to vfs_object_create(). 1999-01-05 18:50:03 +00:00
vnode_if.pl
vnode_if.sh
vnode_if.src