ƒ´-231000 176 169 261 300 319 241 372 171 136 159 219 150 243 235 140 156 287 538 1308 1308 213 271 251 266 220 138 329 139 1325 127 283 164 189 164 164 165 164 141 164 179 179 131 268 115 249 311 379 225 432 432 266 144 145 210 255 231 194 112 640 225 236 253 201 123 328 194 261 137 180 329 147 252 547 329 233 253 1053 176 380 136 898 281 158 181 181 158 493 493 763 195 214 214 293 183 1136 178 135 166 166 301 965 223 334 430 1136 134 134 229 298 443 443 466 271 446 446 154 184 165 163 255 235 222 235 434 262 112 112 99 181 157 143 169 834 833 890 179 153 190 179 359 359 252 871 871 364 303 185 185 98 98 269 236 236 147 213 213 147 297 369 369 269 2084 399 434 208 233 164 164 309 431 167 328 409 258 155 102 194 K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-04T23:27:16.677485Z K 7 svn:log V 69 IFC @ 230995. Adapt RTAS PCI driver to new unified OF PCI interface. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-04T23:29:07.817077Z K 7 svn:log V 165 sh: Fix swapped INTON/INTOFF. A possible consequence of this bug was a memory leak if SIGINT arrived during a 'set' command (listing variables). MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-05T00:31:07.296825Z K 7 svn:log V 199 Choose to use a OF_xref_phandle() differently: for interrupt parents, use whatever is in the firmware tree for cross-referencing, and store the PIC id as the xref phandle (as we already do in xics). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-05T00:51:59.713607Z K 7 svn:log V 218 Add support for bus_adjust_resource() on all PowerPC/AIM PCI bridges. With this change, NEW_PCIB appears to work without incident at least on a G5 iMac. More testing will be required before it is turned on in GENERIC. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-05T01:57:31.110100Z K 7 svn:log V 143 Add some fields to the nfsclds structure to store the NFSv4.1 write verifier for the DS. Also, initialize and destroy the mutex that is added. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-05T03:23:26.546681Z K 7 svn:log V 274 Add an argument to nfscl_getstateid() to indicate it if it is being called to get a stateid for an I/O operation to be done on a DS. This is necessary, since the rules for what kind of stateid that can be used is different for a DS than against an MDS/non-MDS NFSv4 server. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-02-05T04:49:31.771220Z K 7 svn:log V 75 Add 32-bit compat code for AIO kevent flags introduced in revision 230857. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-05T07:11:02.712785Z K 7 svn:log V 41 Implement __aeabi_lcmp and __aeabi_ulcmp END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-05T07:19:00.803292Z K 7 svn:log V 64 Bring in the __aeabi_*divmod functions from compiler-rt r149242 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-05T08:31:15.061789Z K 7 svn:log V 122 In ifa_init() initialize if_data.ifi_datalen. This would be required after upcoming changes from bz@. Discussed with: bz END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-05T08:53:05.356506Z K 7 svn:log V 54 Better comment for ifa_init(), ifa_ref(), ifa_free(). END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-05T09:17:49.337328Z K 7 svn:log V 151 Whitespace fixes. - Remove redundant empty lines. - Replace ^L by \014. This allows you to safely cat/grep/etc this file without causing confusion. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-05T10:59:50.279538Z K 7 svn:log V 143 Analogous to r230407 a separate path buffer in vfs_mount.c is required for r230129. Fixes a out of bounds write to fspath. MFC after: 10 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-05T12:52:28.125881Z K 7 svn:log V 44 Fix typo in r231010. Submitted by: linimon END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2012-02-05T13:29:01.509093Z K 7 svn:log V 59 Add exca to powerpc modules build as a dependency for cbb. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-05T15:21:08.206888Z K 7 svn:log V 190 Fix the regression introduced in r226859: if the local component is out of date BIO_READ requests got lost instead of being sent to the remote component. Reviewed by: pjd MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-05T15:23:32.484230Z K 7 svn:log V 441 If a local write request is from the synchronization thread, when it is synchronizing data that is out of date on the local component, we should not send G_GATE_CMD_DONE acknowledge to the kernel. This fixes the issue, observed in async mode, when on synchronization from the remote component the worker terminated with "G_GATE_CMD_DONE failed" error. Reported by: Artem Kajalainen Reviewed by: pjd MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-05T15:51:19.340354Z K 7 svn:log V 1210 MFC r229699, r229744, r229778, r229944, r229945, r229946, r230092, r230395, r230396, r230436, r230457, r230515, r230976: r229744 (pjd): fork(2) returns -1 on failure, not some random negative number. r229699 (pjd): Constify argument. r229778 (uqs): Spelling fixes for sbin/ r229944 (pjd): Don't touch pidfiles when running in foreground. Before that change we would create an empty pidfile on start and check if it changed on SIGHUP. r229945 (pjd): For functions that return -1 on failure check exactly for -1 and not for any negative number. r229946 (pjd): - Fix a bug where pidfile was removed in SIGHUP when it hasn't changed in configuration file. - Log the fact that pidfile has changed. r230092 (pjd): Style cleanups. r230395 (pjd): Remove unused token 'port'. r230396 (pjd): Remove another unused token. r230436 (pjd): Fix minor memory leak. r230457 (pjd): Free memory that won't be used in child. r230515 (pjd): - Fix documentation to note that /etc/hast.conf is the default configuration file for hastd(8) and hastctl(8) and not hast.conf. - In copyright statement correct that this file is documentation, not software. - Bump date. r230976 (pjd): Fix typo in comment. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-05T15:54:32.642814Z K 7 svn:log V 1210 MFC r229699, r229744, r229778, r229944, r229945, r229946, r230092, r230395, r230396, r230436, r230457, r230515, r230976: r229699 (pjd): Constify argument. r229744 (pjd): fork(2) returns -1 on failure, not some random negative number. r229778 (uqs): Spelling fixes for sbin/ r229944 (pjd): Don't touch pidfiles when running in foreground. Before that change we would create an empty pidfile on start and check if it changed on SIGHUP. r229945 (pjd): For functions that return -1 on failure check exactly for -1 and not for any negative number. r229946 (pjd): - Fix a bug where pidfile was removed in SIGHUP when it hasn't changed in configuration file. - Log the fact that pidfile has changed. r230092 (pjd): Style cleanups. r230395 (pjd): Remove unused token 'port'. r230396 (pjd): Remove another unused token. r230436 (pjd): Fix minor memory leak. r230457 (pjd): Free memory that won't be used in child. r230515 (pjd): - Fix documentation to note that /etc/hast.conf is the default configuration file for hastd(8) and hastctl(8) and not hast.conf. - In copyright statement correct that this file is documentation, not software. - Bump date. r230976 (pjd): Fix typo in comment. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-02-05T15:59:18.564549Z K 7 svn:log V 115 Revert the _NOPROF entries on cpu_throw, cpu_switch and savectx. They can be profiled too now. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-05T16:08:45.655691Z K 7 svn:log V 170 MFC r230309: Warn if trying to install over an existing partition, which usually fails anyway due to libarchive not being able to overwrite schg flags. PR: bin/164278 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-05T16:14:23.169254Z K 7 svn:log V 150 MFC r230398: Prevent an error resulting from signed/unsigned comparison on systems that do not comply with the OF spec. Submitted by: Anders Gavare END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-05T16:17:14.836143Z K 7 svn:log V 165 Pick a constant high IRQ value for the PS3 IPI, which lets PS3 devices be usefully loaded and unloaded as modules. Submitted by: geoffrey dot levand at mail dot ru END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-05T16:23:55.699828Z K 7 svn:log V 119 MFC r230247: Revert r212360 now that PowerPC can handle large sparse arguments to pmap_remove() (changed in r228412). END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-05T16:41:06.383617Z K 7 svn:log V 46 Remove extra semicolon. Submitted by: emaste END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-05T16:53:02.614709Z K 7 svn:log V 232 Add new socket options: TCP_KEEPINIT, TCP_KEEPIDLE, TCP_KEEPINTVL and TCP_KEEPCNT, that allow to control initial timeout, idle time, idle re-send interval and idle send count on a per-socket basis. Reviewed by: andre, bz, lstewart END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-05T16:54:26.464493Z K 7 svn:log V 39 Make sure to remap adjusted resources. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-02-05T17:37:26.795067Z K 7 svn:log V 1227 Remove the panic from vm_radix_insert() and propagate the error to the callers of vm_page_insert(). The default action for every caller is to unwind-back the operation besides vm_page_rename() where this has proven to be impossible to do. For that case, it just spins until the page is not available to be allocated. However, due to vm_page_rename() to be mostly rare (and having never hit this panic in the past) it is tought to be a very seldom thing and not a possible performance factor. The patch has been tested with an atomic counter returning NULL from the zone allocator every 1/100000 allocations. Per-printf, I've verified that a typical buildkernel could trigger this 30 times. The patch survived to 2 hours of repeated buildkernel/world. Several technical notes: - The vm_page_insert() is moved, in several callers, closer to failure points. This could be committed separately before vmcontention hits the tree just to verify -CURRENT is happy with it. - vm_page_rename() does not need to have the page lock in the callers as it hide that as an implementation detail. Do the locking internally. - now vm_page_insert() returns an int, with 0 meaning everything was ok, thus KPI is broken by this patch. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T18:16:38.669256Z K 7 svn:log V 32 MFC r228102: Remove debug code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T18:21:03.984964Z K 7 svn:log V 187 MFC r228391: Fix a bug reported by Irene Ruengeler which resulted in not sending out HEARTBEATs when requested by the user. The HEARTBEATs were only queued, but not actually sent out. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-02-05T18:39:11.243736Z K 7 svn:log V 69 MFC r230313, r230316, r230323, r230588 Support new raid controllers END K 10 svn:author V 3 flo K 8 svn:date V 27 2012-02-05T18:55:20.007708Z K 7 svn:log V 97 fix KTR consistency I'm committing this on behalf of Attilio as he cannot access svn right now. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-02-05T19:10:48.622791Z K 7 svn:log V 69 MFC r230313, r230316, r230323, r230588 Support new raid controllers END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-02-05T19:22:20.100531Z K 7 svn:log V 69 MFC r230313, r230316, r230323, r230588 Support new raid controllers END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T19:29:14.901169Z K 7 svn:log V 70 MFC 228531: Fix a bug where sctp_sendmdg() uses uninitialized memory. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-02-05T19:30:18.624474Z K 7 svn:log V 69 MFC r230325 Wrap changes from svn r212126 inside LOADER_NFS_SUPPORT END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T19:33:53.572599Z K 7 svn:log V 46 MFC r228630: Address warnings found by clang. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-02-05T19:38:22.304587Z K 7 svn:log V 69 MFC r230325 Wrap changes from svn r212126 inside LOADER_NFS_SUPPORT END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T19:49:34.362980Z K 7 svn:log V 84 MFC 228653: Fix unused parameter warnings. While there, fix some whitespace issues. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T19:52:55.406232Z K 7 svn:log V 84 MFC 228907: Address issues found by clang. While there, fix also some style issues. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T19:56:07.373887Z K 7 svn:log V 36 MFC r229729: Use NULL instead of 0. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T19:59:01.254211Z K 7 svn:log V 172 MFC r229774: Improve the handling of received INITs. Send an ABORT when not accepting the connection. Also fix a crash, which could happen when the user closed the socket. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-02-05T20:00:39.357800Z K 7 svn:log V 20 Fix clang warnings. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T20:04:21.224296Z K 7 svn:log V 153 MFC 229775: Retire the SCTP sysctl "strict_init". We always perform the validation and there is no reason to make is configuarable. Discussed with rrs@. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-02-05T20:04:43.308403Z K 7 svn:log V 213 Replace the assembler macro WEAK_ALIAS with a new macro WEAK_REFERENCE which has the same API as __weak_reference(). Give 'x' in SYS.h a more meaningful name. Tested on 32- and 64-bit PowerMac. Reviewed by: bde END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T20:06:43.214727Z K 7 svn:log V 283 MFC r229805: Add an SCTP sysctl "blackhole", similar to the one for TCP. If set to 1, no ABORT is sent back in response to an incoming INIT. If set to 2, no ABORT is sent back in response to an out of the blue packet. If set to 0 (the default), ABORTs are sent. Discussed with rrs@. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-05T20:07:45.264132Z K 7 svn:log V 124 Inherit from PCI bridge driver instead of manually specifying all of its methods. Obtained from: sparc64 MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-02-05T20:09:50.322131Z K 7 svn:log V 339 MFC: r230897 Use new OSS-based BSD-licensed header for cs sound driver. The cs driver requires a table with firmware values. An alternative firmware is available in a similar Open Sound System driver. This is actually a partial revert of Revision 77504. The csa driver is now free of the GPL. Tested by: joel Approved by: jhb (mentor) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-02-05T20:18:53.916933Z K 7 svn:log V 339 MFC: r230897 Use new OSS-based BSD-licensed header for cs sound driver. The cs driver requires a table with firmware values. An alternative firmware is available in a similar Open Sound System driver. This is actually a partial revert of Revision 77504. The csa driver is now free of the GPL. Tested by: joel Approved by: jhb (mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T20:45:32.162118Z K 7 svn:log V 170 MFC r230104: Fix two bugs, which result in a panic when calling getsockopt() using SCTP_RECVINFO or SCTP_NXTINFO. Reported by Clement Lecigne and forwarded to us by zi@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T20:47:26.981609Z K 7 svn:log V 49 MFC r230136: Two cleanups. No functional change. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T20:49:03.518418Z K 7 svn:log V 50 MFC r230138: Small cleanup, no functional change. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T20:50:56.054027Z K 7 svn:log V 114 MFC r230379: Fix a problem when using the CBAPI. While there, remove an old comment which does not apply anymore. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-05T20:53:06.910834Z K 7 svn:log V 159 MFC r230555: Don't print a warning when using netstat to print SCTP statistics when there is not SCTP in the kernel. This problem was reported by Sean Mahood. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-05T20:55:38.033132Z K 7 svn:log V 138 In usr.bin/rpcgen/rpc_main.c, properly check the return value of strlcpy(), in addition to checking that of strlcat(). MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-05T23:02:13.942203Z K 7 svn:log V 101 Regenerate src.conf.5, after r230972 added the WITHOUT_SOURCELESS build options. MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-02-05T23:02:41.715675Z K 7 svn:log V 17 Catch up to head END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-05T23:56:22.548100Z K 7 svn:log V 547 Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default, that builds the following additional llvm/clang tools: - bugpoint - llc - lli - llvm-ar - llvm-as - llvm-bcanalyzer - llvm-diff - llvm-dis - llvm-extract - llvm-ld - llvm-link - llvm-mc - llvm-nm - llvm-objdump - llvm-prof - llvm-ranlib - llvm-rtdyld - llvm-stub - macho-dump - opt These tools are mainly useful for people that want to manipulate llvm bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker with llvm and clang themselves. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-06T00:26:29.770744Z K 7 svn:log V 129 Update the mesh reason codes to match the latest 802.11s specification. Submitted by: Reviewed by: rpaulo END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-06T04:23:37.789434Z K 7 svn:log V 140 The pcs attribute will not work with the system GCC as it was introduced in GCC 4.5.0. Don't attempt to use it on previous versions of GCC. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-06T06:03:16.755751Z K 7 svn:log V 158 - Use uint8_t for the variable x and spell the size of the variable as sizeof(x) - Capitalized comment - Parentheses around return value Requested by: bde END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-06T07:16:13.405638Z K 7 svn:log V 105 Fix the spelling of f2lz. __aeabi_d2lz was implemented twice, one of them should have been __aeabi_f2lz. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-06T07:18:59.248063Z K 7 svn:log V 28 Implement __aeabi_{d,f}cmp* END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-06T08:28:44.565974Z K 7 svn:log V 232 Get libgcc_s building on ARM EABI: * Don't build the C version of the floating point functions as there are ARM specific versions. * Only include the required functions in LIB1ASMFUNCS. * Stop compiling bpabi.c as it is unneeded. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-06T08:40:34.964743Z K 7 svn:log V 99 Use the compiler-rt softfloat code where possible as it includes the required __aeabi_* functions. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-06T08:46:00.576093Z K 7 svn:log V 165 * Move the old symbols moved to compiler-rt out of the ARM Symbol.map to an OABI map file. * Stop compiling divsi3.S as it provides symbols we have in compiler-rt END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-06T08:50:41.950540Z K 7 svn:log V 42 Add the ARM EABI changes required by libc END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-02-06T09:05:12.273861Z K 7 svn:log V 85 ld-rtld.so calls __aeabi_uidivmod on ARM, provide it by linking against compiler-rt. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-06T10:14:07.117087Z K 7 svn:log V 236 MFC r230785: A debugger which requested PT_FOLLOW_FORK should get the notification about new child not only when doing PT_TO_SCX, but also for PT_CONTINUE. If TDB_FORK flag is set, always issue a stop, the same as is done for TDB_EXEC. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-06T10:19:18.633977Z K 7 svn:log V 52 MFC r227655: Cleanup comparison of interface names. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-06T10:22:50.370230Z K 7 svn:log V 156 MFC r227755: Add support for the SCTP_REMOTE_UDP_ENCAPS_PORT socket option. Retire the the now unused sctp_udp_tunneling_for_client_enable sysctl variable. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-06T10:23:11.506288Z K 7 svn:log V 455 Add fixwhite(1). This small utility can be used to `sanitize' the whitespace in source code. It does the following things: Global: - Remove empty lines at the beginning and the end of a file. - Merge successive empty lines into a single empty line. Per-line: - Remove trailing whitespace. - Merge spaces preceeding tabs into the tabs. It operated on stdin/stdout. This means that if you use vi(1), you can just run :%!fixwhite to reorganize the file. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-06T10:35:21.810664Z K 7 svn:log V 236 MFC r230785: A debugger which requested PT_FOLLOW_FORK should get the notification about new child not only when doing PT_TO_SCX, but also for PT_CONTINUE. If TDB_FORK flag is set, always issue a stop, the same as is done for TDB_EXEC. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-06T10:38:20.405506Z K 7 svn:log V 137 MFC r227931: Move up the address to the top of the sctp_udencaps structure like in all other structures. This avoids alignment problems. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-06T10:47:12.822132Z K 7 svn:log V 157 Fix a typo which was already fixed by eadler in r227489. We missed to integrate this fix in our code base, so it was removed in r227755. MFC after: 3 days. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-06T11:04:36.053323Z K 7 svn:log V 960 Current implementations of sync(2) and syncer vnode fsync() VOP uses mnt_noasync counter to temporary remove MNTK_ASYNC mount option, which is needed to guarantee a synchronous completion of the initiated i/o before syscall or VOP return. Global removal of MNTK_ASYNC option is harmful because not only i/o started from corresponding thread becomes synchronous, but all i/o is synchronous on the filesystem which is initiated during sync(2) or syncer activity. Instead of removing MNTK_ASYNC from mnt_kern_flag, provide a local thread flag to disable async i/o for current thread only. Use the opportunity to move DOINGASYNC() macro into sys/vnode.h and consistently use it through places which tested for MNTK_ASYNC. Some testing demonstrated 60-70% improvements in run time for the metadata-intensive operations on async-mounted UFS volumes, but still with great deviation due to other reasons. Reviewed by: mckusick Tested by: scottl MFC after: 2 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-06T11:35:29.904212Z K 7 svn:log V 80 Make the 'tcpwin' option of ipfw(8) accept ranges and lists. Submitted by: sem END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-06T11:47:24.291280Z K 7 svn:log V 287 JNEWBLK dependency may legitimately appear on the buf dependency list. If softdep_sync_buf() discovers such dependency, it should do nothing, which is safe as it is only waiting on the parent buffer to be written, so it can be removed. Committed on behalf of: jeff MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-06T11:51:04.879054Z K 7 svn:log V 40 Bump .Dd for r231076. Submitted by: bz END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-06T12:03:21.012607Z K 7 svn:log V 805 Let rpcgen(1) support an environment variable RPCGEN_CPP to find the C preprocessor to run. Previously, it always ran /usr/bin/cpp, unless you used the -Y option, and even then you could not set the basename. It also attempted to run /usr/ccs/lib/cpp for SVR4 compatibility, but this is obsolete, and has been removed. Note that setting RPCGEN_CPP to a command with arguments is supported, though the command line parsing is simplistic. However, setting it to e.g. "gcc46 -E" or "clang -E" will lead to problems, because both gcc and clang in -E mode will consider files with unknown extensions (such as .x) as object files, and attempt to link them. This could be worked around by also adding "-x c", but it is much safer to set RPCGEN_CPP to e.g. "cpp46" or "clang-cpp" instead. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-06T12:08:41.384808Z K 7 svn:log V 188 Amend r231079 by properly shifting up the existing arguments in rpc_main.c's insarg() function. I had forgotten to put this in my patch queue, sorry. Pointy hat to: me MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-02-06T13:12:30.596798Z K 7 svn:log V 61 MFC: r230787 Manpages for the buf_ring and drbr interfaces. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-02-06T13:14:26.028129Z K 7 svn:log V 84 MFC r230211: sh: Test EXIT trap with multiple statements in it Reviewed by: jilles END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-02-06T13:17:57.132493Z K 7 svn:log V 84 MFC r230211: sh: Test EXIT trap with multiple statements in it Reviewed by: jilles END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-02-06T13:26:12.799824Z K 7 svn:log V 61 MFC: r230787 Manpages for the buf_ring and drbr interfaces. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-02-06T13:29:50.803701Z K 7 svn:log V 395 MFC r230212: sh: Fix execution of multiple statements in a trap when evalskip is set Before this fix, only the first statement of the trap was executed if evalskip was set. This is for example the case when: o "-e" is set for this shell o a trap is set on EXIT o a function returns 1 and causes the script to abort Reviewed by: jilles Sponsored by: Yakaz (http://www.yakaz.com) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-02-06T13:36:49.803260Z K 7 svn:log V 395 MFC r230212: sh: Fix execution of multiple statements in a trap when evalskip is set Before this fix, only the first statement of the trap was executed if evalskip was set. This is for example the case when: o "-e" is set for this shell o a trap is set on EXIT o a function returns 1 and causes the script to abort Reviewed by: jilles Sponsored by: Yakaz (http://www.yakaz.com) END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-02-06T14:11:24.048985Z K 7 svn:log V 666 Using the O_CLOEXEC flag on open(2) caused the pidfile lock to be lost when the child process execs daemon's target program thanks to flock(2) semantics. So, we apparently have to leak the open pidfile's file descriptor to keep the lock for the pidfile(3) functions to work properly. Test case demonstrated by trociny: ref8-amd64:/home/trociny% uname -r 8.2-STABLE ref8-amd64:/home/trociny% daemon -p /tmp/sleep.pid sleep 10 ref8-amd64:/home/trociny% daemon -p /tmp/sleep.pid sleep 10 daemon: process already running, pid: 19799 kopusha:~% uname -r 10.0-CURRENT kopusha:~% daemon -p /tmp/sleep.pid sleep 10 kopusha:~% daemon -p /tmp/sleep.pid sleep 10 kopusha:~% END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-02-06T17:00:28.887571Z K 7 svn:log V 102 Rename cache_lookup_times() to cache_lookup() and retire the old API and ABI stub for cache_lookup(). END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-02-06T17:28:55.408934Z K 7 svn:log V 122 MFC r229692: Check the return value of sbuf_finish() in pfs_readlink() and return ENAMETOOLONG if the buffer overflowed. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-02-06T17:31:13.215276Z K 7 svn:log V 122 MFC r229692: Check the return value of sbuf_finish() in pfs_readlink() and return ENAMETOOLONG if the buffer overflowed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-06T17:59:14.894353Z K 7 svn:log V 200 Add missing opt_quota.h include to activate #ifdef QUOTA blocks, apparently a step in unbreaking QUOTA support. Reported and tested by: Adam Strohl MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-06T18:11:00.274285Z K 7 svn:log V 88 Avoid panic from unlocking a not locked mutex (in some error cases). Reviewed by: ken@ END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-06T18:11:01.000931Z K 7 svn:log V 1043 MFC r228491, r228561, r228594. r228491: Do not clobber the ingress queue's congestion setting. r228561: Many updates to cxgbe(4) - Device configuration via plain text config file. Also able to operate when not attached to the chip as the master driver. - Generic "work request" queue that serves as the base for both ctrl and ofld tx queues. - Generic interrupt handler routine that can process any event on any kind of ingress queue (via a dispatch table). - A couple of new driver ioctls. cxgbetool can now install a firmware to the card ("loadfw" command) and can read the card's memory ("memdump" and "tcb" commands). - Lots of assorted information within dev.t4nex.X.misc.* This is primarily for debugging and won't show up in sysctl -a. - Code to manage the L2 tables on the chip. - Updates to cxgbe(4) man page to go with the tunables that have changed. - Updates to the shared code in common/ - Updates to the driver-firmware interface (now at fw 1.4.16.0) r228594: Catch up with new driver ioctls in cxgbe. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-02-06T18:13:34.850635Z K 7 svn:log V 84 Implement some missing parts of the Wu-Manber algorithm. It is almost complete now. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-06T18:15:46.132846Z K 7 svn:log V 44 Fix whitespace inconsistencies in TTY code. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-06T18:46:49.877273Z K 7 svn:log V 75 MFC r229714 Always release the inp lock before returning from tcp_detach. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-06T18:47:07.928125Z K 7 svn:log V 75 MFC r229714 Always release the inp lock before returning from tcp_detach. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-06T18:52:40.547521Z K 7 svn:log V 209 Add a `fix' for another whitespace bug. If the sentence starts with a multiple of eight spaces, the sentence should in almost all practical cases have started with tabs instead. Replace these spaces by tabs. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-06T20:23:21.289527Z K 7 svn:log V 869 Contribute some example code which demonstrates how to initialise the radar parameters for the AR5416 and later NICs. These parameters have been tested on the following NICs: * AR5416 * AR9160 * AR9220 * AR9280 And yes, these will return radar pulse parameters and (for AR9160 and later) radar FFT information as PHY errors. This is again not enough to do radar detection, it's just here to faciliate development and validation of radar detection algorithms. The (pulse, not FFT) decoding code for AR5212, AR5416 and later NICs exist in the HAL. This code is disabled for now as generating radar PHY errors can quickly cause issues in busy environment.s Some further debugging of the RX path is needed. Finally, these parameters are likely not useful for the AR5212 era NICs. The madwifi-dfs branch should have suitable example parameters for the 11a era NICs. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-06T21:23:12.489705Z K 7 svn:log V 131 MFC r222900 and r224768 r222900: cxgbetool: a tool for the cxgbe(4) driver. r224768: Move cxgbtool from usr.sbin to tools/tools. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-06T21:35:11.116728Z K 7 svn:log V 241 In usr.bin/rpcgen/rpc_main.c, use execvp(3) instead of execv(3), so rpcgen will search the current PATH for the preprocessor. This makes it possible to run a preprocessor built during the cross-tools stage of buildworld. MFC after: 1 week END K 10 svn:author V 8 truckman K 8 svn:date V 27 2012-02-06T21:50:11.922170Z K 7 svn:log V 332 Improve sparse file handling when printing the block list for an inode by not bailing out early when a hole is encountered in the direct block list. Print NULL block pointers in the direct block list. Simplify the code that prints the fragment count. Match the style of the existing code. Reviewed by: mckusick MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-07T01:26:29.627391Z K 7 svn:log V 1043 MFC r228491, r228561, r228594. r228491: Do not clobber the ingress queue's congestion setting. r228561: Many updates to cxgbe(4) - Device configuration via plain text config file. Also able to operate when not attached to the chip as the master driver. - Generic "work request" queue that serves as the base for both ctrl and ofld tx queues. - Generic interrupt handler routine that can process any event on any kind of ingress queue (via a dispatch table). - A couple of new driver ioctls. cxgbetool can now install a firmware to the card ("loadfw" command) and can read the card's memory ("memdump" and "tcb" commands). - Lots of assorted information within dev.t4nex.X.misc.* This is primarily for debugging and won't show up in sysctl -a. - Code to manage the L2 tables on the chip. - Updates to cxgbe(4) man page to go with the tunables that have changed. - Updates to the shared code in common/ - Updates to the driver-firmware interface (now at fw 1.4.16.0) r228594: Catch up with new driver ioctls in cxgbe. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-07T02:21:17.356637Z K 7 svn:log V 43 MFC r228825: Fix return value of function. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-07T02:21:46.911200Z K 7 svn:log V 43 MFC r228825: Fix return value of function. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-02-07T02:57:36.270681Z K 7 svn:log V 132 Plug a memory leak. When a cached thread is reused, don't clear sleep queue pointers, just reuse it. PR: 164828 MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-07T03:15:12.096568Z K 7 svn:log V 202 MFC r219708: Reemove uptime validity check that hasn't been necessary since r151417 switched to clock_gettime. vmstat will now not exit with an error if run on a system with 10 years of uptime. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-07T03:34:57.181459Z K 7 svn:log V 347 MFC r226697 and r226708: Avoid printing // for packages that install to / I have some packages that install to / (for whatever reason). Right now we print entries of the form //path/to/file when listing files (pkg_info -L, pkg_info -g etc.) This change avoids printing the redundant / . Staticify elide_root() for now to fix build. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-07T03:37:29.058826Z K 7 svn:log V 347 MFC r226697 and r226708: Avoid printing // for packages that install to / I have some packages that install to / (for whatever reason). Right now we print entries of the form //path/to/file when listing files (pkg_info -L, pkg_info -g etc.) This change avoids printing the redundant / . Staticify elide_root() for now to fix build. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-07T03:41:08.618009Z K 7 svn:log V 371 Add first code drop of FDT support for TI platforms: - Disable all files in omap nbuild that do not support FDT yet - Add generic GIC driver. At the time to ti/ directory. Final location TBD - Add timer.c with DELAY stub before we get working timer driver - Rename omap_cpuid files to ti_cpuid since support for am335x is on its way Submitted by: Damjan Marion END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-07T04:00:57.409018Z K 7 svn:log V 175 ports(7) currently makes no mention of LOCALBASE: fix that PR: docs/159551 Submitted by: Matthew Seaman Approved by: gjb MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-07T04:03:39.787206Z K 7 svn:log V 350 MFC r227893 and r228119: Avoid double free creating a new RAID with invalid command line arguments. In build_volume(), check if arrays is allocated before traversing its items. While parsing the arrays input, it's possible that we reach the error path before initializing the 'arrays' pointer, which in turn leads to a NULL deference. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-07T04:06:21.144206Z K 7 svn:log V 350 MFC r227893 and r228119: Avoid double free creating a new RAID with invalid command line arguments. In build_volume(), check if arrays is allocated before traversing its items. While parsing the arrays input, it's possible that we reach the error path before initializing the 'arrays' pointer, which in turn leads to a NULL deference. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-07T04:38:43.729137Z K 7 svn:log V 60 - Add FDT-enabled timer driver Submitted by: Damjan Marion END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-07T06:21:59.538556Z K 7 svn:log V 93 cxgbe: reduce diffs with other branches. Will help future MFCs from HEAD. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-07T07:32:39.537035Z K 7 svn:log V 74 Remove if_start from cxgb and cxgbe. Submitted by: jhb MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-07T07:56:00.754468Z K 7 svn:log V 72 MFC r222974: Add "context" subcommand to fetch and display SGE context. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-07T09:27:07.907610Z K 7 svn:log V 162 Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-07T09:37:30.431923Z K 7 svn:log V 142 MFC r230978: Be as explicit as possible when describing relation between the -m mask argument and slices. Adjust example for the same reason. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-07T09:39:46.178391Z K 7 svn:log V 130 Acquire the adapter lock before updating fields of the filter structure. Submitted by: gnn (different version) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-07T09:40:22.971773Z K 7 svn:log V 142 MFC r230978: Be as explicit as possible when describing relation between the -m mask argument and slices. Adjust example for the same reason. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-07T09:51:41.071250Z K 7 svn:log V 341 Sprinkle missed calls to asynchronous UFS_UPDATE() in attempt to guarantee that all UFS inode metadata changes results in the dirtiness of the inodeblock. Due to missed inodeblock updates, syncer was required to fsync each mount point' vnode to guarantee periodic metadata flush. Reviewed by: mckusick Tested by: scottl MFC after: 2 weeks END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-02-07T10:59:19.523084Z K 7 svn:log V 168 - Set TERM to cons25w on pc98 because we still use old cons25w terminal to show Japanese. - Add cons25w to terminal lists. Reviewed by: nwhitehorn MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-02-07T11:24:18.242462Z K 7 svn:log V 16 Revert r230987. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-02-07T11:25:35.939936Z K 7 svn:log V 16 Revert r230988. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-02-07T11:28:40.842211Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-02-07T11:40:38.552136Z K 7 svn:log V 87 - Complete the Wu-Manber algorithm. Still untested and dependent code is incomplete. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-02-07T11:53:08.142809Z K 7 svn:log V 65 Record my ports mentor relationship. Approved by: beat (mentor) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-07T14:06:30.051885Z K 7 svn:log V 48 Add BSD copyright notice. Approved by: gordon@ END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-02-07T14:50:33.464036Z K 7 svn:log V 77 Allow to set if_bridge(4) sysctls from /boot/loader.conf. MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-02-07T15:50:14.658443Z K 7 svn:log V 738 MFC r226441 and r226443 r226441: Explicitely set ARM_RAS_START and ARM_RAS_END once the cacheline or the page has been allocated, or we could end up using random values, and bad things could happen. PR: arm/161492 Submitted by: Ian Lepore r226443: Fix 2 bugs : - A race condition could happen if two threads were using RAS at the same time as the code didn't reset RAS_END, the RAS code could believe we were not in a RAS, when we were in fact. - Using signed value logic to compare addresses wasn't such a good idea. Many thanks to Ian to investigate on these issues. Pointy hat to: cognet PR: arm/161498 Submitted by: Ian Lepore r226443: Fix 2 bugs : - A race condition could happen if two threads were using RAS at the same time as the code didn't reset RAS_END, the RAS code could believe we were not in a RAS, when we were in fact. - Using signed value logic to compare addresses wasn't such a good idea. Many thanks to Ian to investigate on these issues. Pointy hat to: cognet PR: arm/161498 Submitted by: Ian Lepore Reported by: Mattia Rossi END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-02-07T22:13:24.666281Z K 7 svn:log V 113 Allow relative pathnames for jails generated on the command line (but continue to flag when from a config file). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-02-07T22:13:33.495062Z K 7 svn:log V 136 MFC r226274,r226416: Fix the error message when setgid() failed. PR: bin/161509 Submitted by: Jeremy Huddleston END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-02-07T22:13:38.769645Z K 7 svn:log V 72 MFC 229465: Use correct locking when traversing interface address list. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-02-07T22:13:54.215619Z K 7 svn:log V 72 MFC 229465: Use correct locking when traversing interface address list. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-02-07T22:31:16.769119Z K 7 svn:log V 212 MFC r225643,225644: Change the example of using smbfs in fstab to a password-less one, which is less likely to block a remote system from boot. Submitted by: Garrett Cooper PR: doc/160775 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-02-07T22:31:28.398783Z K 7 svn:log V 338 Update the data structures with some fields reserved for ext4 but that can be used in ext3 mode. Also adjust the internal inode to carry the birthtime, like in UFS, which is starting to get some use when big inodes are available. Right now these are just placeholders for features to come. Approved by: jhb (mentor) MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-07T23:24:29.653545Z K 7 svn:log V 74 Do not EOI local APIC too early. Just do doreti normally after resuming. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-07T23:43:29.977469Z K 7 svn:log V 235 Update the mps(4) man page for the changes in the new LSI-supported driver. This should have been included in change 230592. The supported hardware section still needs some updating to reflect the current reality. MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-02-08T00:08:21.026506Z K 7 svn:log V 316 Add an option to 404.status-zfs (enabled by default) to list all zfs pools on the system. While here, document daily_status_zfs_enable in periodic.conf(5). Discussed on: -fs [1] Reviewed by: netchild [1] Approved by: jhb MFC after: 1 week [1] - http://lists.freebsd.org/pipermail/freebsd-fs/2011-June/011869.html END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-08T00:36:36.482269Z K 7 svn:log V 166 Program the MAC exact match table in batches of 7 addresses at a time when possible. This is more efficient than one at a time. Submitted by: gnn MFC after: 3 days END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-08T01:31:02.656833Z K 7 svn:log V 61 Add FDT-enabled SCM module driver and respective node to dts END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-08T02:15:59.117685Z K 7 svn:log V 9 Fix typo END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-08T03:02:12.520791Z K 7 svn:log V 102 Allocate the BAR for userspace doorbells after the is_offload check is functional. MFC after: 3 days END