opnsense-src/sys
Alexander Motin ea541bfdaa MFprojects/camlock r249505:
Change CCB queue resize logic to be able safely handle overallocations:
 - (re)allocate queue space in power of 2 chunks with 64 elements minimum
and never shrink it; with only 4/8 bytes per element size is insignificant.
 - automatically reallocate the queue to double size if it is overflowed.
 - if queue reallocation failed, store extra CCBs in unsorted TAILQ,
fetching them back as soon as some queue element is freed.

To free space in CCB for TAILQ linking, change highpowerq from keeping
high-power CCBs to keeping devices frozen due to high-power CCBs.

This encloses all pieces of queue resize logic inside of cam_queue.[ch],
removing some not obvious duties from xpt_release_ccb().
2013-08-05 11:48:40 +00:00
..
amd64 - Introduce a specific function, pmap_remove_kernel_pde, for removing 2013-08-05 00:28:03 +00:00
arm Tweak the imx debug console code so that it works with multiple SoCs. 2013-08-03 13:31:10 +00:00
boot Fix the build of the testmain target. This target compiles a Forth 2013-08-01 18:06:58 +00:00
bsm Implement chflagsat(2) system call, similar to fchmodat(2), but operates on 2013-03-21 22:59:01 +00:00
cam MFprojects/camlock r249505: 2013-08-05 11:48:40 +00:00
cddl Revert r253939: 2013-08-05 08:55:35 +00:00
compat Regenerate. 2013-07-21 19:44:53 +00:00
conf Redirect svnversion stderr to /dev/null if we cannot determine 2013-08-05 10:26:42 +00:00
contrib Realtek's RTL8712 firmware blob needed by the upcoming rsu(4) driver. 2013-07-29 06:53:42 +00:00
crypto Fix const propagation issues to make GCC happy. 2013-07-11 16:27:11 +00:00
ddb Small textdump enhancements. 2012-11-01 04:07:08 +00:00
dev Fixing a typo. 2013-08-04 19:54:47 +00:00
fs Revert r253939: 2013-08-05 08:55:35 +00:00
gdb rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
geom Remove inclusion of <sys/diskmbr.h>. We have no business knowing 2013-08-04 21:00:22 +00:00
gnu/fs/reiserfs Garbage collect XFS bits which are now already completely disconnected 2013-03-02 15:33:54 +00:00
i386 - Introduce a specific function, pmap_remove_kernel_pde, for removing 2013-08-05 00:28:03 +00:00
ia64 Back out r253779 & r253786. 2013-07-31 17:21:18 +00:00
isa - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
kern Revert r253939: 2013-08-05 08:55:35 +00:00
kgssapi Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
libkern Fix watchdog pretimeout. 2013-07-27 20:47:01 +00:00
mips Back out r253779 & r253786. 2013-07-31 17:21:18 +00:00
modules Add missing depend. 2013-08-03 08:21:35 +00:00
net sin6 should be assigned before the loop. 2013-07-28 20:02:41 +00:00
net80211 Fix compilation when debugging is disabled. 2013-07-28 17:35:19 +00:00
netatalk Add const qualifier to the dst parameter of the ifnet if_output method. 2013-04-26 12:50:32 +00:00
netgraph Add constant for PPP-Max-PayLoad tag. 2013-07-23 10:25:34 +00:00
netinet Micro-optimization suggested in 2013-08-01 12:05:23 +00:00
netinet6 Fix a panic in tmpaddrtimer. 2013-08-05 00:36:12 +00:00
netipsec Remove the large part of struct ipsecstat. Only few fields of this 2013-07-23 14:14:24 +00:00
netipx Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netnatm Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netpfil Fix a possible NULL-pointer dereference on the pfsync(4) reconfiguration. 2013-07-29 13:17:18 +00:00
netsmb Remove a reference to LK_DRAIN now that lockmgr(9) is gone from this 2013-06-28 20:21:13 +00:00
nfs Changes to allow using BOOTP_NFSROOT and mounting an nfs root filesystem 2013-07-31 19:14:00 +00:00
nfsclient A problem with the old NFS client where large writes to large files 2013-07-04 00:54:23 +00:00
nfsserver - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nlm Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ofed Add a missing prototype. 2013-07-29 20:48:10 +00:00
opencrypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
pc98 Back out r253779 & r253786. 2013-07-31 17:21:18 +00:00
pci - Corrrect mispellings of word useful 2013-04-17 11:45:15 +00:00
powerpc Remove duplicate definition of SPR MMCR0. 2013-08-03 18:05:12 +00:00
rpc Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
security audit_proc_coredump: check return value of audit_new 2013-07-09 09:03:01 +00:00
sparc64 Remove unused member. 2013-08-04 21:17:05 +00:00
sys Fix typo. 2013-08-03 13:38:56 +00:00
teken Link the demo application against ncursesw to make Unicode work. 2011-10-13 14:20:27 +00:00
tools Further refine the handling of stop signals in the NFS client. The 2013-02-21 19:02:50 +00:00
ufs Update to comments describing block allocation policy. 2013-07-14 18:44:33 +00:00
vm Revert r253939: 2013-08-05 08:55:35 +00:00
x86 x86: detect mwait capabilities and extensions, when present 2013-07-28 17:54:42 +00:00
xdr Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
xen Adjust i386 Xen PV support for updated Xen interface files. 2013-06-17 01:43:07 +00:00
Makefile Remove netncp cscope entry missed in r248097 2013-03-12 14:21:52 +00:00