ıM167578 189 654 165 213 231 165 123 120 128 299 121 145 112 186 177 245 224 174 147 594 281 1147 175 158 228 260 179 128 191 601 111 1968 316 207 164 127 239 182 144 121 482 239 190 204 245 405 176 131 1119 328 290 116 126 225 117 137 821 246 134 155 181 189 135 333 153 319 344 424 1688 285 131 360 1153 278 143 248 163 157 142 143 189 428 174 251 284 280 150 445 685 215 161 123 167 161 394 366 150 153 233 148 157 154 143 144 131 287 449 198 233 155 162 391 256 148 193 167 184 240 451 177 183 311 210 267 168 143 191 184 162 324 164 158 125 326 127 155 285 186 307 1269 151 137 392 301 129 171 115 223 130 234 344 388 808 456 146 145 1931 304 142 374 291 335 1043 195 142 298 164 306 414 311 419 163 209 108 143 105 240 162 1388 161 194 532 239 180 108 127 225 118 345 211 K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-14T22:30:02.000000Z K 7 svn:log V 561 Create an identity mapping (V=P) super page for the low memory region on boot. Then, just switch to the kernel pmap when suspending instead of allocating/freeing our own mapping every time. This should solve a panic of pmap_remove() being called with interrupts disabled. Thanks to Alan Cox for developing this patch. Note: this means that ACPI requires super page (PG_PS) support in the CPU. This has been present since the Pentium and first documented in the Pentium Pro. However, it may need to be revisited later. Submitted by: alc MFC after: 1 month END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-14T22:55:30.000000Z K 7 svn:log V 73 Document exact command preferred for sending ASL as part of bug reports. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-03-15T00:09:50.000000Z K 7 svn:log V 116 Add "force" to ext2_ops, to match what was in the old mount_ext2fs binary. Reported by: Ivan Voras END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-03-15T00:11:56.000000Z K 7 svn:log V 134 MFC: 1.163 Add "force" to ext2_ops, to match what was in the old mount_ext2fs binary. Reported by: Ivan Voras END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-15T03:06:32.000000Z K 7 svn:log V 71 MFC Chelsio T3 10 Gigabit Ethernet support Don't hook into build just END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-15T03:13:49.000000Z K 7 svn:log V 29 hook cxgb into modules build END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-15T03:18:59.000000Z K 7 svn:log V 26 hook cxgb into LINT build END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-15T03:21:32.000000Z K 7 svn:log V 34 add cxgb management tool cxgbtool END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-03-15T03:31:49.000000Z K 7 svn:log V 206 Remove vestiges of very specific fpga support for my company's board. It isn't relevant to FreeBSD as a whole, breaks the build, and isn't even needed for my company's boards anymore... MFC After: 2 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-15T03:52:23.000000Z K 7 svn:log V 27 Add cxgb man page to build END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-15T04:05:33.000000Z K 7 svn:log V 51 hook cxgbtool into buildworld update include names END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-15T04:09:40.000000Z K 7 svn:log V 18 fix include names END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-03-15T05:51:24.000000Z K 7 svn:log V 90 MFC fixes to regexp(3) from OpenBSD, this includes: engine.c: 1.19+1.20 grot/tests: 1.3 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-03-15T06:42:54.000000Z K 7 svn:log V 82 A silly buglet found by Coverity- check the return value from cam_periph_acquire. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-03-15T08:06:11.000000Z K 7 svn:log V 147 Fix problems in FreeBSD Update concerning the updating of SMP kernels. Approved by: so (cperciva) Errata: FreeBSD-EN-07:05.freebsd-update END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-15T08:44:22.000000Z K 7 svn:log V 131 Diff reduction with NetBSD; use IN_LOCAL_GROUP() to check if an address is within the locally scoped multicast range 224.0.0.0/24. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-03-15T09:16:54.000000Z K 7 svn:log V 80 In auth_script(), change the size of an array to match the number of arguments. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-15T09:17:01.000000Z K 7 svn:log V 50 MFC: Autogenerate the hardware list for cxgb(4). END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-03-15T10:11:38.000000Z K 7 svn:log V 496 Don't consider an lstat(2) failure to be an error (in the sense of affecting the return value from bsdtar), since (a) it usually occurs due to a perfectly innocent (and unavoidable) race condition where a user deletes a file in the window between bsdtar reading a directory and attempting to read the file; and (b) aside from printing a warning message, bsdtar behaves exactly as if the file had been deleted prior to bsdtar reading its parent directory. Reviewed by: kientzle MFC after: 6 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-15T10:44:18.000000Z K 7 svn:log V 184 Fix a comment in memstat.h: errors are associated with memory type lists, not individual types. Submitted by: Bryan Venteicher MFC after: 3 days END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-03-15T11:27:14.000000Z K 7 svn:log V 1053 - Sysctl's move to seperate file - moved away from ifn/ifa access to sctp_ifa/sctp_ifn built and managed by the add-ip code. - cleaned up add-ip code to use the iterator - made iterator be a thread, which enables auto-asconf now. - rewrote and cleaned up source address selection (also made it use new structures). - Fixed a couple of memory leaks. - DACK now settable as to how many packets to delay as well as time. - connectx() to latest socket API, new associd arg. - Fixed issue with revoking and loosing potential to send when we inflate the flight size. We now inflate the cwnd too and deflate it later when the revoked chunk is sent or acked. - Got rid of some temp debug code - src addr selection moved to a common file (sctp_output.c) - Support for simple VRF's (we have support for multi-vfr via compile switch that is scrubbed from BSD but we won't need multi-vrf until we first get VRF :-D) - Rest of mib work for address information now done - Limit number of addresses in INIT/INIT-ACK to a #def (30). Reviewed by: gnn END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-15T13:08:50.000000Z K 7 svn:log V 78 Mention the first RELENG_6 release to include this driver. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-15T13:46:08.000000Z K 7 svn:log V 61 MFC: New release notes: vge(4) altq support, cxgb(4) added. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-15T14:10:51.000000Z K 7 svn:log V 135 Remove a spurious blank line at the start of vlan_growhash(). Add a diagnostic message to the function about resizing vlan hash table. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-15T14:11:46.000000Z K 7 svn:log V 162 Don't mess with PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN. This will fix 'NMI RAM parity error' while booting on some machines. PR: kern/95077 MFC after: 3 days END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-15T14:44:03.000000Z K 7 svn:log V 82 Add a description about hw.firewire.hold_count. MFC: after 3 days PR: kern/93083 END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-15T14:57:54.000000Z K 7 svn:log V 34 NULL instead of 0 in mtx_init() . END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-15T15:06:54.000000Z K 7 svn:log V 97 Remove NULL allocation checking since malloc() is allow to wait. (I'll fix other places later..) END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-15T15:59:28.000000Z K 7 svn:log V 506 Consolidate insertion of TCP options into a segment from within tcp_output() and syncache_respond() into its own generic function tcp_addoptions(). tcp_addoptions() is alignment agnostic and does optimal packing in all cases. In struct tcpopt rename to_requested_s_scale to just to_wscale. Add a comment with quote from RFC1323: "The Window field in a SYN (i.e., a or ) segment itself is never scaled." Reviewed by: silby, mohans, julian Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-15T16:12:08.000000Z K 7 svn:log V 14 Add missing @ END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-15T16:41:27.000000Z K 7 svn:log V 1872 Fix severe out-of-bound mtx "type" pointer, causing WITNESS refcount confusions and panic provided that the following conditions are met: 1) WITNESS is enabled (watch/trace). 2) Using modules, instead of statically linked (Not a strict requirement, but easier to reproduce this way). 3) 2 or more modules share the same mtx type ("sound softc"). - They might share the same name (strcmp() == 0), but it always point to different address. 4) Repetitive kldunload/load on any module that shares the same mtx type (Not a strict requirement, but easier to reproduce this way). Consider module A and module B: - From enroll() - subr_witness.c: * Load module A. Everything seems fine right now. wA-w_refcount == 1 ; wA-w_name = "sound softc" * Load module B. * w->w_name == description will always fail. ("sound softc" from A and B point to different address). * wA->w_refcount > 0 && strcmp(description, wA->w_name) == 0 * enroll() will return wA instead of returning (possibly unique) wB. wA->w_refcount++ , == 2. * Unload module A, mtx_destroy(), wA->w_name become invalid, but wA->w_refcount-- become 1 instead of 0. wA will not be removed from witness list. * Some other places call mtx_init(), iterating witness list, found wA, failed on wA->w_name == description * wA->w_refcount > 0 && strcmp(description, wA->w_name) * Panic on strcmp() since wA->w_name no longer point to valid address. Note that this could happened in other places as well, not just sound (eg. consider lots of drivers that share simmilar MTX_NETWORK_LOCK). Solutions (for sound case): 1) Provide unique mtx type string for each mutex creation (chosen) or 2) Put "sound softc" global variable somewhere and use it. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-15T17:23:38.000000Z K 7 svn:log V 221 NOOP (for now) for hdac_dma_nocache(). It is a wrong way to enforce cache coherency, besides of causing train wreck in other places (especially on amd64, possibly on i386). Discussed with: kib@, rafan@ Tested by: rafan@ END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-15T17:35:04.000000Z K 7 svn:log V 112 - Put some sanity break statement in few missing places. - Remove NULL checking on snd_mtxcreate() (M_WAITOK) . END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-15T18:19:01.000000Z K 7 svn:log V 70 Spring cleanup on irrelevant NULL checking over M_WAITOK allocations. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-03-15T20:03:30.000000Z K 7 svn:log V 33 Vendor import of OpenSSL 0.9.8e. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-03-15T20:03:30.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r167612, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-03-15T20:03:31.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'openssl-vendor-crypto-v0_9_8e'. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-03-15T20:07:27.000000Z K 7 svn:log V 50 Resolve conflicts after import of OpenSSL 0.9.8e. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-03-15T20:15:15.000000Z K 7 svn:log V 27 Upgrade to OpenSSL 0.9.8e. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-03-15T20:26:26.000000Z K 7 svn:log V 387 Import fix from upstream OpenSSL_0_9_8-stable branch: EVP_CIPHER_CTX_key_length() should return the set key length in the EVP_CIPHER_CTX structure which may not be the same as the underlying cipher key length for variable length ciphers. This fixes problems in OpenSSH using some ciphers, and possibly other applications. See also: http://bugzilla.mindrot.org/show_bug.cgi?id=1291 END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-03-15T20:26:26.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r167617, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-03-15T20:26:27.000000Z K 7 svn:log V 94 This commit was manufactured by cvs2svn to create tag 'openssl-vendor-crypto-b0_9_8-20070315'. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-03-15T21:06:48.000000Z K 7 svn:log V 109 - Bring upgrade produce up-to-date for OpenSSL 0.9.8e. - Add reminder to bump version numer in Makefile.inc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-15T21:19:21.000000Z K 7 svn:log V 152 Just use 'fdrop()' instead of 'FILE_LOCK(); fdrop_locked()' in dupfdopen(). While I'm at it, move the second fdrop() out from under the filedesc lock. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-16T01:23:36.000000Z K 7 svn:log V 307 Support MAXPHYS up to 512KB - We need at least two OCBs with indirect pointers allocated in a 4KB page. - SBP_MAXPHYS can increase to 1MB once we separate management OCB/ORB which usually does not need indirect pointers. - We have to increase SBP_DMA_SIZE for MAXPHYS larger than 1MB. MFC after: 3 days END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T01:44:21.000000Z K 7 svn:log V 82 Fix support for ASUS A7T ALC882 laptop (gpio0 quirk). Reported/Tested by: cognet END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-16T02:29:36.000000Z K 7 svn:log V 34 Print warning for large DFLTPHYS. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-16T03:13:28.000000Z K 7 svn:log V 1025 The ufs_disk_fillout(3) can take special device name (with or without /dev/ prefix) as an argument and mount point path. At the end it has to find device name file system is stored on, which means when mount point path is given, it tries to look into /etc/fstab and find special device corresponding to the given mount point. This is not perfect, because it doesn't handle the case when file system is mounted by hand and mount point is given as an argument. I found this problem while trying to use snapinfo(8), which passes mount points to the ufs_disk_fillout(3) function, but I had file system mounted manually, so snapinfo(8) was exiting with the error below: ufs_disk_fillout: No such file or directory I modified libufs(3) to handle those arguments (the order is important): 1. special device with /dev/ prefix 2. special device without /dev/ prefix 3. mount point listed in /etc/fstab, directory exists 4. mount point listed in /etc/fstab, directory doesn't exist 5. mount point of a file system mounted by hand END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-16T03:23:32.000000Z K 7 svn:log V 235 Pass special device to the ufs_disk_fillout() function, instead of mount point path. This way we properly handle the case when file system listed in /etc/fstab was unmounted and another file system was mounted on the same mount point. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-03-16T03:50:53.000000Z K 7 svn:log V 193 Mention a limitation that was inherted from RFC1952, making it impossible to obtain correct file size from a file that is larger than 4GB before compression. PR: bin/110329 MFC after: 1 week END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-16T04:25:02.000000Z K 7 svn:log V 19 Detect cycle lost. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-16T04:26:58.000000Z K 7 svn:log V 29 Less verbose debug messages. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-16T05:11:42.000000Z K 7 svn:log V 127 * Remove xfer->retry_req. It is unnecessary because retry is done by OHCI. Further retry should be done by applications. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-16T05:17:23.000000Z K 7 svn:log V 20 Remove retry_count. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-16T05:39:33.000000Z K 7 svn:log V 40 Replace xfer->act.hand with xfer->hand. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-16T12:36:54.000000Z K 7 svn:log V 728 Imagine a situation where: # ls -ld /mnt/{foo,bar} drwxr-xr-x 3 root wheel 512 Mar 16 06:56 /mnt/bar lrwxr-xr-x 1 root wheel 3 Mar 16 12:10 /mnt/foo -> bar # grep /mnt/foo /etc/fstab /dev/da1 /mnt/foo ufs rw 0 0 Which means, we give symbolic link as a mount point to mount(8), but mount(8) use realpath(3) before mounting the file systems, so we get: # mount | grep /dev/da1 /dev/da1 on /mnt/bar (ufs, local) Before the commit: # snapinfo /mnt/foo usage: snapinfo [-v] -a snapinfo [-v] mountpoint # snapinfo /mnt/bar /mnt/bar/snap This commit makes snapinfo(8) to first realpath(3) the given mount point and now we have: # snapinfo /mnt/foo /mnt/bar/snap # snapinfo /mnt/bar /mnt/bar/snap END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-16T12:56:20.000000Z K 7 svn:log V 148 - Add cxgb(4) entry, remove stale wx(4) entry - (gigabit|fast) ethernet -> (Gigabit|Fast) Ethernet Approved by: rwatson (mentor) MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-16T13:39:04.000000Z K 7 svn:log V 38 Minor white space tweaks in comments. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-16T13:42:26.000000Z K 7 svn:log V 59 Remove unused and #if 0'd net.inet.tcp.tcp_rttdflt sysctl. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T13:55:34.000000Z K 7 svn:log V 87 MFC: Add AC97 inverted external amplifier quirk for ASUS A6R laptop. PR: kern/110244 END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-16T15:34:09.000000Z K 7 svn:log V 97 MFC rev. 1.71, 1.74: Prepend ${_chroot} to pathnames where appropriate, and do that properly. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-03-16T16:07:49.000000Z K 7 svn:log V 42 Remove an extra "The". MFC after: 3 days END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:13:12.000000Z K 7 svn:log V 238 [stage: 1/9] - Convert sx lock to plain mutex. Since the access of /dev/sndstat is pretty much exclusive and protected by toggling sndstat_isopen, plain mutex is more than enough. - Enable SBUF_AUTOEXTEND to avoid buffer truncation. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:13:44.000000Z K 7 svn:log V 59 [stage: 2/9] Use inlined min() rather than MIN() macross. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:14:19.000000Z K 7 svn:log V 224 [stage: 3.1/9] malloc()less feeder_volume. Informations can be retrieved dynamically by doing table lookup on static data. Increase resolution from 6bit to PCM_FXSHIFT (8bit) for better resolution and finer volume changes. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:14:41.000000Z K 7 svn:log V 249 [stage: 3.2/9] malloc()less feeder_vchan. Informations can be retrieved dynamically by doing table lookup on static data. Reduce mixing overhead by doing direct copy on first channel. Mixing process will begin starting from second channel onwards. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:15:33.000000Z K 7 svn:log V 329 [stage: 4/9] - Rearrange FEEDER_* constants starting from 0 to 31, so the future additions will be much easier and consistent. - Introduce FEEDER_SWAPLR. Few super broken hardwares (found on several extremely cheap uaudio stick, possibly others) mistakenly wired left and right channels wrongly, screwing output or input. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:16:24.000000Z K 7 svn:log V 1592 [stage: 5/9] channel.c/channel_if.m: - Macros cleanups, prefer inlined min() over MIN(). - Rework chn_read()/chn_write() for better dead interrupt detection policy. Reduce scheduling overhead by doing pure 5 seconds sleep before giving up, instead of several cycle of brute micro sleeping. - Avoid calling wakeup_one() for non-sleeping channel (for example, vchan parent channel). - EWOULDBLOCK -> EAGAIN. - Fix possible divide-by-zero panic on chn_sync(). - Re-enforce ^2 blocksize policy, since there are too many broken userland apps that blindly assume it without even trying to do serious calculations. - New channel method - CHANNEL_SETFRAGMENTS(), a refined version of CHANNEL_SETBLOCKSIZE(). It accept _both_ blocksize and blockcount arguments, so the driver internals will have better hints for buffering and timing calculations. - Hook FEEDER_SWAPLR into feederchain building process. feeder_fmt.c: - Unified version of various filters, avoiding duplications. - malloc()less feeder_fmt. Informations can be retrieved dynamically by doing table lookup on static data. For cases such as converting from stereo to mono or reducing bit depth where input data is larger than output, cycle remaining available free space until it has been exhausted and start kicking 8 bytes reservoir space from there to complete the remaining requested count. - Introduce FEEDER_SWAPLR. Few super broken hardwares (found on several extremely cheap uaudio stick, possibly others) mistakenly wired left and right channels wrongly, screwing output or input. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:16:56.000000Z K 7 svn:log V 190 [stage: 6/9] - Disable stray buffer management, since sample size aligned buffering are pretty much guaranteed through out the entire feeder_* chain processes. - Few style(9) cleanups. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:17:25.000000Z K 7 svn:log V 37 [stage: 7/9] EWOULDBLOCK -> EAGAIN. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:18:17.000000Z K 7 svn:log V 265 [stage: 8/9] Implement CHANNEL_SETFRAGMENTS() for snd_atiixp, snd_es137x, snd_hda and snd_via8233. CHANNEL_SETBLOCKSIZE() will basically call CHANNEL_SETFRAGMENTS() internally using conservative blocksize / blockcount hints. Other drivers will be converted later. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-16T17:19:03.000000Z K 7 svn:log V 1057 [stage: 9/9] - SWAPLR quirk for (unknown, luckily it is mine) broken uaudio stick. Fixing by rewiring is impossible without damaging it. Luckily, we can fix it using "other" methods :) . - Add uaudio_get_vendor(), _product() and _release() in uaudio.c (currently used by uaudio_pcm quirk). - Implement CHANNEL_SETFRAGMENTS(). - Drop channel locking in few places where it is about to sleep somewhere. This should help eliminating illegal locking acquisition where the current thread is about to sleep, and also few deadlock cases. Dropping it right here is quite safe since it is already protected by CHN_F_BUSY flag and other threads won't bother to touch it. Solving other illegal locking issues are quite tricky without converting most usbd_do_request() calls to its equivalent _async() calls, which I intend to do it later after getting full test report from other people with different uaudio hardwares. - Fix memory leak issues during detach. This seems common to any drivers (notably emu10kx, csapcm?) with bridge functions. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-16T19:18:49.000000Z K 7 svn:log V 181 Revert/re-make previous commit in a manner that maintains hyphenation of extended attributes. I'm not sure I like it, but it is grammatically more correct. Requested by: mckusick END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-16T21:35:13.000000Z K 7 svn:log V 49 MFC rev. 1.16: fix prototypes. PR: docs/110012 END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-16T21:46:24.000000Z K 7 svn:log V 153 o Add ENVIRONMENT section and mention there that TMPDIR is ignored when issetugid(3) is true. PR: docs/108346 Obtained from: OpenBSD MFC after: 1 week END K 10 svn:author V 6 qingli K 8 svn:date V 27 2007-03-16T22:04:25.000000Z K 7 svn:log V 68 MFC: r1.316, accept valid RST packet when delayed ack is in effect. END K 10 svn:author V 4 will K 8 svn:date V 27 2007-03-17T02:10:14.000000Z K 7 svn:log V 64 MFC: r1.67: Make error messages regarding -t and -l consistent. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-17T05:23:45.000000Z K 7 svn:log V 48 move inline function above use so that -O works END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-17T05:25:28.000000Z K 7 svn:log V 49 move inline function before use so that -O works END K 10 svn:author V 4 kato K 8 svn:date V 27 2007-03-17T05:30:03.000000Z K 7 svn:log V 96 - Moved the uninitialized variables from the data to the bss section. - Fixed typos in comment. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-17T06:40:09.000000Z K 7 svn:log V 333 Fix the most obvious of the bugs introduced by recent syncache changes - *ip is not initialized in the case of inet6 connection, but ip->ip_len is being changed anyway Now the question is, why does it think an ipv4 connection is an ipv6 connection? xemacs still doesn't work over X11 forwarding, but the kernel no longer panics. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-17T11:52:54.000000Z K 7 svn:log V 80 Unbreak IPv6 after consolidation of TCP options insertion. Submitted by: tegge END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-03-17T14:59:04.000000Z K 7 svn:log V 153 Don't forget to increment the raw_position (bytes written) counter, even when operating in non-buffered mode. Pointy hat to: cperciva MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-03-17T16:17:14.000000Z K 7 svn:log V 186 Fix logic bug; we want to do_chdir if arg doesn't start with / _and_ it doesn't start with @/ either. This unbreaks "tar -c -C /no/such/directory @/path/to/archive". MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-03-17T16:43:28.000000Z K 7 svn:log V 185 Update postfix MTA selection code to point at postfix 2.3 which is the current version. PR: misc/110447 Submitted by: Chris Fletcher MFC after: 1 week END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-17T17:07:21.000000Z K 7 svn:log V 56 Fix long delay closing/syncing issues on mmaped buffer. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-03-17T18:13:32.000000Z K 7 svn:log V 351 - Cast the intermediate value in priority computtion back down to unsigned char. Weirdly, casting the 1 constant to u_char still produces a signed integer result that is then used in the % computation. This avoids that mess all together and causes a 0 pri to turn into 255 % 64 as we expect. Reported by: kkenn (about 4 times, thanks) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-03-17T18:18:08.000000Z K 7 svn:log V 591 - Turn all explicit giant acquires into conditional VFS_LOCK_GIANTs. Only ops which used namei still remained. - Implement a scheme for reducing the overhead of tracking which vops require giant by constantly reducing the number of recursive giant acquires to one, leaving us with only one vfslocked variable. - Remove all NFSD lock acquisition and release from the individual nfs ops. Careful examination has shown that they are not required. This greatly simplifies the code. Sponsored by: Isilon Systems, Inc. Discussed with: rwatson Tested by: kkenn Approved by: re END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-03-17T19:18:29.000000Z K 7 svn:log V 117 Remove pathlen argument from write_entry function. It has never been used. Approved by: kientzle MFC after: 3 days END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-17T19:37:09.000000Z K 7 svn:log V 67 Fix (another, more to come) ivar memory leak during driver detach. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-17T19:42:06.000000Z K 7 svn:log V 31 Eliminate an unused parameter. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-03-17T23:32:48.000000Z K 7 svn:log V 74 - Handle the case where slptime == runtime. Submitted by: Atoine Brodin END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-18T00:57:07.000000Z K 7 svn:log V 69 Explain more about the "C" qualifier for Celsius. MFC after: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-18T01:03:03.000000Z K 7 svn:log V 301 Disable burst mode by default. Testing has shown that while it works on most systems, it causes the EC not to respond for some Acer and Compaq/HP laptops. This is the default value for Linux also. For systems that need it, burst mode can be enabled via the tunable/sysctl: debug.acpi.ec.burst="1" END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-18T02:39:19.000000Z K 7 svn:log V 273 Don't deny unmounting file systems for jailed processes immediately, allow prison_priv_check() to decide what to do. This change is suppose not to change current (security) behaviour in any way. This change is simlar to the change of PRIV_VFS_MOUNT in previous revision. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-03-18T03:25:40.000000Z K 7 svn:log V 57 MFi386: revision 1.650 Eliminate an unused parameter. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-18T05:34:47.000000Z K 7 svn:log V 61 MFC rev 1.9: quiet down the errors when all fs are read-only END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-18T15:31:06.000000Z K 7 svn:log V 140 Document a major IGMP related annoyance. Add comments about IGMP bits which will go when we take SSM. Xref multicast(4). MFC after: 3 days END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-18T15:34:57.000000Z K 7 svn:log V 56 Point out that PIM is the way to go. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-18T16:49:50.000000Z K 7 svn:log V 61 Prefer more traditional spellings of some words in comments. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-18T18:26:40.000000Z K 7 svn:log V 60 Enforce sample size alignment on first direct-copy channel. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-03-18T18:57:38.000000Z K 7 svn:log V 48 Spelling and whitespace fixes from Dunne Whitty END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-03-18T19:28:44.000000Z K 7 svn:log V 49 More corrections, this time from Wojciech Koszek END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-03-18T19:42:24.000000Z K 7 svn:log V 38 New errata: EN-07:05.freebsd-update. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-18T23:05:20.000000Z K 7 svn:log V 194 In IPv4 fast forwarding path, send ICMP unreachable messages for routes which have RTF_REJECT set *and* a zero expiry timer. PR: kern/109246 MFC after: 10 days Submitted by: Ingo Flaschberger END K 10 svn:author V 3 rik K 8 svn:date V 27 2007-03-18T23:28:53.000000Z K 7 svn:log V 356 Give a chance for packet to appear with a correct input interfaces in case of multiple interfaces with the same MAC in the same bridge. This commit do not solve the entire problem. Only case where packet arrived from such interface. PR: kern/109815 MFC after: 7 days Submitted by: Eygene Ryabinkin and rik@ Discussed with: bms@, thompsa@, yar@ END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-03-19T00:19:35.000000Z K 7 svn:log V 100 Bump __FreeBSD_version after changes to how insmntque(), getnewvnode(), and vfs_hash_insert() work. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-19T03:35:45.000000Z K 7 svn:log V 135 Wait SCLK to be stable after LPS enabled. This should fix NMI problem in fwphy_rddata(). PR: kern/94146 kern/100356 MFC: after 3 days END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-19T03:41:27.000000Z K 7 svn:log V 58 Poll only while interrupt is disabled. MFC: 3 days after END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-03-19T03:52:20.000000Z K 7 svn:log V 67 Correct a typo. Submitted by: Kai Wang END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-19T04:50:15.000000Z K 7 svn:log V 296 The driver would hang during attach on RELENG_6 - by "fixing" the issue by adding debug print statements I've come to the conclusion that too little time is being allowed to pass between register updates. Increasing the DELAY interval by a constant interval eliminates this issue on my hardware. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-19T05:11:07.000000Z K 7 svn:log V 158 MFC: rev 1.57 Don't mess with PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN. This will fix 'NMI RAM parity error' while booting on some machines. PR: kern/95077 END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-19T05:13:21.000000Z K 7 svn:log V 51 MFC: rev 1.86 and 1.87 Support MAXPHYS up to 512KB END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-19T05:23:42.000000Z K 7 svn:log V 100 display two new Intel feature bits Submitted by: "Rui Paulo" MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-19T05:27:18.000000Z K 7 svn:log V 75 MFC 1.46: correct conversions between TU and ms/ticks Submitted by: sephe END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-19T05:32:04.000000Z K 7 svn:log V 92 MFC 1.163: Kick tx after processing rx'd frames Submitted by: "J.R. Oldroyd" END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-19T05:34:30.000000Z K 7 svn:log V 147 MFC: Change mtx's to use the formulated name as type so witness does not complain on nested tx q lock acquisitions when processing the cab q. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-03-19T06:53:02.000000Z K 7 svn:log V 358 - errno -> becomes error in sctp_output.c and sctputil.c - SB_CLEAR macro defined and used for sb clearing. - Fix for CMT express_sack_handling did not do proper pseudo-cumack updates. - Get rid of extraneous function that was never used ip_2_ip6_hdr() - Fixed source address selection bug (initialization problem). - Source address selection debug added. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-19T06:58:47.000000Z K 7 svn:log V 81 MFC if_ste.c rev 1.98, if_stereg.h rev 1.22 to RELENG_6. Add new ST201 PCI id. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-03-19T07:49:11.000000Z K 7 svn:log V 87 - Remove an unneeded comma - Remove a redundant .Xc - Spell "Largely" as it should. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-03-19T11:11:16.000000Z K 7 svn:log V 218 Adds a hash table to speed local address lookup on a per VRF basis (BSD has only one VRF currently). Hash table is sized to 16 but may need to be adjusted for machines with large numbers of addresses. Reviewed by: gnn END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-03-19T11:15:53.000000Z K 7 svn:log V 113 libarchive.so.3 was turned to libarchive.so.4 by the src/lib/libarchive/Makefile,v 1.59 change, so reflect this. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2007-03-19T12:12:53.000000Z K 7 svn:log V 170 Improve previous commit by using setusercontext(3) and removing the group option. Bump doc date for manual page changes. Reviewed by: rwatson, ru, will (older version) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-03-19T15:26:24.000000Z K 7 svn:log V 75 MFC: npe(4). New release note: freebsd-update(8) SMP kernel update fix. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-19T16:06:26.000000Z K 7 svn:log V 49 Destroy channel DMA tag during resource cleanup. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-03-19T16:22:56.000000Z K 7 svn:log V 98 MFC: Various changes to sync this manpage to HEAD. cxgb.4 1.4 -> 1.7 Discussed with: brueffer END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-19T16:31:28.000000Z K 7 svn:log V 92 Now that this driver uses ether_ioctl(), it no longer needs the INET related include files. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-19T16:36:34.000000Z K 7 svn:log V 65 One more s/ethernet/Ethernet/ I missed in the previous revision. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-19T16:45:06.000000Z K 7 svn:log V 231 Merge latest ifmcstat (with changes for FreeBSD). Possibly merge or split with netstat -g. TODO: Make !defined(INET6) clean. TODO: Add -M/-N instead of -k. TODO: Use sysctls instead of kvm. Obtained from: KAME MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-19T16:56:48.000000Z K 7 svn:log V 67 MFC: my(4) doesn't need miibus(4). Approved by: rwatson (mentor) END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-19T16:58:07.000000Z K 7 svn:log V 66 Fix a nameless constant: 6 -> ETHER_ADDR_LEN Tested with: md5(1) END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-19T17:34:31.000000Z K 7 svn:log V 33 if_vlan no more depends on INET. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-19T17:52:15.000000Z K 7 svn:log V 233 Teach pfsync(4) that its member interfaces may go away. This change partially resolves the issue in the PR. Further architectural fixes, in the form of reference counting, are needed. PR: 86848 Reviewed by: yar MFC after: 1 month END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-19T18:01:39.000000Z K 7 svn:log V 35 Now is unused here. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-19T18:13:02.000000Z K 7 svn:log V 63 Make clean for !INET6. Remove non-FreeBSD code. Sort includes. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-19T18:17:31.000000Z K 7 svn:log V 192 Add a sysctl net.link.tap.up_on_open which defaults to zero; when it is non-zero, tap(4) instances will be marked IFF_UP on attach. PR: 110383 Requested by: Frank Behrens MFC after: 2 weeks END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-19T18:27:00.000000Z K 7 svn:log V 94 Document net.link.tap.up_on_open. PR: 110383 Submitted by: Frank Behrens MFC after: 2 weeks END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-19T18:35:13.000000Z K 7 svn:log V 212 Maintain a pointer and offset pair into the socket buffer mbuf chain to avoid traversal of the entire socket buffer for larger offsets on stream sockets. Adjust tcp_output() make use of it. Tested by: gallatin END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-19T18:39:36.000000Z K 7 svn:log V 1175 Clean up the ether_input() path by using the M_PROMISC flag. Main points of this change: * Drop frames immediately if the interface is not marked IFF_UP. * Always trim off the frame checksum if present. * Always use M_VLANTAG in preference to passing 802.1Q frames to consumers. * Use __func__ consistently for KASSERT(). * Use the M_PROMISC flag to detect situations where ether_input() may reenter itself on the same call graph with the same mbuf which was promiscuously received on behalf of subsystems such as netgraph, carp, and vlan. * 802.1P frames (that is, VLAN frames with an ID of 0) will now be passed to layer 3 input paths. * Deal with the special case for CARP in a sane way. This is a significant rewrite of code on the critical path. Please report any issues to me if they arise. Frames will now only pass through dummynet if M_PROMISC is cleared, to avoid problems with re-entry. The handling of CARP needs to be revisited architecturally. The M_PROMISC flag may potentially be demoted to a link-layer flag only as it is in NetBSD, where the idea originated. Discussed on: net Idea from: NetBSD Reviewed by: yar MFC after: 1 month END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-19T18:40:31.000000Z K 7 svn:log V 57 Space to tab in SB_* defines to match with rest of file. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-19T18:42:27.000000Z K 7 svn:log V 43 Match up SYSCTL_INT declarations in style. END K 10 svn:author V 5 brian K 8 svn:date V 27 2007-03-19T18:51:02.000000Z K 7 svn:log V 297 When we write extended attributes, assert that the inode hasn't already been deleted. The assertion is important to show that we won't end up accounting for extended attribute blocks (using fs_pendingblocks) in our subsequent call to fs_alloc(). Agreed verbally by: mckusick MFC after: 3 weeks END K 10 svn:author V 5 brian K 8 svn:date V 27 2007-03-19T18:56:40.000000Z K 7 svn:log V 206 MFC: Account for di_blocks allocations when IN_SPACECOUNTED is set in an inode's i_flag. This fixes an eventual df/du discrepency resulting from fs_pendingblocks being reduced to less than zero. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-19T19:00:51.000000Z K 7 svn:log V 35 Match up SYSCTL declaration style. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-03-19T19:13:02.000000Z K 7 svn:log V 75 M_BCAST & M_MCAST are now set by ether_input before passing to the bridge. END K 10 svn:author V 5 brian K 8 svn:date V 27 2007-03-19T19:15:42.000000Z K 7 svn:log V 21 MFC: Reindent main() END K 10 svn:author V 5 brian K 8 svn:date V 27 2007-03-19T19:16:49.000000Z K 7 svn:log V 128 MFC: Default output to stdout as the man page suggests. Only go through our cylinder group and inode info when we need to. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-03-19T19:20:35.000000Z K 7 svn:log V 34 etherbroadcastaddr is now unused. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-19T21:42:39.000000Z K 7 svn:log V 136 MFC: - Add cxgb(4) entry, remove stale wx(4) entry - (gigabit|fast) ethernet -> (Gigabit|Fast) Ethernet Approved by: rwatson (mentor) END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-19T22:57:58.000000Z K 7 svn:log V 251 MFC: In regular forwarding path, reject packets destined for 169.254.0.0/16 link-local addresses. See RFC 3927 section 2.7. Revision Changes Path 1.96 +1 -1 src/sys/netinet/in.c 1.324 +6 -0 src/sys/netinet/ip_input.c END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-19T23:17:39.000000Z K 7 svn:log V 294 Revert couple of changes from 1.51 and 1.52. Reading link status with BMSR is okay for most of the chipsets but BCM5701 PHY does not seem to like it. Set media to IFM_NONE if link is not up instead of the previous value. Reported by: Goran Lowkrantz (goran dot lowkrantz at ismobile dot com) END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-20T00:36:10.000000Z K 7 svn:log V 715 Implement reference counting for ifmultiaddr, in_multi, and in6_multi structures. Detect when ifnet instances are detached from the network stack and perform appropriate cleanup to prevent memory leaks. This has been implemented in such a way as to be backwards ABI compatible. Kernel consumers are changed to use if_delmulti_ifma(); in_delmulti() is unable to detect interface removal by design, as it performs searches on structures which are removed with the interface. With this architectural change, the panics FreeBSD users have experienced with carp and pfsync should be resolved. Obtained from: p4 branch bms_netdev Reviewed by: andre Sponsored by: Garance A Drosehn Idea from: NetBSD MFC after: 1 month END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-20T00:58:19.000000Z K 7 svn:log V 363 If we got an OBE/IBF event, we failed to re-enable the GPE. This would cause the EC to stop handling future events because the GPE stayed masked. Set a flag when queueing a GPE handler since it will ultimately re-enable the GPE. In all other cases, re-enable it ourselves. I reworked the patch from the submitter. Submitted by: Rong-en Fan END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-20T02:08:28.000000Z K 7 svn:log V 54 Use -M and -N for core and kernel image respectively. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-20T03:15:43.000000Z K 7 svn:log V 53 Fix tinderbox; ng_ether needs to see if_findmulti(). END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-03-20T03:44:10.000000Z K 7 svn:log V 1834 Avoid using vsnprintf(3) unless MALLOC_STATS is defined, in order to avoid substantial potential bloat for static binaries that do not otherwise use any printf(3)-family functions. [1] Rearrange arena_run_t so that the region bitmask can be minimally sized according to constraints related to each bin's size class. Previously, the region bitmask was the same size for all run headers, which wasted a measurable amount of memory. Rather than making runs for small objects as large as possible, make runs as small as possible such that header overhead stays below a certain bound. There are two exceptions that override the header overhead bound: 1) If the bound is impossible to honor, it is relaxed on a per-size-class basis. Since there is one bit of header overhead per object (plus a constant), it is impossible to achieve a header overhead less than or equal to 1/(# of bits per object). For the current setting of maximum 0.5% header overhead, this relaxation comes into play for {2, 4, 8, 16}-byte objects, for which header overhead is (on 64-bit systems) {7.1, 4.3, 2.2, 1.2}%, respectively. 2) There is still a cap on small run size, still set to 64kB. This comes into play for {1024, 2048}-byte objects, for which header overhead is {1.6, 3.1}%, respectively. In practice, this reduces the run sizes, which makes worst case low-water memory usage due to fragmentation less bad. It also reduces worst case high-water run fragmentation due to non-full runs, but this is only a constant improvement (most important to small short-lived processes). Reduce the default chunk size from 2MB to 1MB. Benchmarks indicate that the external fragmentation reduction makes 1MB the new sweet spot (as small as possible without adversely affecting performance). Reported by: [1] kientzle END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-20T06:21:47.000000Z K 7 svn:log V 209 cxgb_stop is only called from cxgb_ioctl so: - don't acquire port lock, already held in ioctl - rename to cxgb_stop_locked - switch callout_drain to callout_stop to avoid a hang from having the port lock held END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-03-20T10:19:09.000000Z K 7 svn:log V 50 Adds missing flight size logging option for SCTP. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-03-20T10:23:11.000000Z K 7 svn:log V 281 - window update sacks sent incorrectly after shutdown which caused extra abort from peer. - RTT time calculation was not being done in express sack handling since it refered to an unused variable (rto_pending). Removed variable. - socket buffer high water access macro-ized. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-03-20T10:51:45.000000Z K 7 svn:log V 198 Mark UFS as being MP-Safe in "options QUOTA" case too. Remove no more neccessary Giant acquisions in softdepend processing code. Tested by: Peter Holm Reviewed by: tegge Approved by: re (kensmith) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-20T11:24:29.000000Z K 7 svn:log V 240 Put a temporary bandaid to set/reset uncacheable DMA region (affected on amd64 and i386) until we gain proper BUS_DMA_NOCACHE support. (in progress). Tested by: rafan, infofarmer, Nguyen Tam Chinh Tested on: amd64, i386 END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-20T13:15:20.000000Z K 7 svn:log V 950 Increase default size of raw IP send and receive buffers to the same as udp_sendspace, to avoid a situation where jumbograms (datagrams > 9KB) are unnecessarily fragmented. A common use case for this is OSPF link-state database synchronization during adjacency bringup on a high speed network with a large MTU. It is not possible to auto-tune this setting until a socket is bound to a given interface, and because the laddr part of the inpcb tuple may be overridden, it makes no sense to do so. Applications may request a larger socket buffer size by using the SO_SENDBUF and SO_RECVBUF socket options. Certain applications such as Quagga ospfd do not probe for interface MTU and therefore do not increase SO_SENDBUF in this use case. XORP is not affected by this problem as it preemptively uses SO_SENDBUF and SO_RECVBUF to account for any possible additional latency in XRL IPC. PR: kern/108375 Requested by: Vladimir Ivanov MFC after: 1 week END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-20T14:29:54.000000Z K 7 svn:log V 102 Make the m_pullup() diagnostic message compile-time conditional on DIAGNOSTIC. Requested by: glebius END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-20T18:48:04.000000Z K 7 svn:log V 50 MFi386 1.173: Display two new Intel feature bits. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-20T20:21:44.000000Z K 7 svn:log V 205 Tweak the probe/attach order of devices on the x86 nexus devices. Various BIOS-related psuedo-devices are added at an order of 5. acpi0 is added at an order of 10, and legacy0 is added at an order of 11. END K 10 svn:author V 4 will K 8 svn:date V 27 2007-03-20T20:22:18.000000Z K 7 svn:log V 71 MFC: r1.18: Allow overriding the HOME environment as per the man page. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-20T20:22:45.000000Z K 7 svn:log V 212 - Add macros for newly added CPUID bits in the corresponding header files. - Use correct capticalization in xTPR as Intel uses in their documents. - Use proper description instead of vendor code name in comment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-20T21:08:39.000000Z K 7 svn:log V 321 Add a new ram0 pseudo-device that claims memory resouces for physical addresses corresponding to system RAM. On amd64 ram0 uses the SMAP and claims all the type 1 SMAP regions. On i386 ram0 uses the dump_avail[] array. Note that on i386 we have to ignore regions above 4G in PAE kernels since bus resources use longs. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-20T21:43:32.000000Z K 7 svn:log V 216 Synchronize with version 1.0.071 of Chelsio's common code (with the notable exception of improvements for using multiple TX queues) This adds support for the T3B2 ASIC rev Obtained from: Chelsio MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-20T21:53:31.000000Z K 7 svn:log V 326 Add a new apic0 psuedo-device to claim memory resources for the memory address ranges used by local and I/O APICs in the system. Some systems also reserve these ranges as system resources via either PnPBIOS or ACPI, so this device currently attaches after acpi0 and legacy0 so that the system resources are given precedence. END K 10 svn:author V 5 brian K 8 svn:date V 27 2007-03-20T23:15:45.000000Z K 7 svn:log V 69 MFC: Don't free the buffer with the sysctl value before printing it. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-20T23:24:25.000000Z K 7 svn:log V 116 MFC rev 1.53: Remove obsolete polling members from documentation for struct ifnet. Submitted by: Aniruddha Bohra END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-21T00:45:13.000000Z K 7 svn:log V 16 Sync with HEAD. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-21T00:54:23.000000Z K 7 svn:log V 49 Remove firmware version flags MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-03-21T03:28:16.000000Z K 7 svn:log V 11 Remove __P END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-03-21T03:38:37.000000Z K 7 svn:log V 146 Don't call bus_deactivate_resource() explicitly before calling bus_release_resource(). This is needed for pc98 by upcoming nexus related change. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-03-21T03:41:25.000000Z K 7 svn:log V 69 MFi386: revision 1.13.8.4. MFC: Fix the cdboot twiddle display. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-21T03:42:51.000000Z K 7 svn:log V 1294 Overhaul driver/subsystem api's: o make all crypto drivers have a device_t; pseudo drivers like the s/w crypto driver synthesize one o change the api between the crypto subsystem and drivers to use kobj; cryptodev_if.m defines this api o use the fact that all crypto drivers now have a device_t to add support for specifying which of several potential devices to use when doing crypto operations o add new ioctls that allow user apps to select a specific crypto device to use (previous ioctls maintained for compatibility) o overhaul crypto subsystem code to eliminate lots of cruft and hide implementation details from drivers o bring in numerous fixes from Michale Richardson/hifn; mostly for 795x parts o add an optional mechanism for mmap'ing the hifn 795x public key h/w to user space for use by openssl (not enabled by default) o update crypto test tools to use new ioctl's and add cmd line options to specify a device to use for tests These changes will also enable much future work on improving the core crypto subsystem; including proper load balancing and interposing code between the core and drivers to dispatch small operations to the s/w driver as appropriate. These changes were instigated by the work of Michael Richardson. Reviewed by: pjd Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-21T03:43:33.000000Z K 7 svn:log V 69 add missing file from last commit that overhauls crypto/driver api's END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-21T04:56:38.000000Z K 7 svn:log V 101 MFC 1.79: when starting up an ibss master use a random address for the bssid Obtained from: Atheros END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-21T05:01:44.000000Z K 7 svn:log V 439 MFC: power save fix: When dispatching frames saved on the power save queue to a station exiting power save mode prepend them to the driver's send q instead of appending them. This insures the packets are not misordered wrt any packets already q'd for the station. This corrects a problem noticed when using a VoIP phone talking to an ath card in ap mode; the misordered packets caused noise. Submitted by: "J.R. Oldroyd" END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-03-21T05:46:18.000000Z K 7 svn:log V 143 Let people in on the magic of INET[6]_ADDRSTRLEN which comes quite handy in combination with inet_ntop(). Reviewed by: trhodes "works for me" END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-21T07:25:40.000000Z K 7 svn:log V 86 make MSI-X the default and allocate up to mp_ncpus queues per port MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-03-21T07:49:56.000000Z K 7 svn:log V 14 Fix a comment END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-21T09:16:10.000000Z K 7 svn:log V 33 allocate 9 messages in all cases END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-03-21T09:39:51.000000Z K 7 svn:log V 132 Add a test for IPv6 and IPsec which is similar to the one for IPv4. Add comments to the test for IPv4 with IPsec. MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-21T14:39:39.000000Z K 7 svn:log V 26 catchup w/ crypto changes END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-03-21T15:15:57.000000Z K 7 svn:log V 247 MFC revisions 1.5[6789]: * Remove unused pathlen argument from write_entry function. * Fix logic bug in deciding if do_chdir should be called. * Don't consider an lstat(2) failure to be an error. * Correct warning message when lstat(2) fails. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-03-21T15:26:02.000000Z K 7 svn:log V 113 MFC revision 1.13: Don't forget to increment the raw_position counter, even when operating in non-buffered mode. END