ƒ²'217670 189 547 547 469 469 254 254 428 428 441 223 513 160 367 1543 492 360 138 111 281 257 129 130 160 106 343 343 148 261 253 120 241 241 301 293 432 150 146 188 324 219 107 107 143 259 451 238 120 182 316 102 238 238 131 107 107 160 170 313 99 179 132 218 178 214 280 365 252 129 156 169 361 361 158 155 546 657 317 121 921 154 736 254 480 232 177 436 365 247 165 118 211 141 435 142 399 186 451 179 616 635 157 245 153 212 348 229 444 266 246 156 157 531 131 252 347 160 188 190 190 191 272 109 117 228 223 128 146 151 203 219 472 120 141 888 888 351 802 193 215 587 196 148 251 297 372 312 555 202 311 297 181 135 260 210 372 207 132 359 268 229 151 291 482 153 247 423 423 270 917 917 322 322 153 316 316 177 177 384 176 258 332 261 105 351 328 236 236 403 130 K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:40:25.057963Z K 7 svn:log V 451 MFC: r217412 - Masking IFM_GMASK when also masking IFM_FDX is redundant and just complicates the code. - Don't let atphy_setmedia() announce PAUSE support for half-duplex when MIIF_FORCEPAUSE is set. - Simplify e1000phy_service() and ip1000phy_service() to only set the manual configuration bits once after we have figured them all out. For ip1000phy_service() this also means we no longer unnecessarily update the hardware along the road. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:40:51.194201Z K 7 svn:log V 451 MFC: r217412 - Masking IFM_GMASK when also masking IFM_FDX is redundant and just complicates the code. - Don't let atphy_setmedia() announce PAUSE support for half-duplex when MIIF_FORCEPAUSE is set. - Simplify e1000phy_service() and ip1000phy_service() to only set the manual configuration bits once after we have figured them all out. For ip1000phy_service() this also means we no longer unnecessarily update the hardware along the road. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:48:04.709733Z K 7 svn:log V 373 MFC: r217413 - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. - Simplify ciphy_service() to only set the manual configuration bits once after we have figured them all out. This also means we no longer unnecessarily update the hardware along the road. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:48:08.805251Z K 7 svn:log V 373 MFC: r217413 - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. - Simplify ciphy_service() to only set the manual configuration bits once after we have figured them all out. This also means we no longer unnecessarily update the hardware along the road. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:50:34.209629Z K 7 svn:log V 158 MFC: r217414 - Don't announce PAUSE support for half-duplex when MIIF_FORCEPAUSE is set. - Let mii_phy_auto() also announce PAUSE support for 10baseT-FDX. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:50:34.648964Z K 7 svn:log V 158 MFC: r217414 - Don't announce PAUSE support for half-duplex when MIIF_FORCEPAUSE is set. - Let mii_phy_auto() also announce PAUSE support for 10baseT-FDX. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:53:32.001672Z K 7 svn:log V 332 MFC: r217417 - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. - Just let the default case handle all unsupported media types. - In pnphy_status() don't unnecessarily read a register twice. - Remove unnused macros. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T00:53:37.520368Z K 7 svn:log V 332 MFC: r217417 - Even after masking the media with IFM_GMASK the result may have bits besides the duplex ones set so just comparing it with IFM_FDX may lead to false negatives. - Just let the default case handle all unsupported media types. - In pnphy_status() don't unnecessarily read a register twice. - Remove unnused macros. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-21T01:12:22.378179Z K 7 svn:log V 343 MFC: r217432 Modify the experimental NFSv4 server so that it posts a SIGUSR2 signal to the master nfsd daemon whenever the stable restart file has been modified. This will allow the master nfsd daemon to maintain an up to date backup copy of the file. This is enabled via the nfssvc() syscall, so that older nfsd daemons will not be signaled. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-01-21T01:24:00.256514Z K 7 svn:log V 125 MFC: r217535 Fix the experimental NFSv4 server so that it uses VOP_ACCESSX() to check for VREAD_ACL instead of VOP_ACCESS(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-21T02:53:32.278074Z K 7 svn:log V 417 Make the existing ath tools build again. * add missing includes to quieten warnings * fix an inline function decl to have a return type * since .h files are created during the build (opt_ah.h, ah_osdep.h) which modify the behaviour of the HAL include/source files, include OBJDIR in the path so the #include's work. The tools should now build when the directory is added to LOCAL_DIRS during a make buildworld. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-21T02:56:59.817136Z K 7 svn:log V 65 Remove an un-needed trailing / after OBJDIR. Nitpicked by: juli END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-21T03:14:08.734736Z K 7 svn:log V 271 Add in a new tool which prints a formatted v14 eeprom from an eeprom hexdump. This is a part replacement of the old athprom code, which tries to both fetch and print the contents of an eeprom dump. A tool to generate hexdumps from a running system will follow shortly. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-21T05:19:47.149640Z K 7 svn:log V 1444 Some correctness and robustness fixes related to CUBIC's mean RTT estimate: - The mean RTT is updated at the end of each congestion epoch, but if we switch to congestion avoidance within the first epoch (e.g. if ssthresh was primed from the hostcache), we'll trigger a divide by zero panic in cubic_ack_received(). Set the mean to the min in cubic_record_rtt() if the mean is less than the min to ensure we have a sane mean for use in this situation. This fixes the panic reported by Nick Hibma. - Adjust conditions under which we update the mean RTT in cubic_post_recovery() to ensure a low latency path won't yield an RTT of less than 1. This avoids another potential divide by zero panic when running CUBIC in networks with sub-millisecond latencies. - Remove the "safety" assignment of min into mean when we don't update the mean because of failed conditions. The above change to the conditions for updating the mean ensures the safety issue is addressed and I feel it is better to keep our previous mean estimate around if we can't update than to revert to the min. - Initialise the mean RTT to 1 on connection startup to act as a safety belt if a situation we haven't considered and addressed with the above changes were to crop up in the wild. Sponsored by: FreeBSD Foundation Reported and tested by: Nick Hibma Discussed with: David Hayes MFC after: 5 weeks X-MFC with: r216114 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-21T05:21:00.368495Z K 7 svn:log V 396 ANI changes #1 - split out the ANI polling from the RxMonitor hook. The rxmonitor hook is called on each received packet. This can get very, very busy as the tx/rx/chanbusy registers are thus read each time a packet is received. Instead, shuffle out the true per-packet processing which is needed and move the rest of the ANI processing into a periodic event which runs every 100ms by default. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-21T06:42:25.245355Z K 7 svn:log V 264 Modify the v14/v4k eeprom diag interface to return the whole eeprom. The v1 and v3 interfaces returned the whole EEPROM but the v14/v4k interfaces just returned the base header. There's extra information outside of that which would also be nice to get access to. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-21T07:26:53.790008Z K 7 svn:log V 43 Add missing getCapability call for AR5416. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-21T07:28:48.491134Z K 7 svn:log V 16 Fix some typos. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-01-21T10:26:26.012385Z K 7 svn:log V 184 Make MSGBUF_SIZE kernel option a loader tunable kern.msgbufsize. Submitted by: perryh pluto.rain.com (previous version) Reviewed by: jhb Approved by: kib (mentor) Tested by: universe END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-01-21T12:15:21.670280Z K 7 svn:log V 160 Add kern.msgbufsize default setting to /boot/defaults/loader.conf. Suggested by: Alex Kozlov (via private mail) Approved by: kib (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2011-01-21T12:37:21.869448Z K 7 svn:log V 37 Forgot to commit this way back when. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-01-21T12:39:28.620875Z K 7 svn:log V 38 Check return value from vasprintf(3). END K 10 svn:author V 3 des K 8 svn:date V 27 2011-01-21T13:45:09.013676Z K 7 svn:log V 68 Add support for including additional meta-information in the delta. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-01-21T13:46:34.766191Z K 7 svn:log V 14 Extended stub END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T14:05:11.525405Z K 7 svn:log V 247 MFC: r217464, r217468, r217475 Add a manual page for rgephy(4) and reference it as appropriate. The motivation for having rgephy.4 is to document the special media option added in r217415 (MFC'ed to releng/8.2 in r217666). Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-01-21T14:07:38.889114Z K 7 svn:log V 247 MFC: r217464, r217468, r217475 Add a manual page for rgephy(4) and reference it as appropriate. The motivation for having rgephy.4 is to document the special media option added in r217415 (MFC'ed to releng/7.4 in r217667). Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-21T16:22:11.817169Z K 7 svn:log V 56 Josh Paetzel has src commit bit now. Approved by: core END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-01-21T17:53:40.306429Z K 7 svn:log V 166 MFC r216667: The 'kern.corefile="whatever"' syntax won't work with sysctl.conf; remove the quotes to not mislead people. MFC r216668: Fix date, broken in r216667. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2011-01-21T18:10:11.402021Z K 7 svn:log V 159 Update to upstrea version 2.5.6. Detect IO errors properly. Write #line directives to the correct output stream. Obtained from: http://dotat.at/prog/unifdef END K 10 svn:author V 4 fanf K 8 svn:date V 27 2011-01-21T18:18:55.215508Z K 7 svn:log V 27 MFC r217698: unifdef-2.5.6 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-21T18:31:57.337618Z K 7 svn:log V 147 MFC: r217424 Remove redundant, bogus, and even harmful uses of setting TS bit in CR0. It is done from fpstate_drop() when it is really necessary. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-21T18:32:29.993873Z K 7 svn:log V 147 MFC: r217424 Remove redundant, bogus, and even harmful uses of setting TS bit in CR0. It is done from fpstate_drop() when it is really necessary. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-21T21:33:46.620288Z K 7 svn:log V 208 Restore support for the 'async' and 'sync' mount options lost when switching to nmount(2). While here, sort the options. PR: kern/153584 Submitted by: Pedro F. Giffuni giffunip at yahoo MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-21T22:00:40.692443Z K 7 svn:log V 200 - Move special inode constants to ext2_dinode.h and rename them to match NetBSD. - Add a constant for the HASJOURNAL compat flag. PR: kern/153584 Submitted by: Pedro F. Giffuni giffunip at yahoo END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-21T22:15:17.412689Z K 7 svn:log V 336 getgroups(2): Remove mention of and refer to sysconf(3). Because {NGROUPS_MAX} may become variable, its value should be obtained using sysconf(3). If a #define is used anyway, it should be obtained by including as that is in POSIX like getgroups(2) itself is. is not in POSIX. MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-21T23:55:28.618055Z K 7 svn:log V 58 Leftover bogus TX UNLOCK removed. Thanks to Andrew Boyer. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-22T00:08:06.445269Z K 7 svn:log V 54 Missing case for 82598DA type adapter, thanks Andrew. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-22T00:19:15.452566Z K 7 svn:log V 96 Don't bother to run the flowcontrol code if there is no change. Thanks to Andrew for the tweak. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-22T00:32:12.046942Z K 7 svn:log V 228 Fix backtraces by defining ksym_start & ksym_end if DDB is defined. The kernel linker doesn't deal with symbols of type NOTYPE and typically gives the wrong symbol ($a) for local symbols. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-22T01:31:59.813226Z K 7 svn:log V 123 Fix r217688. We need to call init_param1() before we use msgbufsize, now that the size of the message buffer is a tunable. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-22T01:34:08.246892Z K 7 svn:log V 15 MFC rev 217295 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-22T01:37:53.475605Z K 7 svn:log V 15 MFC rev 217591 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-22T01:43:07.836146Z K 7 svn:log V 51 MFC rev 217127 - correct a couple SYSCTL variables END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-22T01:48:12.086544Z K 7 svn:log V 166 MFC rev 217593: Critical fix for panic on 82598 Phy detection now dynamic Flow Director improvement Critical fix for buf sz (jumbos) Release RX lock to fix LOR END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-01-22T05:21:20.893800Z K 7 svn:log V 354 Warn user when value entered is greated than the amount supported by the MBR for the given parameter and set that parameter to the maximum value instead of just truncating the most significant part silently. Could happen for example if the capacity of the device is more than 2TB, so that the number of sectors is greater than 2Mib. MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-22T11:27:10.698228Z K 7 svn:log V 145 MFC r217463: For consistency, use kernel_object instead of &kernel_object_store when initializing the object mutex. Do the same for kmem_object. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-22T11:29:13.309942Z K 7 svn:log V 28 MFC r217583: Add missed (). END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-01-22T13:18:28.097443Z K 7 svn:log V 90 Fix '.Xr' ordering in SEE ALSO section. Approved by: keramida (mentor) MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-01-22T13:52:23.638282Z K 7 svn:log V 218 Allow USB_HOST_ALIGN to be configured at compile time. This patch is necessary for MIPS based RouterStation Pro board and maybe other MIPS based boards as well. Submitted by: Milan Obuch Approved by: thompsa (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-01-22T15:19:25.977272Z K 7 svn:log V 11 Fix typos. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-22T17:49:37.431945Z K 7 svn:log V 145 MFC r217383: The (%esp & 0xf) == 0 should be true before the call instruction is executed, for the properly aligned stack. Approved by: re (bz) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-22T19:15:39.975364Z K 7 svn:log V 145 MFC r217383: The (%esp & 0xf) == 0 should be true before the call instruction is executed, for the properly aligned stack. Approved by: re (bz) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-22T19:25:49.219019Z K 7 svn:log V 39 Add my copyright. Discussed with: kan END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-22T20:00:24.737996Z K 7 svn:log V 15 MFC rev 217295 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-22T20:01:46.111842Z K 7 svn:log V 15 MFC rev 217591 END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-22T20:53:27.211623Z K 7 svn:log V 64 Option USB_HOST_ALIGN declared twice. Approved by: kib(mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-22T21:27:17.224370Z K 7 svn:log V 75 s/utime/modtime/g -- utime shadows utime(3). Submitted by: Garrett Cooper END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-01-22T21:33:18.506932Z K 7 svn:log V 216 Revert the ndis part of r212122, windrv_stub.c already adds a MODULE_VERSION and this breaks loading miniport drivers from loader.conf Reported by: Yuri Submitted by: Paul B Mahol MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-01-22T22:18:47.361062Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-22T22:31:55.548676Z K 7 svn:log V 87 - On primary worker reload, update hr_exec field. - Update comment. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-22T22:33:27.511772Z K 7 svn:log V 40 Use int16 for error. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-22T22:35:08.653937Z K 7 svn:log V 125 Use more consistent function name with the others (pjdlogv_prefix_set() instead of pjdlog_prefix_setv()). MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-22T22:38:18.829630Z K 7 svn:log V 86 Add nv_assert() which allows to assert that the given name exists. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-22T22:57:28.685052Z K 7 svn:log V 122 Properly document what the top-level `make tinderbox` does. Reviewed by: jmallett MFC After: 3 days X-MFC: build.7 only END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-22T23:10:58.742968Z K 7 svn:log V 188 In `make targets` print the make variable TARGETS as we expect it rather than the grammatically better sounding variant without the 'S'. This allows copy and paste and is less confusing. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-22T23:16:44.614577Z K 7 svn:log V 273 Make `make tinderbox` work with MAKEOBJDIRPREFIX set (or in possibly other combinations) by forcing FAILFILE into .CURDIR as we do for all other universe output files. [1] Similarly make FAILFILE start with "_." as well. Reviewed by: silence-on-src [1] MFC after: 6 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-22T23:26:05.574449Z K 7 svn:log V 160 Add an svn:ignore property for _.{TARGETS,tinderbox}.* in the toplevel directory to ignore those file patters in svn status, add and import. MFC after: 6 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-22T23:30:01.409103Z K 7 svn:log V 37 Add missing logs. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-22T23:37:42.520267Z K 7 svn:log V 61 Patch the athstats code/Makefile to cross-compile correctly. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-22T23:44:56.416212Z K 7 svn:log V 74 Add a new tool which takes a text hexdump of the current EEPROM contents. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-23T02:15:50.845506Z K 7 svn:log V 264 MFC r217649: Correct wrong definition of PM timer mask and adjust L1/PM timer value. While I'm here enable all clocks before initializing controller. This change should fix lockup issue seen on AR8152 v1.1 PCIe Fast Ethernet controller. PR: kern/154076 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-23T02:18:18.389206Z K 7 svn:log V 264 MFC r217649: Correct wrong definition of PM timer mask and adjust L1/PM timer value. While I'm here enable all clocks before initializing controller. This change should fix lockup issue seen on AR8152 v1.1 PCIe Fast Ethernet controller. PR: kern/154076 END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-01-23T07:27:35.646949Z K 7 svn:log V 63 Remove unnecessary checking of variable. MFC after: 3 months. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-23T09:50:39.953053Z K 7 svn:log V 59 Style(9) fix. Approved by: kib(mentor) MFC after: 1 month END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-01-23T11:08:28.033128Z K 7 svn:log V 453 libkvm code janitoring - make WARNS=6 clean for archs w/o strict alignment requirments - add const, ANSIfy, remove unused vars, cast types for comparison - thanks to differing definitions of VM_MIN_ADDRESS across our archs, we need to trick the compiler to not complain about signedness. We could either fix VM_MIN_ADDRESS to always be a simple integer or make the check conditional on $ARCH. Closes PRs: kern/42386, kern/83364 Reviewed by: bde END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-01-23T11:08:36.857624Z K 7 svn:log V 564 libkvm: fix process runtime calculation on crashdumps Fix a long standing bug, where the procs ticks where assumed to be in us. Instead, read cpu_tick_frequency from the kernel and use the same logic to convert runtime. This is still too optimistic in that it assumes cpu_tick_frequency is available and fixed. Since this function is only called on crashdumps, I think we can live with that. Testing has shown the values to be correct for different kern.hz inside Virtualbox. Bump WARNS. Alignment issues on some archs mean this is still at 3. Reviewed by: bde END K 10 svn:author V 8 keramida K 8 svn:date V 27 2011-01-23T11:08:39.642513Z K 7 svn:log V 219 Touch up the sample memory usage numbers a bit, to avoid wrapping on terminal boundary. While here add definition for 'G' and fix the indentation of 'K' units. Submitted by: plunket PR: docs/153614 MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-23T12:44:17.167231Z K 7 svn:log V 29 Fix typo. MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-23T13:00:25.081240Z K 7 svn:log V 823 An sbuf configured with SBUF_AUTOEXTEND will call malloc with M_WAITOK when a write to the buffer causes it to overflow. We therefore can't hold the CC list rwlock over a call to sbuf_printf() for an sbuf configured with SBUF_AUTOEXTEND. Switch to a fixed length sbuf which should be of sufficient size except in the very unlikely event that the sysctl is being processed as one or more new algorithms are loaded. If that happens, we accept the race and may fail the sysctl gracefully if there is insufficient room to print the names of all the algorithms. This should address a WITNESS warning and the potential panic that would occur if the sbuf call to malloc did sleep whilst holding the CC list rwlock. Sponsored by: FreeBSD Foundation Reported by: Nick Hibma Reviewed by: bz MFC after: 3 weeks X-MFC with: r215166 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-01-23T14:08:59.931294Z K 7 svn:log V 59 Use string literal format strings to quiet clang warnings. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-23T14:22:26.805454Z K 7 svn:log V 640 init: Only run /etc/rc.shutdown if /etc/rc was run. It does not make sense to shut down daemons that were not started. In particular, this fixes loss of mixer settings when shutting down using shutdown(8), init(8) or ctrl+alt+del from single-user mode. If /etc/rc reboots, /etc/rc.shutdown is not run. Also fix segfaults and other erratic behaviour if init receives SIGHUP or SIGTSTP while in single-user mode. This commit does not attempt to fix any badness with signal handlers (assumption that pointers can be read and written atomically, EINTR race condition). I believe it does not make this badness any worse. Silence on: -arch@ END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-23T14:30:35.329446Z K 7 svn:log V 158 Update the AR9280v2 inivals to match what is in Linux ath9k. This repairs the behaviour of my AR9280 - both radio chains now seem to correctly be receiving. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-23T14:49:50.887243Z K 7 svn:log V 384 Enable the 11n PHY by default whether or not 11n is configured. The linux ath9k driver and (from what I've been told) the atheros reference driver does this; it then leaves discarding 11n frames to the 802.11 layer. Whilst I'm here, merge in a fix from ath9k which maintains a turbo register setting when enabling the 11n register; and remove an un-needed (duplicate) flag setting. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-23T14:54:45.922655Z K 7 svn:log V 136 init(8): Document that login(1) is now responsible for recording logouts. init(8) only uses utmpx for recording reboots and shutdowns. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-23T16:28:44.177131Z K 7 svn:log V 86 For `make tinderbox` there is no need to print the extra commands. MFC after: 5 days END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-23T17:13:29.810603Z K 7 svn:log V 338 This script parses output of userland tools. In the case of a faulted zpool the output causes the script to bail out with syntax errors. Since a scrub of a faulted zpool is pointless, just skip over any pools marked as such. PR: conf/150228 Submitted by: jpaetzel Approved by: kib (mentor) MFC after: 3 days MFC note: only for RELENG_8 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-23T17:20:11.661215Z K 7 svn:log V 264 Disable ATAPI DMA unconditionally on Apple Kauai ATA controllers, like it is on the MacIO ones. It appears to be unreliable on all DBDMA-based controllers for unknown reasons, which should be figured out eventually. Tested by: Torfinn Ingolfsen MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-23T18:23:19.722832Z K 7 svn:log V 146 Make network installations work. Still no mirror selection. Next up (after that) will be wireless configuration, to be shared with pc-sysinstall. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-23T18:41:16.768643Z K 7 svn:log V 65 Avoid wraparound in progress bars on systems with 32-bit size_t. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-23T18:43:16.956916Z K 7 svn:log V 18 Unbreak on amd64. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-01-23T19:36:28.674744Z K 7 svn:log V 115 Add stream scheduling support. This work is based on a patch received from Robin Seggelmann. MFC after: 3 months. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-23T22:26:03.521624Z K 7 svn:log V 41 Default to the default partition scheme. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-23T22:27:51.774583Z K 7 svn:log V 334 distextract was not setting permissions appropriately, for reasons I do not understand. Fix that, and simplify the code a little. libarchive does not like overlaid directories with some kinds of set flags, so roll the distribution files into the 'world' archive for now. This is slightly bogus, but unavoidable. Reported by: rwatson END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-23T22:39:31.349332Z K 7 svn:log V 42 Put bsdinstall into the installed system. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-23T23:06:15.018785Z K 7 svn:log V 298 Exclude swap-backed md devices from lists of available install targets. The install CD creates some of these for /var and /tmp, and they are fundamentally infeasible install targets. vnode-backed md devices remain, since they can be used as disk images for virtual machines. Requested by: rwatson END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-23T23:17:37.328836Z K 7 svn:log V 86 Missed a commit. distribution.tgz is no longer generated, so don't try to install it. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-24T00:01:06.338248Z K 7 svn:log V 354 Apply TX interrupt moderation to all RTL810xE PCIe Fast Ethernet controllers. Experimentation with RTL8102E, RTL8103E and RTL8105E showed dramatic decrement of TX completion interrupts under high TX load(e.g. from 147k interrupts/second to 10k interrupts/second) With this change, TX interrupt moderation is applied to all controllers except RTL8139C+. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2011-01-24T04:32:59.983892Z K 7 svn:log V 84 Honor $PAGER instead of always calling more. Approved by: colin@ MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-24T06:03:58.739404Z K 7 svn:log V 522 - Fix flow control issues with nagle and recv buffer posting. - re-arm the tx cq according to the sockbuffer character count rather than any waiters. - Prevent sdp_append() from creating buffers with too many discontiguous mbufs. - Honor xmit_size_goal. - Add a task to handle shutdown so operations which are not safe to call from a timer may proceed. - Rework a significant amount of the sdp shutdown state machine to be more compliant with tcp. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-01-24T06:17:05.730630Z K 7 svn:log V 537 The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilities include sys/time.h instead of time.h. This include is incorrect as per the manpages for the APIs and the POSIX definitions. This commit replaces sys/time.h where necessary with time.h. The commit also includes some minor style(9) header fixup in newfs. This commit is part of a larger effort by Garrett Cooper started in //depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more POSIX compliant. Submitted by: Garrett Cooper yanegomi at gmail dot com END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-24T06:46:03.843760Z K 7 svn:log V 62 Add a simple tool to print the contents of a v4k EEPROM dump. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-01-24T07:16:20.111458Z K 7 svn:log V 148 o Cylinder numbers are 10 bits in the MBR; o Sector numbers are only 6 bits in the MBR; o bde'cize name of the local variable. Submitted by: bde END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-24T07:45:14.734381Z K 7 svn:log V 58 Undo a local option which mistakenly crept into a commit. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-24T07:50:29.449000Z K 7 svn:log V 114 Add build infrastructure for Khelp modules. Sponsored by: FreeBSD Foundation Reviewed by: bz MFC after: 3 months END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-24T09:24:20.483127Z K 7 svn:log V 255 ICH7 SATA controller in legacy mode can provide access to SATA registers via AHCI-like memory resource at BAR(5). Use it if BIOS was so kind to allocate memory for that BAR. This allows hot-plug support and connection speed reporting. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-01-24T10:54:09.958415Z K 7 svn:log V 132 Fix off-by-one whitespace error in netstat -Q workstream listing. Reported by: bz MFC after: 3 days Sponsored by: Juniper Networks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-01-24T10:58:36.484746Z K 7 svn:log V 347 While printing out the WSID and CPU ID only the first time it appears for each workstream, rather than on every protocol, is prettier, it makes machine-parsing of netstat -Q output a lot harder. Repeat the information and hope that the user forgives us slightly dense formatting. MFC after: 3 days Reported by: bz Sponsored by: Juniper Networks END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-01-24T11:06:40.589519Z K 7 svn:log V 173 libkvm: Unbreak build for powerpc64/powerpc This slipped through my testing due to the recent roto-tiling of the ARCH/TARGET parts that I need to catch up with. Mea culpa. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-01-24T13:51:59.159102Z K 7 svn:log V 149 Switch sysclt_ip() into an appropriate sysctl_handle_inaddr(), using convenience function sysctl_handle_string() underwear. Discussed with: rwatson END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-24T14:01:30.927840Z K 7 svn:log V 56 Explain what to do at the shell. Submitted by: rwatson END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2011-01-24T14:24:10.489884Z K 7 svn:log V 62 Added a blurb about thin provisioning, fixed some formatting. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-01-24T14:45:16.939794Z K 7 svn:log V 434 Perform the dumping ifp lookup differently: - The string name of the interface is stored in a global array - On dumping activity the lookup is performed and the ifp pointer is eventually found and used That makes the sysclt_nic() unuseful and it can be removed. Additively, use s/strcmp/strncmp in another place, besides new lookup point. That action makes the window for races narrower. Requested by and discussed with: rwatson END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-01-24T14:53:10.110479Z K 7 svn:log V 35 Simplify locking conditional code. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-24T14:53:53.219226Z K 7 svn:log V 151 Skip WORM media (e.g. CD-ROMs) in the partition editor list. There will be a subsequent change to automatically set up mount points for these devices. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-24T15:04:15.783719Z K 7 svn:log V 254 Don't open configuration file from worker process. Handle SIGHUP in the master process only and pass changes to the worker processes over control socket. This removes access to global namespace in preparation for capsicum sandboxing. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-24T15:05:57.982320Z K 7 svn:log V 60 Provide a new "Auto" button to invoke the auto-partitioner. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-01-24T15:11:08.142922Z K 7 svn:log V 96 Add missing section number for .Xr rc. Pointed out by: keramida Approved by: keramida (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-01-24T15:17:10.704123Z K 7 svn:log V 98 MFC 217148, 217786: Document rc.conf.d in rc.conf(5). PR: 140495 Approved by: keramida (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-01-24T15:18:18.562714Z K 7 svn:log V 98 MFC 217148, 217786: Document rc.conf.d in rc.conf(5). PR: 140495 Approved by: keramida (mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-01-24T16:39:20.501089Z K 7 svn:log V 95 Ignore packets with IP options rather than stripping them off. Requested and reviewed by: gnn END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-24T17:03:22.421198Z K 7 svn:log V 176 Remove an invalid register setup; this is likely a holdover from the AR5212 code. It doesn't exist in ath9k and I've been told it doesn't exist in the Atheros internal driver. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-01-24T17:04:21.232060Z K 7 svn:log V 13 MFC @ 217789 END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-01-24T17:08:26.128400Z K 7 svn:log V 26 Replace spaces with tabs. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-01-24T17:38:37.870808Z K 7 svn:log V 130 Add more sanity checks for USB_HOST_ALIGN input values. Re-factor existing checks for readability. Approved by: thompsa (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-24T17:53:58.469737Z K 7 svn:log V 126 Reinitialize driver when MTU is changed and driver is running. Reported by: Huang, Yusheng ( yusheng.huang <> bluecoat com ) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-24T18:03:45.917083Z K 7 svn:log V 36 MFC 217705 - remove bogus TX UNLOCK END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-24T18:05:49.010088Z K 7 svn:log V 54 MFC 217706 Add missing case for 82598DA to phy detect END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-24T18:07:57.507961Z K 7 svn:log V 59 MFC 217707 Don't do flow control if parameter is unchanged END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-24T18:11:37.725720Z K 7 svn:log V 109 MFC: r217587 Fix yet another fallout from r208833. VM86 BIOS call may cause page fault when FPU is in use. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-24T18:24:28.230631Z K 7 svn:log V 118 Warn the user if they choose to keep the existing partitioning, but the selected disk is unbootable on this platform. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-24T18:34:16.198758Z K 7 svn:log V 376 In uart_tty_outwakeup(), check CTS/RTS flow control settings and prevent sending data when CTS is de-asserted. In uart_tty_intr(), call uart_tty_outwakeup() when the CTS signal changed, knowing that uart_tty_outwakeup() will do the right thing for flow control. This avoids redundant conditionals. PR: kern/148644 Submitted by: John Wehle MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-24T20:07:14.589555Z K 7 svn:log V 20 Fix spelling error. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-24T20:59:23.009091Z K 7 svn:log V 49 Sync: merge r217652 through r217801 from ^/head. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-24T21:03:22.133692Z K 7 svn:log V 791 MFC r217548: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializes controller if ALLMULTI/PROMISC was changed. However, RX filter handling code assumed some bits of the RX filter is programmed by driver initialization. This caused ALLMULTI/PROMISC configuration is ignored under certain conditions. Fix that issue by reprogramming all bits of RX filter register. While I'm here follow recommended RX filter programming steps recommended by National DP8381[56] data sheet(RX filter should be is disabled before programming). Reported by: Paul Schenkeveld < freebsd () psconsult dot nl > Tested by: Paul Schenkeveld < freebsd () psconsult dot nl > Approved by: re (bz) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-24T21:04:32.676141Z K 7 svn:log V 791 MFC r217548: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializes controller if ALLMULTI/PROMISC was changed. However, RX filter handling code assumed some bits of the RX filter is programmed by driver initialization. This caused ALLMULTI/PROMISC configuration is ignored under certain conditions. Fix that issue by reprogramming all bits of RX filter register. While I'm here follow recommended RX filter programming steps recommended by National DP8381[56] data sheet(RX filter should be is disabled before programming). Reported by: Paul Schenkeveld < freebsd () psconsult dot nl > Tested by: Paul Schenkeveld < freebsd () psconsult dot nl > Approved by: re (bz) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-24T22:21:58.592962Z K 7 svn:log V 258 Fix a LOR by dropping the global ifnet locks while allocating a new ifnet table in if_grow(). The order of the SYSINIT's for ifnet state were swapped so that the various locks were initialized before being used. Reviewed by: pluknet, bz MFC after: 2 weeks END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-01-24T23:08:38.070931Z K 7 svn:log V 704 Import the ERTT (Enhanced Round Trip Time) Khelp module. ERTT uses the Khelp/Hhook KPIs to hook into the TCP stack and maintain a per-connection, low noise estimate of the instantaneous RTT. ERTT's implementation is robust even in the face of delayed acknowledgements and/or TSO being in use for a connection. A high quality, low noise RTT estimate is a requirement for applications such as delay-based congestion control, for which we will be importing some algorithm implementations shortly. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz and others along the way MFC after: 3 months END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-25T01:26:25.455944Z K 7 svn:log V 93 Make room on install CDs by jettisoning kernel symbols. This save 200 MB of space for amd64. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-01-25T04:35:07.284742Z K 7 svn:log V 118 Supply maximum value as an argument to the decimal() function instead of supplying number of bits. Submitted by: bde END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-25T05:35:09.605069Z K 7 svn:log V 491 Fix the Atheros V4K EEPROM definitions to match those in ath9k. It turns out that the V4K eeprom definitions (used by the AR9285 and its derivatives) is wrong. These values are at least causing issues on my AR2427. With this fix (and initvals in a subsequent commit), the AR2427 behaves a lot better. Note - there's still significant drift between the ath9k v4k eeprom init code (again, used by AR9285 and derivatives) and what's in this tree. That needs to be investigated and resolved. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-25T05:35:43.759731Z K 7 svn:log V 100 Fix this tool to use the updated (corrected) v4k eeprom definition introduced in a previous commit. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-25T05:36:29.310775Z K 7 svn:log V 53 Commit updated AR9285 (Kite) v2 initvals from ath9k. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-25T05:41:36.618198Z K 7 svn:log V 155 Rename this linux-ism __BIG_ENDIAN_BITFIELD macro to something suitable for FreeBSD. Warner has pointed out that FreeBSD's bit orders follow byte orders. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-25T05:47:50.454121Z K 7 svn:log V 201 Bring over a fix from ath9k - zero some of the TX descriptors for Kite/AR9285. Kite doesn't have per-chain control (it has one chain) or antenna control; so don't try to set those descriptor entries. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-25T07:37:12.415065Z K 7 svn:log V 276 * Re-format the v4k header to be consistent * Re-do the structure size/component math to make sure the struct matches the expected size * Just to be clear that we care about bitmask ordering, revert my previous change and instead define that macro if we're on big-endian. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-25T08:13:31.881617Z K 7 svn:log V 220 Back out r217734. [1] Properly document what `make targets` is supposed to list to avoid further confusion given the place the target sits. Should have happened with r217125. Requested by: imp [1] Reviewed by: rwatson END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T10:14:12.617101Z K 7 svn:log V 462 MFC r217561: For architectures not using direct map , and requiring real KVA page for sf buf allocation, use wakeup() instead of wakeup_one() to notify sf buffer waiters about free buffer. sf_buf_alloc() calls msleep(PCATCH) when SFB_CATCH flag was given, and for simultaneous wakeup and signal delivery, msleep() returns EINTR/ERESTART despite the thread was selected for wakeup_one(). As result, we loose a wakeup, and some other waiter will not be woken up. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T10:17:37.789432Z K 7 svn:log V 109 MFC r217563: Use malloc(9) instead of kmem_alloc(9) for temporal copy of the user-supplied descriptor array. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T10:20:36.862936Z K 7 svn:log V 218 MFC r217564: Make the length of the LDT a loader tunable, machdep.max_ldt_segment, and export it with read-only sysctl. Remove unused defines. MFC r217604: Use CTLFLAG_RDTUN for read-only sysctl that exports tunable. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T10:59:21.312058Z K 7 svn:log V 204 Allow debugger to specify that children of the traced process should be automatically traced. Extend the ptrace(PL_LWPINFO) to report that child just forked. Reviewed by: davidxu, jhb MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T11:02:12.599402Z K 7 svn:log V 89 Document PT_FLAG_FORKED, PT_FOLLOW_FORK, pl_tdname and pl_child_pid. MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T11:04:16.849455Z K 7 svn:log V 43 Document P_FOLLOWFORK. MFC after: 2 weeks END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-25T13:41:48.056898Z K 7 svn:log V 162 Fix logic error introduced in previous commit. Along the way make some efficiency improvements. Submitted by: jilles Approved by: kib (mentor) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T14:00:30.925769Z K 7 svn:log V 117 Bio shall not be accessed after g_io_deliver(9). Reported and tested by: pho Reviewed by: ae, phk MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T14:04:02.483535Z K 7 svn:log V 279 When vtruncbuf() iterates over the vnode buffer list, lock buffer object before checking the validity of the next buffer pointer. Otherwise, the buffer might be reclaimed after the check, causing iteration to run into wrong buffer. Reported and tested by: pho MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-25T14:45:56.985837Z K 7 svn:log V 106 binutils 2.17 does not align the stack object to a 16-byte boundary anymore. Make this happen explicitly. END K 10 svn:author V 3 sem K 8 svn:date V 27 2011-01-25T15:06:50.406082Z K 7 svn:log V 40 Remove DOS-style EOLs Approved by: kib END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-25T15:18:10.420617Z K 7 svn:log V 266 Change BIO_GETATTR("GEOM::kerneldump") API to make set_dumper() called by consumer (geom_dev) instead of provider (geom_disk). This allows any geom insert it's code into the dump call chain, implementing more sophisticated functionality then just disk partitioning. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-25T15:34:07.329002Z K 7 svn:log V 175 Implement kernel dumping to geom_raid volumes. Dumping mechanism supports any RAID levels without any additional magic. Dumping to RAID0 and RAID1 verified to work right now. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-01-25T17:15:23.047519Z K 7 svn:log V 132 When matching an incoming ARP against a bridge, ensure both interfaces belong to the same bridge. Submitted by: Alexander Zagrebin END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-01-25T17:39:52.796575Z K 7 svn:log V 59 Document sbuf_new_for_sysctl(9). Pointed out by: lstewart END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-01-25T18:32:21.868470Z K 7 svn:log V 198 Use test(1) operators and test for the catpage not being older than the manpage. Identical mtimes (as generated by buildworld for these files) precluded catpages from working. Approved by: gordon END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-25T19:05:46.724603Z K 7 svn:log V 385 Disable TSO for all Realtek controllers. Experimentation showed RTL8111C generated corrupted frames where TCP option header was broken. All other sample controllers I have did not show such problem so it could be RTL8111C specific issue. Because there are too many variants it's hard to tell how many controllers have such issue. Just disable TSO by default but have user override it. END K 10 svn:author V 3 kan K 8 svn:date V 27 2011-01-25T19:17:50.272063Z K 7 svn:log V 61 Do not allocate buffer to hold data for zero-sized sections. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-01-25T19:27:05.153245Z K 7 svn:log V 150 MFC r217727 Revert the ndis part of r212122, windrv_stub.c already adds a MODULE_VERSION and this breaks loading miniport drivers from loader.conf END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T19:44:42.104473Z K 7 svn:log V 330 MFC 214144: - Make 'vm_refcnt' volatile so that compilers won't be tempted to treat its value as a loop invariant. Currently this is a no-op because 'atomic_cmpset_int()' clobbers all memory on current architectures. - Use atomic_fetchadd_int() instead of an atomic_cmpset_int() loop to drop a reference in vmspace_free(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T19:44:55.916097Z K 7 svn:log V 330 MFC 214144: - Make 'vm_refcnt' volatile so that compilers won't be tempted to treat its value as a loop invariant. Currently this is a no-op because 'atomic_cmpset_int()' clobbers all memory on current architectures. - Use atomic_fetchadd_int() instead of an atomic_cmpset_int() loop to drop a reference in vmspace_free(). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-01-25T20:29:57.024225Z K 7 svn:log V 173 MFC r217727 Revert the ndis part of r212122, windrv_stub.c already adds a MODULE_VERSION and this breaks loading miniport drivers from loader.conf Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T20:33:12.010025Z K 7 svn:log V 824 MFC 211514,214158: - There isn't really a need to hold the ktrace mutex just to read the value of p_traceflag that is stored in the kinfo_proc structure. - When disabling ktracing on a process, free any pending requests that may be left. This fixes a memory leak that can occur when tracing is disabled on a process via disabling tracing of a specific file (or if an I/O error occurs with the tracefile) if the process's next system call is exit(). The trace disabling code clears p_traceflag, so exit1() doesn't do any KTRACE-related cleanup leading to the leak. I chose to make the free'ing of pending records synchronous rather than patching exit1(). - Move KTRACE-specific logic out of kern_(exec|exit|fork).c and into kern_ktrace.c instead. Make ktrace_mtx private to kern_ktrace.c as a result. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T20:33:47.239418Z K 7 svn:log V 824 MFC 211514,214158: - There isn't really a need to hold the ktrace mutex just to read the value of p_traceflag that is stored in the kinfo_proc structure. - When disabling ktracing on a process, free any pending requests that may be left. This fixes a memory leak that can occur when tracing is disabled on a process via disabling tracing of a specific file (or if an I/O error occurs with the tracefile) if the process's next system call is exit(). The trace disabling code clears p_traceflag, so exit1() doesn't do any KTRACE-related cleanup leading to the leak. I chose to make the free'ing of pending records synchronous rather than patching exit1(). - Move KTRACE-specific logic out of kern_(exec|exit|fork).c and into kern_ktrace.c instead. Make ktrace_mtx private to kern_ktrace.c as a result. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T20:44:11.493369Z K 7 svn:log V 229 MFC 204329,210723,210933,214778,215526: Sync mfiutil(8) with HEAD: - Handle malloc() failures more gracefully by error'ing out rather than segfaulting. - Fixed dependencies (make checkdpadd). - Fix typos and spelling mistakes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T20:44:24.967830Z K 7 svn:log V 229 MFC 204329,210723,210933,214778,215526: Sync mfiutil(8) with HEAD: - Handle malloc() failures more gracefully by error'ing out rather than segfaulting. - Fixed dependencies (make checkdpadd). - Fix typos and spelling mistakes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-25T20:46:54.165597Z K 7 svn:log V 61 Allocate dumping BIO on stack, same as done in other places. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T20:48:48.781656Z K 7 svn:log V 223 MFC 215540: Set various POSIX capability sysctls to the version of the API that is supported rather than 1. They are supposed to return a suitable value for sysconf(3). While here, make the fsync sysctl match . END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T20:49:24.997717Z K 7 svn:log V 223 MFC 215540: Set various POSIX capability sysctls to the version of the API that is supported rather than 1. They are supposed to return a suitable value for sysconf(3). While here, make the fsync sysctl match . END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T20:54:15.817248Z K 7 svn:log V 85 MFC 215541: Set the POSIX semaphore capability when the semaphore module is enabled. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T20:54:29.806862Z K 7 svn:log V 85 MFC 215541: Set the POSIX semaphore capability when the semaphore module is enabled. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-25T20:56:18.323940Z K 7 svn:log V 288 sh: Clean up some old comments: * There is no plan for an alternative to the command "set". * Attempting to unset a readonly variable has not raised an error for quite a while, so the order of unsetting a variable and a function with the same name does not matter. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T20:59:47.445828Z K 7 svn:log V 84 MFC 214675: Don't leak the LLE lock if the arptimer callout is pending or inactive. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T21:04:55.577700Z K 7 svn:log V 165 Fix get_program_var_addr() when type of the resolved symbol is functional. Use make_function_pointer then, otherwise ia64 is broken. Reported and tested by: marcel END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T21:06:49.007937Z K 7 svn:log V 239 Emit .note.GNU-stack for the syscall stubs generated by libc only on architectures that support this .note. In particular, do not unneccessary emit the notes on ia64 and sparc64, which ABI require non-executable stacks. Tested by: marcel END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T21:12:31.754869Z K 7 svn:log V 168 When loading dso without PT_GNU_STACK phdr, only call __pthread_map_stacks_exec() on architectures that allow executable stacks. Reported and tested by: marcel (ia64) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-25T21:42:05.475084Z K 7 svn:log V 13 Free dchagin END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-25T21:45:00.366109Z K 7 svn:log V 255 MFC r217484: mknod(2): The required include is , not . This is what SUSv4 requires, and also the only thing that works if strict standards compliance is requested or mknodat() is needed. PR: standards/123688 Submitted by: gcooper END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-25T21:51:32.623903Z K 7 svn:log V 232 MFC r217484: mknod(2): The required include is , not . This is what SUSv4 requires, and also the only thing that works if strict standards compliance is requested. PR: standards/123688 Submitted by: gcooper END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T22:08:22.041836Z K 7 svn:log V 143 MFC 214835: Adjust the order of operations in spinlock_enter() and spinlock_exit() to work properly with single-stepping in a kernel debugger. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T22:08:43.569162Z K 7 svn:log V 143 MFC 214835: Adjust the order of operations in spinlock_enter() and spinlock_exit() to work properly with single-stepping in a kernel debugger. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-25T22:18:00.811941Z K 7 svn:log V 306 Prefer MSI-X to MSI on controllers that support MSI-X. All recent PCIe controllers(RTL8102E or later and RTL8168/8111C or later) supports either 2 or 4 MSI-X messages. Unfortunately vendor did not publicly release RSS related information yet. However switching to MSI-X is one-step forward to support RSS. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-25T22:21:05.453414Z K 7 svn:log V 38 Remove dead code. MFC after: 2 weeks END