Ĩt242766 190 463 235 168 138 168 164 107 164 182 371 233 240 150 264 120 385 552 201 293 134 119 123 120 183 161 146 136 147 123 134 123 128 195 128 115 153 1594 162 337 147 199 155 153 441 441 441 138 129 281 244 207 107 153 168 138 271 518 147 130 149 155 159 457 398 249 175 421 269 225 312 185 287 325 185 224 193 170 194 118 318 536 698 274 185 519 184 878 109 159 165 167 167 157 157 158 158 440 182 338 140 156 167 172 120 143 156 120 386 253 329 227 157 1111 391 1196 358 107 311 311 311 291 140 143 191 109 1376 1022 1971 265 172 199 352 181 143 289 141 465 558 156 600 149 333 711 711 365 748 123 109 206 206 296 296 185 319 162 210 329 309 775 234 113 226 197 197 197 156 197 763 200 221 1423 124 117 144 120 218 458 546 167 137 393 132 143 115 226 180 127 134 107 271 K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-08T13:33:48.719429Z K 7 svn:log V 367 sh: Fix two issues when an alias is redefined: * The last character is not displayed. * If the alias ends with itself (as a word), an infinite memory-eating loop occurs. If an alias is defined initially, a space is appended to avoid recursion but this did not happen when an alias was later modified. PR: bin/173418 Submitted by: Daniel F. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-08T13:36:19.298885Z K 7 svn:log V 139 sh: Add tests for modifying an alias (r242766). Note: parser/alias10.0 will eat a lot of memory/cpu time when it fails (with the old sh). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-08T13:40:46.225055Z K 7 svn:log V 73 MFC r242429: fcntl(2): Fix typos in name of constant "F_DUP2FD_CLOEXEC". END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-11-08T13:41:42.631053Z K 7 svn:log V 46 Add binding for EHCI inside i.MX515 USB core. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-08T13:43:20.140905Z K 7 svn:log V 73 MFC r242429: fcntl(2): Fix typos in name of constant "F_DUP2FD_CLOEXEC". END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-08T13:47:32.073156Z K 7 svn:log V 69 MFC r242460: fopen(3): Mention that the "x" mode option is from C11. END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-11-08T13:49:20.407603Z K 7 svn:log V 15 Fix Copyright. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-08T13:50:33.113659Z K 7 svn:log V 69 MFC r242460: fopen(3): Mention that the "x" mode option is from C11. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-08T16:04:32.092896Z K 7 svn:log V 85 MFC r238551 and r239617: Add support for Intel Panther/Lynx Point XHCI port routing. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-08T16:13:51.969867Z K 7 svn:log V 273 MFC r240750, r241987 and r242126: Add missing CTLFLAG_TUN flag to tunable sysctls in the USB stack. Adjust timing parameters of FULL/LOW/HIGH speed USB enumeration and make these timing parameters tunable. This patch will fix enumeration with some USB devices. Fix a typo. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-08T16:17:52.916698Z K 7 svn:log V 135 MFC r242523: Allow using the embedded EHCI host controller in Freescale SoCs by adding the missing bits. See ehci_fsl.c for their use. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-08T16:31:13.504304Z K 7 svn:log V 142 Make the USB ethernet methods constant again in if_udav.c, so that both adapter variants can be attached at the same time. MFC after: 0 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-08T17:32:55.761261Z K 7 svn:log V 55 Convert this to a debug printf; it's working fine now. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-08T17:43:58.602698Z K 7 svn:log V 168 Implement the ATH_RESET_NOLOSS path for TX stop and start; this is needed for 802.11n TX device restarting. Remove the debug printf()s; they're no longer needed here. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-08T17:46:27.060623Z K 7 svn:log V 25 Oops, fix bogus spacing. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-08T18:07:29.781623Z K 7 svn:log V 289 Add my initial cut at driver-layer ALQ support. I'm using this to debug EDMA TX and RX descriptors and it's really helpful to have a non-printf() way to decode frames. I won't link this into the build until I've tidied it up a little more. This will eventually be behind ATH_DEBUG_ALQ. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-08T18:11:31.374550Z K 7 svn:log V 456 Add some hooks into the driver to attach, detach and record EDMA descriptor events. This is primarily for the TX EDMA and TX EDMA completion. I haven't yet tied it into the EDMA RX path or the legacy TX/RX path. Things that I don't quite like: * Make the pointer type 'void' in ath_softc and have if_ath_alq*() return a malloc'ed buffer. That would remove the need to include if_ath_alq.h in if_athvar.h. * The sysctl setup needs to be cleaned up. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-08T20:15:12.834266Z K 7 svn:log V 105 Divorce autotune nmbclusters from maxusers. Provide arch specific override maximum. Suggested by: peter END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2012-11-08T20:34:12.315002Z K 7 svn:log V 196 Not only load pccard_ether settings, also load network settings. This is only a problem when a /etc/rc.conf.d/network file is being used. PR: conf/160373 Submitted by: n_hibma MFC after: 1 week END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:14:57.937028Z K 7 svn:log V 42 Latest dirdeps etc from Juniper Networks. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:15:57.998106Z K 7 svn:log V 27 Latest version from Crufty END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:19:15.086469Z K 7 svn:log V 31 We ended up with contrib/bmake END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:24:17.817513Z K 7 svn:log V 28 Updated/new Makefile.depend END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:27:46.088791Z K 7 svn:log V 91 If we are staging, we need to look in the right place, for the headers we want to examine. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:29:03.441780Z K 7 svn:log V 69 Qualifying targets with ${.OBJDIR}/ confuses make for little reason. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:29:59.726015Z K 7 svn:log V 54 Fix .ORDER to not conflict with captured dependencies END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:30:54.407449Z K 7 svn:log V 44 We need headers from ${KRB5DIR}/include too END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:31:37.606136Z K 7 svn:log V 55 Avoid two makefiles trying to install the same headers END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:32:19.648602Z K 7 svn:log V 31 include/arpa installs telnet.h END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:33:13.518318Z K 7 svn:log V 42 Avoid circular dependency with librtld_db END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:34:29.762830Z K 7 svn:log V 31 We need /backward too it seems END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:35:20.049855Z K 7 svn:log V 36 Need CXXFLAGS_LAST and LDFLAGS_LAST END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:36:19.507224Z K 7 svn:log V 102 Use prebuild and a barrier, to allow ensuring headers are staged before we attempt to build anything. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:38:26.382988Z K 7 svn:log V 36 Need CXXFLAGS_LAST and LDFLAGS_LAST END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:39:00.874354Z K 7 svn:log V 23 Allow clean at level 0 END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-08T21:40:05.761652Z K 7 svn:log V 61 defined(${group}NAME) is also a trigger for special handling END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-08T22:40:24.086992Z K 7 svn:log V 1498 Save this for later continuation: Different approach on ECMP (equal cost multi path) routing. Instead of having shadow rtentry's linked behind the one in the trie, just have an array of different egress interface and next-hops. This simplifies the code significantly. A normal add to the routing table then sets the main next- hop. A ECMP aware add or modify can change any of the other next hops in the rtentry. The next-hop list is sorted by priority (distance in Cisco parlance) with the highest first. Equal priority next-hops are next to each other sorted by next-hop IP address. If the highest priority has more than one next-hop load is equally shared among them. All other routes with lower weight are not used. When a higher priority next-hop is removed or flagged as unavailable (eg. interface link down) the next higher priority prefix will become active. When only unavailable next-hops are in the rtentry it is ignored and a less specific match is searched for. If no route is found the lookup will fail. When an unavailable next-hop becomes available again, the rtentry is valid again and will match on lookups. This way we can implement suppression of routes on link state down interfaces without having to actually remove the rtentry. Additionally it is automatically reinstated when the link comes back. This way for example a OSPF route can take precedence and NLRI reachability is ensured. This is the same behavior as of Cisco, Juniper and other router vendors. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-08T23:11:59.836217Z K 7 svn:log V 67 Fix the build - fix up the ath_alq code to not compile by default. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-08T23:21:02.536472Z K 7 svn:log V 244 Shrink boot2 by 8 bytes, by eliminating some unneeded instructions in sio.S. This is not particularly needed for head right now, but it is intended to merge to stable/9, to fix boot2 build with clang there. Reviewed by: avg MFC after: 3 days END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-08T23:24:02.800122Z K 7 svn:log V 52 clip maxusers based on MD VM_MAX_AUTOTUNE_MAXUSERS. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-08T23:42:22.639135Z K 7 svn:log V 103 Go back to basing nmbclusters on maxusers, however allow platform override of both limit and function. END K 10 svn:author V 4 grog K 8 svn:date V 27 2012-11-08T23:45:19.141742Z K 7 svn:log V 62 Replace spaces with tabs where appropriate. Reminded by: jh@ END K 10 svn:author V 4 grog K 8 svn:date V 27 2012-11-08T23:46:15.259862Z K 7 svn:log V 60 Replace spaces by tabs where appropriate. Reminded by: jh@ END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-09T00:35:54.744643Z K 7 svn:log V 345 MFC r242462: 10 years too late add support for "2.88MB 3.5in Extra High Density" floppies. Its unlikely that anyone actually uses these or cares about these anymore, since we support other floppy types and this change doesn't hurt - just add it. PR: conf/40777 Arrival-Date: Fri Jul 19 08:50:02 PDT 2002 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-09T00:35:55.160965Z K 7 svn:log V 345 MFC r242462: 10 years too late add support for "2.88MB 3.5in Extra High Density" floppies. Its unlikely that anyone actually uses these or cares about these anymore, since we support other floppy types and this change doesn't hurt - just add it. PR: conf/40777 Arrival-Date: Fri Jul 19 08:50:02 PDT 2002 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-09T00:35:55.165917Z K 7 svn:log V 345 MFC r242462: 10 years too late add support for "2.88MB 3.5in Extra High Density" floppies. Its unlikely that anyone actually uses these or cares about these anymore, since we support other floppy types and this change doesn't hurt - just add it. PR: conf/40777 Arrival-Date: Fri Jul 19 08:50:02 PDT 2002 Approved by: cperciva (implicit) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-09T00:59:49.394711Z K 7 svn:log V 43 cleanup holdover from non-maxusers version END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-09T01:28:11.048838Z K 7 svn:log V 34 Fix a very incorrect description. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-09T01:51:06.866238Z K 7 svn:log V 185 Add support for Advantech PCI-1602 RS-485/RS-422 serial card PR: kern/169726 Submitted by: Jan Mikkelsen Approved by: cperciva (implicit) MFC after: 5 days END K 10 svn:author V 4 jeff K 8 svn:date V 27 2012-11-09T04:04:25.348112Z K 7 svn:log V 150 - Correct rev 242734, segments can sometimes get stuck. Be a bit more defensive with segment state. Reported by: b. f. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-11-09T04:52:15.905262Z K 7 svn:log V 114 Belatedly (by many years!) bump the version numbers in the src/-side documentation pages. Saddened by: this file END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-09T05:43:15.317710Z K 7 svn:log V 15 Add TIME_STAMP END K 10 svn:author V 3 sjg K 8 svn:date V 27 2012-11-09T05:44:34.609207Z K 7 svn:log V 61 Add pkgs/Makefile* and pkgs/pseudo/* so folk can test drive. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-09T06:58:23.974713Z K 7 svn:log V 71 MFC r238466 and r242777: Implement non-PHY support in the udav driver. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-09T07:05:28.733138Z K 7 svn:log V 41 MFC r240743 and r234418: Fix some typos. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-09T07:12:31.688308Z K 7 svn:log V 173 MFC r241432, r242628 and r242364: Remove ancient mass storage gone checks. Add some more mass storage related quirks. Improve auto-quirk detection for mass storage devices. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-09T07:29:11.101682Z K 7 svn:log V 420 MFC r242127, r240078, r240609, r241988, r242129, r242223, r242438, r242453, r242455 and r242458: Add full support for Fast Track Ultra 8R from M-audio. Implement support for USB Audio v2.0. Remove some redundant USB audio v1.0 debug data. Use lsusb instead. Implement support for the so-called USB feedback endpoint for USB audio devices. Export all mixer nodes into dev.pcm.X.mixer.Y sysctl nodes. PR: usb/171254 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-11-09T13:58:52.105831Z K 7 svn:log V 50 Give panic format string to pacify clang warning. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-11-09T14:14:51.234043Z K 7 svn:log V 33 Remove unused static mn_timeout. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-11-09T14:46:23.216176Z K 7 svn:log V 52 Cast VIA_READ to (void) where the result is unused. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-11-09T14:58:26.347453Z K 7 svn:log V 58 Give device_printf format string to pacify clang warning. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-11-09T15:29:52.723459Z K 7 svn:log V 62 Give tw_osl_dbg_printf format string to pacify clang warning. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-09T16:00:30.426371Z K 7 svn:log V 364 Do not try to enable new features in the %cr4 if running under hypervisor. Apparently, hypervisors failed to filter out 'Standard Extended Features' report from CPUID, but deliver #gp when corresponding bit in %cr4 is toggled. This shall be reconsidered later, after hypervisors correct the bug. Reported and tested by: joel Reviewed by: avg MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-09T16:28:58.408408Z K 7 svn:log V 300 Fix LOW and FULL speed USB INTERRUPT endpoint support for the DWC OTG driver. Fix a hang issue when using LOW and FULL speed BULK traffic. Make sure we don't ask for data in the last microframe. This allows using devices like USB mice and USB keyboards connected to the RPI-B. Suggested by: gonzo @ END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-11-09T17:46:07.262638Z K 7 svn:log V 151 Dont compile some files in drm with -finline-limit=1350. GCC 4.2.1 doesnt need that and clang does not support that. This effectively reverts r126542. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-09T17:47:54.670767Z K 7 svn:log V 81 Integrate from HEAD @242829, except for r242601 which is the backout of r242262. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-09T17:56:49.492798Z K 7 svn:log V 326 Move per packet dequeueing from bge_rxeof() into a new function bge_rx_packet() and merge bge_rxcsum() into it. To avoid the unlock/lock pair for injection into the stack dequeue all packets from the rx DMA ring into an m_nextpkt chain and then inject that chain one by one into the stack w/o any locking. Work in progress. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-11-09T18:02:25.927440Z K 7 svn:log V 172 Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag. Porters should refer to __FreeBSD_version 1000021 for this change as it may have happened at the same timeframe. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-11-09T18:23:38.285238Z K 7 svn:log V 127 Simplify sending keepalives. Prepare ipfw_tick() to be used by other consumers. Reviewed by: ae(basically) MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-09T18:56:27.641101Z K 7 svn:log V 219 Reduce LLVM's default stack alignment for i386 from 16 to 4 bytes, as the FreeBSD ABI requires. This is essentially a revert of upstream llvm commit r126226, and it will be reverted by upstream too. MFC after: 1 week END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-11-09T19:31:31.856478Z K 7 svn:log V 93 MFC r242680: Fix possible spurious sbunlock in sctp_sorecvmsg. Approved by: trasz (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-09T19:32:37.881222Z K 7 svn:log V 194 MFC r242622: Fix a few warnings from newer clang 3.2 in libpmc, about comparing enum pmc_event values against integer constants which fall outside the enum range. Reviewed by: fabient, sbruno END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-09T19:35:46.216173Z K 7 svn:log V 232 MFC r242623: In sys/contrib/ngatm/netnatm/msg/uni_ie.c, fix a few warnings from newer versions of clang 3.2, about comparing enum uni_cause values against integer constants which fall outside the enum range. No functional change. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-11-09T19:45:17.667940Z K 7 svn:log V 93 MFC r242680: Fix possible spurious sbunlock in sctp_sorecvmsg. Approved by: trasz (mentor) END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-11-09T20:19:56.597023Z K 7 svn:log V 129 Undo over-aggressive conversion of spaces to tabs. ie: those within format strings, "period, space, space" in comment text, etc. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-11-09T21:41:07.255045Z K 7 svn:log V 97 Use %s when calling make_dev with a string pointer. This makes clang happy. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-11-10T00:32:47.070131Z K 7 svn:log V 74 Attempt toward a buildable universe by silenting a few warnings for OFED. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-10T00:36:53.598319Z K 7 svn:log V 101 MFC r242707: Belatedly add links from /usr/bin/clang to /usr/bin/CC, like it has been done for g++. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2012-11-10T01:46:13.131263Z K 7 svn:log V 23 Import jemalloc 3.2.0. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-11-10T01:52:52.554355Z K 7 svn:log V 221 MFV r242729 (mm): Illumos r13840:97fd5cdf328a: 3145 single-copy arc 3212 ztest: race condition between vdev_online() and spa_vdev_remove() Illumos r13849:3468a95b27cd: 3258 ztest's use of file descriptors is unstable END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-11-10T02:08:19.771428Z K 7 svn:log V 440 - Use absolute value for precision rather than flags. This gives us 24 bits range (which could be extended up to 31) to specify tolerance interval for callout. Also, precision interval is not anymore constrained to be a power-of-two. - Get rid of rounding mechanism for precision in callout_cc_add(). Recent changes to the branch made it less effective as well as increased the cost of the rounding operation itself. Discussed with: mav END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-10T02:08:40.169550Z K 7 svn:log V 602 Allow maxusers to scale on machines with large address space. Some hooks are added to clamp down maxusers and nmbclusters for small address space systems. VM_MAX_AUTOTUNE_MAXUSERS - the max maxusers that will be autotuned based on physical memory. VM_MAX_AUTOTUNE_NMBCLUSTERS - max nmbclusters based on physical memory. These are set to the old values on i386 to preserve the clamping that was being done to all arches. Another macro VM_AUTOTUNE_NMBCLUSTERS is provided to allow an override for the calculation on a MD basis. Currently no arch defines this. Reviewed by: peter MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-10T03:44:08.668521Z K 7 svn:log V 178 Be a bit more paranoid. Use more portable constructs in order to allow upstream adoption Add per-file error messages Reviewed by: jilles Approved by: cperciva MFC after: 1 week END K 10 svn:author V 4 grog K 8 svn:date V 27 2012-11-10T04:49:09.279961Z K 7 svn:log V 92 Correct date and spelling of encounter between Stanley and Livingstone. MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-10T06:05:04.433371Z K 7 svn:log V 423 MFC r242514: Revert the change that makes less default. Since I've committed this I've receieved roughly an equal amount of email thanking me for making this change and asking me to revert it. I've resisted making this change because new users tend to prefer less over more and these users are the least likely to know how to change the PAGER on their own. Approved by: cperciva (implicit) Approved by: re (kib) END K 10 svn:author V 4 grog K 8 svn:date V 27 2012-11-10T06:10:07.991662Z K 7 svn:log V 91 More style(9) tabs vs. spaces: - tabs after #define - Not in comments. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-10T07:02:57.504796Z K 7 svn:log V 785 Several optimizations to sched_idletd(): - Do not try to steal load from other CPUs if there was no contest switches on this CPU (i.e. it was idle all the time and woke up just for bus mastering or TLB shutdown). If current CPU was idle, then it is quite unlikely that some other CPU has load to steal. Under high I/O rate, when TLB shutdowns cause numerous CPU wakeups, on 24-CPU system load stealing code may consume up to 25% of all CPU time without giving any benefits. - Change code that implements spinning for load to restart spin in case of context switch. Previous code periodically called cpu_idle() even under high interrupt/context switch rate. - Rise spinning threshold to 10KHz, where it gives at least some effect that may worth consumed power. Reviewed by: jeff@ END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-11-10T08:34:40.680509Z K 7 svn:log V 15 Fix the build. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-11-10T10:41:00.526921Z K 7 svn:log V 62 Initialize hdrlen to 0 to avoid clang warning in NOINET case. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T11:55:52.848718Z K 7 svn:log V 72 MFi386: r241785 boot: use -march=i386 for both i386 and amd64 builds END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-10T12:04:02.938981Z K 7 svn:log V 75 MFC r241540: pciereg_cfg*: use assembly to access the mem-mapped cfg space END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-10T12:04:22.466619Z K 7 svn:log V 75 MFC r241540: pciereg_cfg*: use assembly to access the mem-mapped cfg space END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-10T12:06:24.490538Z K 7 svn:log V 65 MFC r241773: zfs: wait in arc_lowmem only if curproc == pageproc END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-10T12:06:36.373508Z K 7 svn:log V 65 MFC r241773: zfs: wait in arc_lowmem only if curproc == pageproc END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-10T12:08:06.140350Z K 7 svn:log V 66 MFC r242565: cpuctl_do_cpuid: explicitly use ecx=0 for cpuid call END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-10T12:08:18.731599Z K 7 svn:log V 66 MFC r242565: cpuctl_do_cpuid: explicitly use ecx=0 for cpuid call END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-11-10T12:22:26.085859Z K 7 svn:log V 347 zfs_ioc_destroy_snaps_nvl: remove disk device entries for zvol snapshots ... before trying to destroy the zvol snapshots themselves. PR: kern/173442 Reported by: Petri Helenius , mm Obtained from: Brian Behlendorf , Illumos Bug #3170 Tested by: Petri Helenius MFC after: 10 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T12:25:27.049226Z K 7 svn:log V 89 MFi386: r241301 add detection of serial console presence to btx and boot2-like blocks END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T12:38:06.751272Z K 7 svn:log V 244 MFi386: r241300 i386 comconsole: don't loop forever if hardware doesn't respond - clear capability flags when hw timeouts - retire comc_started status variable and directly use c_flags to see if comconsole is selected for use END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T12:42:28.331358Z K 7 svn:log V 47 cosmetic changes to reduce diffs against i386. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T13:24:33.791005Z K 7 svn:log V 63 Use ANSI prototype to fix build with clang. MFC after: 1 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T13:25:46.727127Z K 7 svn:log V 74 MFi386: r211924 Register an interrupt vector for DTrace return probes. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T13:41:25.753144Z K 7 svn:log V 79 Fix some KASSERTs. They are missing changes from r208833, r227394 and r227442. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T13:48:41.946356Z K 7 svn:log V 27 Reduce diffs against i386. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T14:56:35.231923Z K 7 svn:log V 50 MFi386: r232263 Fix build mpboot.s with clang. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-11-10T14:58:06.021162Z K 7 svn:log V 63 Use ANSI prototype to fix build with clang. MFC after: 1 week END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-11-10T15:21:39.436332Z K 7 svn:log V 26 s/ATH_DEBUG/ATH_DEBUG_ALQ END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-10T16:02:12.421321Z K 7 svn:log V 293 Fix all the inconsistent nve_os* function declarations and definitions in nve(4). The OS_API structure defined in os.h expects NV_API_CALL attributes, effectively regparm(0), on its function pointers, but all the functions were declared and defined without this attribute. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-10T16:08:21.920898Z K 7 svn:log V 160 Work around pc98 tinderbox failures in sys/boot/pc98, by making sure a cross gcc gets built during the cross-tools stage. MFC after: 1 week X-MFC-With: 242706 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-11-10T19:32:16.787629Z K 7 svn:log V 232 - Protect mnt_data and mnt_flags under the mount interlock - Move mp->mnt_stat manipulation where all of them happens Reported by: davide Discussed with: kib Tested by: flo MFC after: 2 months X-MFC: 241519, 242536,242616, 242727 END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-10T20:34:48.219808Z K 7 svn:log V 132 Fix fallout from r242802 prototype to do ECMP with a next-hop array. rt_ifp is a #define and may not be used other variable names. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-10T20:36:30.779397Z K 7 svn:log V 63 Fix up function declarations after r242832 to make it compile. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-10T21:09:17.255857Z K 7 svn:log V 1015 Add m_uiotosfmbuf() which turns a uio iovec array into a chain of mbuf's with sfbuffers attaches to it. sfbuffers in turn directly reference and hold the VM page. Once traveled through the stack the NIC then directly DMA's the data from the userspace VM pages. The referenced pages are protected from going aways but no from concurrent modification by the application. If data in the page is modified while the mbuf/sfbuf is still waiting in a queue to the sent, the modified data will be sent. Additionally certain cache and memory coherence effects may come into play resulting in unpredictably in whether the old or new data will go out eventually. This is the same as with sendfile(2) where the application also should not modify the backing file while sending. It is the equivalent to m_uiotombuf() which does a normal copyin. It is the first step for a new send side zero copy implementation. This checkpoints a work in progress, isn't complete and likely has evil bugs or poorly handled edge cases. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-10T21:22:10.502251Z K 7 svn:log V 298 Only define isnan, isnanf, __isnan and __isnanf in libc.so, not in libc.a and libc_p.a. In addition, define isnan in libm.a and libm_p.a, but not in libm.so. This makes it possible to statically link executables using both isnan and isnanf with libc and libm. Tested by: kargl MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-10T22:37:06.808765Z K 7 svn:log V 1099 Correct some rather weird and broken behaviour observed when doing actual traffic with an AR9380/AR9382/AR9485. The sample rate control stats would show impossibly large numbers for "successful packets transmitted." The number was a tad under 2^^64-1. So after a bit of digging, I found that the sample rate control code was making 'tries' turn into a negative number.. and this was because ts_longretry was too small. The hardware returns "ts_longretry" at the current rate selection, not overall for that TX descriptor. So if you setup four TX rate scenarios and the second one works, ts_longretry is only set for the number of attempts at that second rate scenario. The FreeBSD HAL code does the correction in ath_hal_proctxdesc() - however, this isn't possible with EDMA. EDMA TX completion is done separate from the original TX descriptor. So the real solution is to split out "find ts_rate and ts_longretry" from "complete TX descriptor". Until that's done, put a hack in the EDMA TX path that uses the rate scenario information in the ath_buf. Tested: AR9380, AR9382, AR9485 STA mode END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-11T00:34:10.822400Z K 7 svn:log V 262 Don't call av_set_tim() if it's NULL. This happens during a scan in STA mode; any queued data frames will be power save queued but as there's no TIM in STA mode, it panics. This was introduced by me when I disabled my driver-aware power save handling support. END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-11-11T03:26:14.225538Z K 7 svn:log V 14 IFC @ r242684 END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-11T04:07:09.809644Z K 7 svn:log V 215 MFC r242583: Add support for a few more devices: PNP0510 and FUJ02E5 for a "Wacom Tablet at FuS Lifebook T" PNP0502 and PNP0511 for some other generic devices. PR: kern/173357 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-11T04:07:09.979752Z K 7 svn:log V 215 MFC r242583: Add support for a few more devices: PNP0510 and FUJ02E5 for a "Wacom Tablet at FuS Lifebook T" PNP0502 and PNP0511 for some other generic devices. PR: kern/173357 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-11T04:07:10.333840Z K 7 svn:log V 215 MFC r242583: Add support for a few more devices: PNP0510 and FUJ02E5 for a "Wacom Tablet at FuS Lifebook T" PNP0502 and PNP0511 for some other generic devices. PR: kern/173357 Approved by: cperciva (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-11T06:29:59.528420Z K 7 svn:log V 198 - Rename macro C_T2PREC() to C_US2PREC() to be more specific. - Add macro C_BT2PREC() to specify precision in form of bintime, that should be useful for relative precisions. - Document both macros. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-11-11T08:16:33.782024Z K 7 svn:log V 45 Add the PID column to the list of sort keys. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-11-11T08:22:58.068836Z K 7 svn:log V 48 Add "pid" to the help menu (sort keys section). END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-11-11T10:42:34.210755Z K 7 svn:log V 94 Change the XNB_ASSERT from a statement expression to do-while(0) as its result is never used. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-11-11T10:45:21.754333Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-11-11T12:06:12.774292Z K 7 svn:log V 1283 MFC r233522, r239855, r239910, r239938, r239954 and r239961. - Relicense to 2-clause BSD license. - Use queue(3) -- not some homegrown implementation of linked lists. - Rename structures to _entry, as they are entries in the linked list -- not the lists themselves. - Don't store entire copies of struct utmpx in utmpx_entry, but only the members we're interested in. Large fields such as hostnames are not needed during the execution of the program. - Give structure members useful names, instead of `name'. - While there, use struct timevals instead of time_t's internally. This is not strictly useful, but while we're at it... - Mark stuff static. - Add missing const keywords. - Remove unneeded prototypes. - Remove workaround for sparc64-specific utmp problems. These don't apply to utmpx. - Don't discard entries when timestamps are not monotone. This shouldn't ever happen with utmpx, but discarding them is a bit too harsh. - Remove debug code. We nowadays have `getent utmpx', which can be used to analyze logfiles in depth. - Use proper uppercasing/periods in comments. - Print output of `ac -p' sorted alphabetically, instead of first occurrence. - Properly check against pts/* instead of tty[PQRSpqrs]* to determine whether a TTY is a pseudo-terminal. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-11-11T12:12:44.331380Z K 7 svn:log V 930 MFC r241161: Fix faulty error code handling in read(2) on TTYs. When performing a non-blocking read(2), on a TTY while no data is available, we should return EAGAIN. But if there's a modem disconnect, we should return 0. Right now we only return 0 when doing a blocking read, which is wrong. MFC r242078: Correct SIGTTIN handling. In the old TTY layer, SIGTTIN was correctly handled like this: while (data should be read) { send SIGTTIN if not foreground process group read data } In the new TTY layer, however, this behaviour was changed, based on a false interpretation of the standard: send SIGTTIN if not foreground process group while (data should be read) { read data } Correct this by pushing tty_wait_background() into the ttydisc_read_*() functions. Reported by: koitsu PR: kern/173010 END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-11-11T12:21:51.814570Z K 7 svn:log V 1878 MFC r240422, r240426 and r240450: Implement LIST_PREV(). Regular LISTs have been implemented in such a way that the prev-pointer does not point to the previous element, but to the next-pointer stored in the previous element. This is done to simplify LIST_REMOVE(). This macro can be implemented without knowing the address of the list head. Unfortunately this makes it harder to implement LIST_PREV(), which is why this macro was never here. Still, it is possible to implement this macro. If the prev-pointer points to the list head, we return NULL. Otherwise we simply subtract the offset of the prev-pointer within the structure. It's not as efficient as traversing forward of course, but in practice it shouldn't be that bad. In almost all use cases, people will want to compare the value returned by LIST_PREV() against NULL, so an optimizing compiler will not emit code that does more branching than TAILQs. While there, add __containerof(). Compared to __member2struct(), this macro has the following advantages: - It ensures that the type of the pointer is compatible with the member field of the structure (or a void pointer). - It works properly in combination with volatile and const, though unfortunately it drops these qualifiers from the returned value. mdf@ proposed to add the container_of() macro, just like Linux has. Eventually I decided against this, as is included all over the place. It seems container_of() on Linux is specific to the kernel, not userspace. I'd rather not pollute userspace with this. I also thought about adding __container_of(), but this would have two advantages. Xorg seems to already have a __container_of(), which is not compatible with this version. Also, the underscore in the middle conflicts with our existing macros (__offsetof, __rangeof, etc). END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-11T13:28:04.373010Z K 7 svn:log V 172 Add an explanatory comment to lib/libc/gen/isnan.c about the fix to make static linking with libc and libm work. Requested by: jilles MFC after: 1 week X-MFC-With: 242879 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-11-11T15:13:24.721131Z K 7 svn:log V 77 sh: Forward-declare struct alias instead of giving up type safety via void * END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-11T15:34:58.785500Z K 7 svn:log V 103 Add the standard exit status to the ssh-copy-id man page. Approved by: bcr (mentor) MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-11-11T21:52:18.472727Z K 7 svn:log V 259 Prevent including .zfs snapshot directories in the src.txz distribution. This can happen if the src/ tree checkout is within its own ZFS dataset, and the 'snapdir' ZFS property is set to 'visible.' Approved by: hrs MFC after: 3 days X-MFC-To: stable/9 only END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-11T21:57:18.964911Z K 7 svn:log V 86 Remove this; i incorrectly committed the wrong (debug) changes in my previous commit. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-11T21:58:18.715169Z K 7 svn:log V 48 Correctly fix the 'scan during STA mode' crash. END K 10 svn:author V 4 grog K 8 svn:date V 27 2012-11-11T22:43:36.012133Z K 7 svn:log V 195 Correct date of Stanley's encounter with Livingstone. Obtained from: Henry Morton Stanley, "How I met Livingstone", http://www.gutenberg.org/dirs/5/1/5/5157/5157-h/5157-h.htm MFC after: 14 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-11-11T23:25:47.971002Z K 7 svn:log V 45 Tweak comments. In collabouration with: alc END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-11-11T23:29:45.330107Z K 7 svn:log V 369 Fix a regression introduced by SVN r211417 that saw the breakage of a feature documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below): If /usr/sbin/sysinstall is linked to another filename, say `/usr/local/bin/configPackages', then the basename will be used as an implicit command name. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-11-12T00:30:40.525395Z K 7 svn:log V 461 Fix DDB command "show map XXX": - Check that an argument is always available, otherwise current map printing before to recurse is garbage. - Spit out a message if an argument is not provided. - Remove unread nlines variable. - Use an explicit recursive function, disassociated from the DB_SHOW_COMMAND() body, in order to make clear prototype and recursion of the above mentioned function. The code results now much less obscure. Submitted by: gianni END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-11-12T06:15:54.877634Z K 7 svn:log V 61 Allow this file to be used in LOCORE sections of the kernel. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-12T07:25:47.251894Z K 7 svn:log V 507 When CPU becomes idle, cpu_idleclock() calculates time till the next timer event to reprogram the hardware timer. Return that time in microseconds to the caller and pass it to acpi_cpu_idle(), where it can be used as one more factor (quite precise one) to estimate further sleep time and choose optimal sleep state. With this change, depending on hardware, synthetic tests show up to double improvement in callout precision when deeper sleep states are in use. Also fix minor build issues on UP systems. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-12T07:25:51.792455Z K 7 svn:log V 52 Add new USB IDs. MFC after: 1 week PR: usb/173503 END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-12T07:30:24.033997Z K 7 svn:log V 240 MFC r242804: Shrink boot2 by 8 bytes, by eliminating some unneeded instructions in sio.S. This is not particularly needed for head right now, but it is intended to merge to stable/9, to fix boot2 build with clang there. Reviewed by: avg END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-12T07:34:05.084095Z K 7 svn:log V 618 MFC r242625: Remove duplicate const specifiers in many drivers (I hope I got all of them, please let me know if not). Most of these are of the form: static const struct bzzt_type { [...list of members...] } const bzzt_devs[] = { [...list of initializers...] }; The second const is unnecessary, as arrays cannot be modified anyway, and if the elements are const, the whole thing is const automatically (e.g. it is placed in .rodata). I have verified this does not change the binary output of a full kernel build (except for build timestamps embedded in the object files). Reviewed by: yongari, marius END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-12T07:47:19.001428Z K 7 svn:log V 618 MFC r242625: Remove duplicate const specifiers in many drivers (I hope I got all of them, please let me know if not). Most of these are of the form: static const struct bzzt_type { [...list of members...] } const bzzt_devs[] = { [...list of initializers...] }; The second const is unnecessary, as arrays cannot be modified anyway, and if the elements are const, the whole thing is const automatically (e.g. it is placed in .rodata). I have verified this does not change the binary output of a full kernel build (except for build timestamps embedded in the object files). Reviewed by: yongari, marius END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-12T08:47:13.944688Z K 7 svn:log V 270 Base the mbuf related limits on the available physical memory or kernel memory, whichever is lower. Set maxfiles to a memory derived value at with a floor based on maxusers. Tidy up ordering in init_param2() and check up on some users of those values calculated here. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-12T09:50:26.994756Z K 7 svn:log V 653 Continue conversion of bge(4) into a hybrid interrupt/polling model including live-lock prevention. Simplify bge_setup_tso() based on stack guarantees on minimal packet layout. Rename bge_rxeof() to bge_rx() to better describe its purpose. Merge bge_ithr_msix() and bge_ithr() together as bge_ithr(). Change the order of DMA ring processing. First do the tx completion ring to free up space and allow sending to go on. Then dequeue all packets from the rx ring, drop the lock and send them up the stack. Do a maybe_yield() to observe the available quantum and let other threads run in between. Remove bge_poll() as unnecessary. Work in progress. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-12T12:24:36.377485Z K 7 svn:log V 29 Integrate from HEAD @242911. END K 10 svn:author V 3 lev K 8 svn:date V 27 2012-11-12T12:31:27.368472Z K 7 svn:log V 17 Merge from /head END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-11-12T14:04:57.797777Z K 7 svn:log V 112 add support for newer Lenovo ThinkPads to acpi_ibm PR: kern/164538 Submitted by: Pierre Imai END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-11-12T14:05:40.768543Z K 7 svn:log V 112 add support for newer Lenovo ThinkPads to acpi_ibm PR: kern/164538 Submitted by: Pierre Imai END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-11-12T14:13:49.281728Z K 7 svn:log V 202 Remove useless atoi(3), previous strspn(3) makes sure that a_name->val is a number. This also allow pw user show to work as expected. PR: bin/172112 Submitted by: Ilya A. Arkhipov END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-11-12T14:14:01.239464Z K 7 svn:log V 202 Remove useless atoi(3), previous strspn(3) makes sure that a_name->val is a number. This also allow pw user show to work as expected. PR: bin/172112 Submitted by: Ilya A. Arkhipov END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-12T14:16:39.435252Z K 7 svn:log V 90 Clarify where the authorized_key file lives. Approved by: bcr (mentor) MFC after: 3 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-11-12T14:19:05.493744Z K 7 svn:log V 225 MFC: r241107, r241108 Remove useless atoi(3), previous strspn(3) makes sure that a_name->val is a number. This also allow pw user show to work as expected. PR: bin/172112 Submitted by: Ilya A. Arkhipov END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-11-12T14:34:46.728171Z K 7 svn:log V 67 MFC 242479,242480: Force segments to 1 for mapping control spaces. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-11-12T15:17:25.058102Z K 7 svn:log V 117 MFC r242617: A clarification to the behaviour of the active vnode list management regarding the vnode page cleaning. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-11-12T18:09:25.085216Z K 7 svn:log V 233 Update MAX_TASKS to scale a bit based on MAXCPU This alleviates issues on newer Sandy/Ivy Bridge gear that seems to require boatloads more ACPI resources than before. Reviewed by: avg@ Obtained from: Yahoo! Inc. MFC after: 2 weeks END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-11-12T18:38:54.576951Z K 7 svn:log V 213 Fix a stack leak in [unused] cycle_menuitem function while we're here (required misconfiguration and/or missing environment vars to occur). Reviewed by: peterj, adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2012-11-12T19:53:55.482404Z K 7 svn:log V 681 - Fix a bug that has existed since the original softdep implementation. When a background copy of a cg is written we complete any work associated with that bmsafemap. If new work has been added to the non-background copy of the buffer it will be completed before the next write happens. The solution is to do the rollbacks when we make the copy so only those dependencies that were present at the time of writing will be completed when the background write completes. This would've resulted in various bitmap related corruptions and panics. It also would've expired journal entries early causing journal replay to miss some records. MFC after: 2 weeks END K 10 svn:author V 5 edwin K 8 svn:date V 27 2012-11-12T20:41:02.039727Z K 7 svn:log V 139 Vendor import of tzdata2012i - Cuba is changing back to Standard Time on 4 November 2012. Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2012-11-12T20:42:08.840544Z K 7 svn:log V 19 Tag of tzdata2012i END K 10 svn:author V 5 edwin K 8 svn:date V 27 2012-11-12T20:44:59.144977Z K 7 svn:log V 131 Merge of vendor import of 242925, tzdata2012i Update to tzdata2012i: - Cuba is changing back to Standard Time on 4 November 2012. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2012-11-12T20:46:31.741711Z K 7 svn:log V 102 Merge of current of 242925, tzdata2012i - Cuba is changing back to Standard Time on 4 November 2012. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2012-11-12T20:47:35.955037Z K 7 svn:log V 102 Merge of current of 242925, tzdata2012i - Cuba is changing back to Standard Time on 4 November 2012. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2012-11-12T20:48:52.051705Z K 7 svn:log V 102 Merge of current of 242925, tzdata2012i - Cuba is changing back to Standard Time on 4 November 2012. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-12T20:50:11.595305Z K 7 svn:log V 64 Fix a minor warning in sys/i386/xen/clock.c. MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2012-11-12T20:50:15.708681Z K 7 svn:log V 102 Merge of current of 242925, tzdata2012i - Cuba is changing back to Standard Time on 4 November 2012. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-12T22:01:29.678479Z K 7 svn:log V 670 Redo r242842, now actually fixing the warnings, as follows: - In sys/ofed/drivers/infiniband/core/cma.c, an enum struct member is interpreted as an int, so cast it to an int. - In sys/ofed/drivers/infiniband/core/ud_header.c, initialize the packet_length variable in ib_ud_header_init(), to prevent undefined behaviour. - In sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c, call rdma_notify() with the correct enum type and value. - In sys/ofed/include/linux/pci.h, change the PCI_DEVICE and PCI_VDEVICE macros to use C99 struct initializers, so additional members can be overridden. Reviewed by: delphij, Garrett Cooper MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-12T22:28:32.109258Z K 7 svn:log V 107 Redo r242889, now using the method from projects/amd64_xen_pv r240747. Reminded by: kib MFC after: 3 days END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-11-12T22:38:54.235780Z K 7 svn:log V 127 Add a callback function to userboot.so to fetch a list of environment variables and pass them to the kernel. Reviewed by: dfr END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-11-13T01:21:17.590249Z K 7 svn:log V 1326 Set optimized_out instead of reporting an error. This provides a better display when debugging code compiled with optimization on. GDB git revision e8395b4efd184f745070afb953f451f99e922be7 (prior to GDB's switch to GPLv3), modified for the interfaces provided by GDB 6.1.1. 2005-02-28 Daniel Jacobowitz * dwarf2loc.c (loclist_read_variable): Set optimized_out instead of reporting an error. * valprint.c (value_check_printable): New function. (common_val_print): New function. Use value_check_printable. (value_print): Use value_check_printable. * value.h (common_val_print): Add prototype. * c-valprint.c (c_val_print): Use common_val_print. * cp-valprint.c (cp_print_value_fields): Likewise. (cp_print_hpacc_virtual_table_entries): Likewise. * f-valprint.c (f_val_print): Likewise. * jv-valprint.c (java_value_print, java_print_value_fields): Likewise. * scm-valprint.c (scm_value_print): Likewise. * stack.c (print_frame_args): Likewise. * varobj.c (c_value_of_variable): Likewise. * p-valprint.c (pascal_val_print, pascal_value_print): Likewise. (pascal_object_print_value_fields): Likewise. Update call to pascal_object_print_static_field. (pascal_object_print_static_field): Remove TYPE argument. Use common_val_print. Sponsored by: ADARA Networks MFC after: 1 month END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-13T01:46:56.158057Z K 7 svn:log V 29 Make rclint work with python END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-11-13T01:48:00.556914Z K 7 svn:log V 22 Use consistent style. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-11-13T02:41:32.338479Z K 7 svn:log V 47 Pull new version of libc++ into vendor branch. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-11-13T02:42:31.783965Z K 7 svn:log V 23 Tag r167493 of libc++. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-11-13T02:50:39.687012Z K 7 svn:log V 125 Replace the single, global page queues lock with per-queue locks on the active and inactive paging queues. Reviewed by: kib END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-11-13T03:00:01.491469Z K 7 svn:log V 362 Implement TIMESEL(). This macro allow to select between getbinuptime() or binuptime() depending on the value passed to it. The rationale behind is that the effect of the relative error of getbinuptime() becomes small if the intervals we're dealing with increase. While here, move some macros to in order to avoid code duplication. Reviewed by: mav END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-11-13T03:05:28.458223Z K 7 svn:log V 450 Do not unwind past a zero PC frame. This improves GDB usability when debugging code compiled with optimization. Upstream GDB revision f0031b6d3ae9b164b3747986ab898190bd4dcf8c (prior to GDB's switch to GPLv3), with frame_debug_got_null_frame expanded inline. | 2004-12-12 Andrew Cagney | | * frame.c (get_prev_frame): When unwinding normal frames, check | that the PC isn't zero. Sponsored by: ADARA Networks MFC After: 1 month END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-11-13T03:09:26.252439Z K 7 svn:log V 72 Garbage collect the explicit "compile-with", they are no longer needed. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-11-13T03:27:43.317254Z K 7 svn:log V 40 Import new version of libc++ into base. END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-11-13T03:56:50.265707Z K 7 svn:log V 299 Revert r229954 which in turn had reverted r228556 in projects/bhyve. This was done to work around build issues when building projects/bhyve on an 8.x system at the time. The workaround is no longer needed so re-instantiate r228556 in projects/bhyve. Discussed with: grehan@ Obtained from: NetApp END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-11-13T05:58:52.024020Z K 7 svn:log V 38 Check the return value of uiomove(9). END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-11-13T06:03:43.587961Z K 7 svn:log V 49 Use uiomove return value instead of returning 0. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-11-13T06:07:13.981051Z K 7 svn:log V 20 Be more consistent. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-11-13T06:12:26.460106Z K 7 svn:log V 130 MF9: MFC: r242137: Iterate rather than use recursion. We can blow out the kernel stack if there is a long chain of fork(2)s. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-13T06:28:57.002735Z K 7 svn:log V 85 Add some debugging to try and catch an invalid TX rate (0x0) that is being reported. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-11-13T07:33:45.462350Z K 7 svn:log V 30 Fix build for FreeBSD kernel. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-11-13T07:34:46.948118Z K 7 svn:log V 37 Add some useful options to consider. END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-11-13T07:39:05.633952Z K 7 svn:log V 14 IFC @ r242940 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-11-13T07:39:49.055349Z K 7 svn:log V 173 Add preliminary Octeon PCI console support. Radisys-specific PCI console support may follow soon (it uses a proprietary memory layout, but operation looks pretty trivial.) END