freebsd-skq/sys
Mateusz Guzik 02efb9a8b1 Re-apply reverted parts of r236935 by pjd with some changes.
If fdalloc() decides to grow fdtable it does it once and at most doubles
the size. This still may be not enough for sufficiently large fd. Use fd
in calculations of new size in order to fix this.

When growing the table, fd is already equal to first free descriptor >= minfd,
also fdgrowtable() no longer drops the filedesc lock. As a result of this there
is no need to retry allocation nor lookup.

Fix description of fd_first_free to note all return values.

In co-operation with:	pjd
Approved by:	trasz (mentor)
MFC after:	1 month
2012-06-13 17:12:53 +00:00
..
amd64 Fix a problem where zero-length RDATA fields can cause named(8) to crash. 2012-06-12 12:10:10 +00:00
arm Remove leakage of other patches into last commit. 2012-06-13 16:12:30 +00:00
boot Fix ZFS boot with pre-features pools (version <= 28) broken in r236884 2012-06-13 08:00:32 +00:00
bsm
cam One more major cam_periph_error() rewrite to improve error handling and 2012-06-09 13:07:44 +00:00
cddl Introduce "feature flags" for ZFS pools (bump SPA version to 5000). 2012-06-11 11:35:22 +00:00
compat Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
conf Some fixes for r236772. 2012-06-10 02:38:51 +00:00
contrib Merge revision 1.715 from OpenBSD: 2012-06-06 09:36:52 +00:00
crypto
ddb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
dev Fix a couple of bugs that prevented windows in PCI-PCI bridges from 2012-06-13 15:04:50 +00:00
fs Improve handling of uiomove(9) errors for the NFS client. 2012-06-06 16:30:16 +00:00
gdb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
geom Add missing newlines into XML output. 2012-06-05 16:46:34 +00:00
gnu/fs Fix build: 2012-05-23 06:49:50 +00:00
i386 Share IPI init and startup code of mp_machdep.c with acpi_wakeup.c 2012-06-12 00:14:54 +00:00
ia64 Improve style(9) in the previous commit. 2012-06-01 17:07:52 +00:00
isa
kern Re-apply reverted parts of r236935 by pjd with some changes. 2012-06-13 17:12:53 +00:00
kgssapi
libkern Fix unloading of libiconv module. 2012-06-11 17:42:39 +00:00
mips auth.conf is dead. 2012-06-12 17:04:56 +00:00
modules Introduce "feature flags" for ZFS pools (bump SPA version to 5000). 2012-06-11 11:35:22 +00:00
net Fix comment to better reflect how we are 2012-06-12 13:31:32 +00:00
net80211 Fix some corner cases in the ieee80211_send_bar() handling. 2012-05-22 19:37:12 +00:00
netatalk
netgraph Revert my local not yet properly tested changes, that leaked in 2012-05-25 07:46:24 +00:00
netinet Add a cmsg of type IP_TOS for UDP/IPv4 sockets to specify the TOS byte. 2012-06-12 14:56:08 +00:00
netinet6 Deliver IPV6_TCLASS, IPV6_HOPLIMIT and IPV6_PKTINFO cmsgs (if 2012-06-12 13:57:56 +00:00
netipsec
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netsmb
nfs
nfsclient PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfsserver
nlm
ofed Revert r234834 per luigi@ request. 2012-05-03 08:56:43 +00:00
opencrypto
pc98 MFprojects/zfsd: 2012-05-24 11:20:51 +00:00
pci intpm: add ATI IXP400 pci id 2012-04-16 10:33:46 +00:00
powerpc Panic openly if we cannot retrieve memory information from the device tree. 2012-05-30 18:05:48 +00:00
rpc
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 Replace all uses of the vm page queues lock by a r/w lock that is private 2012-05-29 01:52:38 +00:00
sys Replace a reference to the non-existent SI_ORDER_LAST in a comment with 2012-06-12 18:19:46 +00:00
teken
tools
ufs In softdep_setup_inomapdep() we may have to allocate both inodedep 2012-06-11 23:07:21 +00:00
vm Use the previous stack entry protection and max protection to correctly 2012-06-10 11:31:50 +00:00
x86 Share IPI init and startup code of mp_machdep.c with acpi_wakeup.c 2012-06-12 00:14:54 +00:00
xdr
xen
Makefile Add sys/ofed to the 'make cscope' target. 2012-03-20 18:05:15 +00:00