freebsd-dev/sys
Robert Wing 3c85ca21d1 fd: free old file descriptor tables when not shared
During the life of a process, new file descriptor tables may be allocated. When
a new table is allocated, the old table is placed in a free list and held onto
until all processes referencing them exit.

When a new file descriptor table is allocated, the old file descriptor table
can be freed when the current process has a single-thread and the file
descriptor table is not being shared with any other processes.

Reviewed by:    kevans
Approved by:    kevans (mentor)
Differential Revision:  https://reviews.freebsd.org/D18617
2020-11-22 05:00:28 +00:00
..
amd64 vm_phys: Try to clean up NUMA KPIs 2020-11-19 03:59:21 +00:00
arm if_awg: Add a awg_dma_start_tx function that trigger dma engine 2020-11-20 11:30:44 +00:00
arm64 Fall back to use the GICR address from the generic interrupt struct 2020-11-19 09:26:51 +00:00
bsm
cam Microoptimize cam_num_doneqs math in xpt_done(). 2020-11-20 05:46:27 +00:00
cddl [cddl] Fix lz4 function definitions to not tri pup compile. 2020-11-17 17:11:07 +00:00
compat Allow LinuxKPI types to be used in bootloaders, by checking for the 2020-11-18 13:47:11 +00:00
conf Move kern_clocksource.c to sys/conf/files 2020-11-19 02:53:29 +00:00
contrib Adjust ENA driver files to latest ena-com changes 2020-11-18 14:59:22 +00:00
crypto
ddb
dev Make handlers and atpds overflows unlikely. 2020-11-22 04:29:55 +00:00
dts
fs msdosfs: suspend around unmount or remount rw->ro. 2020-11-20 15:19:30 +00:00
gdb
geom gbde: replace malloc_last_fail with a kludge 2020-11-12 20:20:57 +00:00
gnu
i386 'make sysent' for r367773 2020-11-17 19:53:59 +00:00
isa
kern fd: free old file descriptor tables when not shared 2020-11-22 05:00:28 +00:00
kgssapi
libkern
mips Fix octeon_pmc post-r334827 2020-11-18 17:37:01 +00:00
modules Remove parallel SCSI and 1/2Gb FC support from isp(4). 2020-11-20 01:15:48 +00:00
net Make net/ifq.h C++ friendly 2020-11-20 14:45:45 +00:00
net80211
netgraph ng_nat: unbreak ABI 2020-11-10 02:26:44 +00:00
netinet Fix an issue I introuced in r367530: tcp_twcheck() can be called 2020-11-20 13:00:28 +00:00
netinet6 Fix implicit automatic local port selection for IPv6 during connect calls. 2020-11-14 14:50:34 +00:00
netipsec
netpfil pf: Fix incorrect assertion 2020-11-20 10:08:33 +00:00
netsmb
nfs
nfsclient
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm
ofed
opencrypto
powerpc [POWERPC] print uprintf_signal 'type' field in hex 2020-11-20 18:52:37 +00:00
riscv riscv: always initialize the static kernel environment 2020-11-20 15:21:10 +00:00
rpc
security pipe: allow for lockless pipe_stat 2020-11-19 06:30:25 +00:00
sys Stop using eventhandlers for itimers subsystem exec and exit hooks. 2020-11-21 21:43:36 +00:00
teken
tests
tools
ufs Handle LoR in flush_pagedep_deps(). 2020-11-14 05:30:10 +00:00
vm Wrap a long line in vm_pqbatch_process_page() 2020-11-19 15:41:42 +00:00
x86 Add device_t member to struct iommu. 2020-11-16 15:29:52 +00:00
xdr
xen
Makefile