ƒ¹260000 140 238 286 165 243 146 517 2590 2590 2590 680 173 206 206 815 678 401 219 234 152 241 378 149 602 135 562 178 204 245 925 455 151 237 258 763 763 131 306 321 168 198 278 470 219 313 327 332 436 214 182 150 623 355 162 440 166 211 184 268 572 285 384 671 473 450 405 156 566 817 905 211 554 389 754 224 312 312 196 290 3189 154 122 229 229 473 151 308 248 226 307 153 941 375 163 132 263 441 665 300 173 229 324 226 370 235 203 160 296 974 179 360 201 207 178 381 148 279 157 138 271 152 152 542 256 164 208 173 189 189 189 217 221 287 305 407 442 185 185 925 561 429 K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-28T04:46:03.395520Z K 7 svn:log V 145 Remove commented options to include src/ and ports/. Reduce image size from 4G to 1G, and enable autosize. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-12-28T05:50:53.863682Z K 7 svn:log V 190 Fix the Intel 6150 support. This chip doesn't require the temperature sensor offset, either v1 or v2. Doing so causes the initial calibration test to fail. Tested: * Intel Centrino 6150 END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-12-28T13:08:47.409864Z K 7 svn:log V 72 MFC r257631: Add myself to the committers-src list and to the calendar. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-28T13:49:48.711409Z K 7 svn:log V 150 In libiconv_modules, surround unused static _citrus_XXX_pack_state() and _citrus_XXX_unpack_state() functions with #if 0, for now. MFC after: 3 days END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-12-28T15:19:47.858636Z K 7 svn:log V 52 Catch up with r259980 and handle renamed deflate.c. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-12-28T16:08:10.212975Z K 7 svn:log V 423 Pull up fixes to allow building tests along scripts and data files. MFC of the following into stable/10: - r257095 Allow mixing bsd.files.mk with bsd.subdir.mk. - r258095 Allow this (bsd.progs.mk) to work with fmake. - r258330 Need to also test for defined(${v}_${PROG}) in bsd.progs.mk. - r259209 Make bsd.progs.mk work in directories with SCRIPTS but no PROGS. This is all 'make tinderbox' clean as run on ref10-amd64. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-12-28T19:21:22.986069Z K 7 svn:log V 2492 MFC r257155, r257582, r259191, r259192, r259193, r259194, r259195, r259196: r257155: Make hastctl list command output current queue sizes. Reviewed by: pjd r257582 (pjd): Correct alignment. r259191: For memsync replication, hio_countdown is used not only as an indication when a request can be moved to done queue, but also for detecting the current state of memsync request. This approach has problems, e.g. leaking a request if memsynk ack from the secondary failed, or racy usage of write_complete, which should be called only once per write request, but for memsync can be entered by local_send_thread and ggate_send_thread simultaneously. So the following approach is implemented instead: 1) Use hio_countdown only for counting components we waiting to complete, i.e. initially it is always 2 for any replication mode. 2) To distinguish between "memsync ack" and "memsync fin" responses from the secondary, add and use hio_memsyncacked field. 3) write_complete() in component threads is called only before releasing hio_countdown (i.e. before the hio may be returned to the done queue). 4) Add and use hio_writecount refcounter to detect when write_complete() can be called in memsync case. Reported by: Pete French petefrench ingresso.co.uk Tested by: Pete French petefrench ingresso.co.uk r259192: Add some macros to make the code more readable (no functional chages). r259193: Fix compiler warnings. r259194: In remote_send_thread, if sending a request fails don't take the request back from the receive queue -- it might already be processed by remote_recv_thread, which lead to crashes like below: (primary) Unable to receive reply header: Connection reset by peer. (primary) Unable to send request (Connection reset by peer): WRITE(954662912, 131072). (primary) Disconnected from kopusha:7772. (primary) Increasing localcnt to 1. (primary) Assertion failed: (old > 0), function refcnt_release, file refcnt.h, line 62. Taking the request back was not necessary (it would properly be processed by the remote_recv_thread) and only complicated things. r259195: Send wakeup to threads waiting on empty queue before releasing the lock to decrease spurious wakeups. Submitted by: davidxu r259196: Check remote protocol version only for the first connection (when it is actually sent by the remote node). Otherwise it generated confusing "Negotiated protocol version 1" debug messages when processing the second connection. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-12-28T19:22:23.253821Z K 7 svn:log V 2492 MFC r257155, r257582, r259191, r259192, r259193, r259194, r259195, r259196: r257155: Make hastctl list command output current queue sizes. Reviewed by: pjd r257582 (pjd): Correct alignment. r259191: For memsync replication, hio_countdown is used not only as an indication when a request can be moved to done queue, but also for detecting the current state of memsync request. This approach has problems, e.g. leaking a request if memsynk ack from the secondary failed, or racy usage of write_complete, which should be called only once per write request, but for memsync can be entered by local_send_thread and ggate_send_thread simultaneously. So the following approach is implemented instead: 1) Use hio_countdown only for counting components we waiting to complete, i.e. initially it is always 2 for any replication mode. 2) To distinguish between "memsync ack" and "memsync fin" responses from the secondary, add and use hio_memsyncacked field. 3) write_complete() in component threads is called only before releasing hio_countdown (i.e. before the hio may be returned to the done queue). 4) Add and use hio_writecount refcounter to detect when write_complete() can be called in memsync case. Reported by: Pete French petefrench ingresso.co.uk Tested by: Pete French petefrench ingresso.co.uk r259192: Add some macros to make the code more readable (no functional chages). r259193: Fix compiler warnings. r259194: In remote_send_thread, if sending a request fails don't take the request back from the receive queue -- it might already be processed by remote_recv_thread, which lead to crashes like below: (primary) Unable to receive reply header: Connection reset by peer. (primary) Unable to send request (Connection reset by peer): WRITE(954662912, 131072). (primary) Disconnected from kopusha:7772. (primary) Increasing localcnt to 1. (primary) Assertion failed: (old > 0), function refcnt_release, file refcnt.h, line 62. Taking the request back was not necessary (it would properly be processed by the remote_recv_thread) and only complicated things. r259195: Send wakeup to threads waiting on empty queue before releasing the lock to decrease spurious wakeups. Submitted by: davidxu r259196: Check remote protocol version only for the first connection (when it is actually sent by the remote node). Otherwise it generated confusing "Negotiated protocol version 1" debug messages when processing the second connection. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-12-28T19:23:16.777867Z K 7 svn:log V 2492 MFC r257155, r257582, r259191, r259192, r259193, r259194, r259195, r259196: r257155: Make hastctl list command output current queue sizes. Reviewed by: pjd r257582 (pjd): Correct alignment. r259191: For memsync replication, hio_countdown is used not only as an indication when a request can be moved to done queue, but also for detecting the current state of memsync request. This approach has problems, e.g. leaking a request if memsynk ack from the secondary failed, or racy usage of write_complete, which should be called only once per write request, but for memsync can be entered by local_send_thread and ggate_send_thread simultaneously. So the following approach is implemented instead: 1) Use hio_countdown only for counting components we waiting to complete, i.e. initially it is always 2 for any replication mode. 2) To distinguish between "memsync ack" and "memsync fin" responses from the secondary, add and use hio_memsyncacked field. 3) write_complete() in component threads is called only before releasing hio_countdown (i.e. before the hio may be returned to the done queue). 4) Add and use hio_writecount refcounter to detect when write_complete() can be called in memsync case. Reported by: Pete French petefrench ingresso.co.uk Tested by: Pete French petefrench ingresso.co.uk r259192: Add some macros to make the code more readable (no functional chages). r259193: Fix compiler warnings. r259194: In remote_send_thread, if sending a request fails don't take the request back from the receive queue -- it might already be processed by remote_recv_thread, which lead to crashes like below: (primary) Unable to receive reply header: Connection reset by peer. (primary) Unable to send request (Connection reset by peer): WRITE(954662912, 131072). (primary) Disconnected from kopusha:7772. (primary) Increasing localcnt to 1. (primary) Assertion failed: (old > 0), function refcnt_release, file refcnt.h, line 62. Taking the request back was not necessary (it would properly be processed by the remote_recv_thread) and only complicated things. r259195: Send wakeup to threads waiting on empty queue before releasing the lock to decrease spurious wakeups. Submitted by: davidxu r259196: Check remote protocol version only for the first connection (when it is actually sent by the remote node). Otherwise it generated confusing "Negotiated protocol version 1" debug messages when processing the second connection. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-12-28T19:54:19.587705Z K 7 svn:log V 584 Add a virt_foreach() that does the same as what phys_foreach() does and change virt_size(), virt_dumphdrs() and virt_dumpdata() into its callback functions. In virt_foreach() we iterate over all the virtual memory regions that we want in the minidump. For now, just start with the PBVM (= kernel text and data plus preloaded modules). The core file this produces can already be used to work out the libkvm changes that need to be made to support it. In parallel, we can flesh out the in-kernel bits to dump more of what we need in a minidump without changing the core file structure. END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-12-28T20:00:34.100646Z K 7 svn:log V 79 Bump __FreeBSD_version for r259951 - Don't coalesce entries in vm_map_stack(). END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-28T20:02:49.074493Z K 7 svn:log V 113 MFC r259666, r259696: gcc: warnings from -Wformat-security Obtained from: Apple GCC 4.2 - 5646 (Radar 5764921) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-28T20:03:14.566538Z K 7 svn:log V 113 MFC r259666, r259696: gcc: warnings from -Wformat-security Obtained from: Apple GCC 4.2 - 5646 (Radar 5764921) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-12-28T20:05:31.109257Z K 7 svn:log V 721 Set up the /usr/tests hierarchy. This is a MFC of the following into stable/10: - r257097 Set up the /usr/tests hierarchy. - r257098 Add missing WITHOUTTESTS file. - r257100 Add a tests(7) manual page. - r257105 Disable WITHTESTS= for now. - r257848 Fix buildworld when WITHTESTS is enabled. - r257850 Subsume the functionality of MKATF into MKTESTS. - r257851 Handle the removal of the test suite when WITHOUTTESTS=yes. - r257852 Install category Kyuafiles from their category directories. - r258232 Install BSD.tests.mtree when MKTESTS is yes. Note that building with WITH_TESTS is still broken at this point (and hence why WITHOUT_TESTS is the set as the default). Subsequent pullups will fix the remaining issues. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-28T20:30:31.760066Z K 7 svn:log V 585 gcc: Add support for label attributes and "unavailable" attribute. Apple GCC has extensions to support for both label attributes and an "unavailable" attribute. These are critical for objc but are also useful in regular C/C++. Apparently at least the label attributes might have found their way to upstream GCC but the code doesn't seem available on the GPLv2 tree so we are taking the code directly from Apple. To make this clearer we are preserving the annoying "APPLE LOCAL" tags and the ChangeLogs when they are available. Obtained from: Apple GCC 4.2 - 5531 MFC after: 3 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-28T20:54:08.591381Z K 7 svn:log V 308 In libc++'s type_traits header, avoid warnings (activated by our use of -Wsystem-headers) about potential keyword compatibility problems, by adding a __libcpp prefix to the applicable identifiers. Upstream is still debating about this, but we need it now, to be able to import clang 3.4. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-28T21:04:17.487526Z K 7 svn:log V 126 Remove superfluous old-style rcsid[] from if_sk.c. There is already an __FBSDID() at the top of the file. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-28T21:31:58.727446Z K 7 svn:log V 141 Mark unused static inline functions defined by the PCTRIE_DEFINE() macro as __unused, so warnings about them are avoided. MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-28T22:26:57.046452Z K 7 svn:log V 60 MFH: Tracking commit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-28T22:35:16.090719Z K 7 svn:log V 148 For some files under sys/dev/drm2/i915, turn off warnings about unused functions and variables, since they are contributed code. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-28T22:44:02.257445Z K 7 svn:log V 285 For sys/dev/drm2/radeon, only use -fms-extensions with gcc. This flag is only to stop gcc complaining about anonymous unions, which clang does not do. For clang 3.4 however, -fms-extensions enables the Microsoft __wchar_t type, which clashes with our own types.h. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-12-28T22:52:46.348008Z K 7 svn:log V 54 Fix cross-compilation of ia64 target code with clang. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-12-28T23:01:57.906965Z K 7 svn:log V 506 Allow building a cross libkvm by setting TARGET_ARCH. The library so produced will be called libkvm-${ARCH} instead of libkvm. This allows installing it alongside the native version. For symbol lookups, use ps_pglobal_lookup() instead of __fdnlist() when building a cross libkvm. It is assumed that the cross tool that uses the cross libkvm also provides an implementation for this proc_services function. Note that this commit does not change any of the architecture-specific code for cross-compilation. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-12-28T23:02:48.881832Z K 7 svn:log V 40 Allow building a cross libkvm for ia64. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-12-28T23:08:58.444081Z K 7 svn:log V 468 Plug the ATF tests into the build. This is a MFC into stable/10 of: - r257849 Add libatf-c++ to the prebuild libs. - r257853 Build and install the atf tests. - r258233 Move all atf directories to the tests mtree. - r258285 Fix the build of some ATF tests. This change is "make tinderbox" clean on ref10-amd64 with the default settings of WITHOUT_TESTS. It is likely for the WITH_TESTS build to still be broken because not all relevant changes have been merged yet. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-28T23:12:32.303767Z K 7 svn:log V 86 Disable warning about unused functions for ar9300_reset.c for now. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-28T23:17:24.986403Z K 7 svn:log V 111 Disable warning about unused functions for ieee80211_crypto.c and ieee80211_mesh.c for now. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-12-28T23:31:22.527472Z K 7 svn:log V 149 When building a cross kgdb, link against the appropriate cross libkvm. Provide an implementation of ps_pglobal_lookup() for use by the cross libkvm. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-12-29T02:31:40.742434Z K 7 svn:log V 829 Add support for virtual cores (aka minidumps). To that end, refactor this file as follows: 1. Common ia64-specific support functions have the ia64_ prefix. 2. Functions that work on physical cores have the phys_ prefix. 3. Functions that work on virtual cores have the virt_ prefix. With that: 1. _kvm_kvatop() has been renamed to phys_kvatop() as it handles physical cores only. 2. The new _kvm_kvatop() is nothing but a wrapper that calls either phys_kvatop() or virt_kvatop() by virtue of the kvatop function pointer in the vmstate structure. 3. virt_kvatop() is nothing but a wrapper around virt_addr2off(). 4. virt_addr2off() iterates over the Phdrs to find the segment in which the address falls and return the file offset for it. Now it's up to the kernel to populate the core file appropriately. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-12-29T02:57:10.501054Z K 7 svn:log V 361 Update atf to 0.18 and remove the code of the deprecated tools. This is a MFC into stable/10 of: - r258286 Update notes for imports of atf. - r258289 MFV: Import atf-0.18. - r258290 Drop all ATF tools code. This is "make tinderbox" clean as run on ref10-amd64 with the default WITHOUT_TESTS option. A "make buildworld" with WITH_TESTS set now works as well. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-12-29T03:15:15.290259Z K 7 svn:log V 56 Revert part of r260022: LIB32 builds were broken by it. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-12-29T03:43:25.325597Z K 7 svn:log V 144 In addition to r259632 completely block receive upcalls if we have more data than we need. This reduces lock pressure from xprt_active() side. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-12-29T04:54:52.009707Z K 7 svn:log V 165 Add "popmap" assertions: The page being freed isn't already free, and the page being allocated isn't already allocated. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-12-29T07:26:48.813726Z K 7 svn:log V 665 MFC of 258789: We needlessly panic when trying to flush MKDIR_PARENT dependencies. We had previously tried to flush all MKDIR_PARENT dependencies (and all the NEWBLOCK pagedeps) by calling ffs_update(). However this will only resolve these dependencies in direct blocks. So very large directories with MKDIR_PARENT dependencies in indirect blocks had not yet gotten flushed. As the directory is in the midst of doing a complete sync, we simply defer the checking of the MKDIR_PARENT dependencies until the indirect blocks have been sync'ed. Reported by: Shawn Wallbridge of imaginaryforces.com Tested by: John-Mark Gurney PR: 183424 END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-12-29T07:29:45.124773Z K 7 svn:log V 665 MFC of 258789: We needlessly panic when trying to flush MKDIR_PARENT dependencies. We had previously tried to flush all MKDIR_PARENT dependencies (and all the NEWBLOCK pagedeps) by calling ffs_update(). However this will only resolve these dependencies in direct blocks. So very large directories with MKDIR_PARENT dependencies in indirect blocks had not yet gotten flushed. As the directory is in the midst of doing a complete sync, we simply defer the checking of the MKDIR_PARENT dependencies until the indirect blocks have been sync'ed. Reported by: Shawn Wallbridge of imaginaryforces.com Tested by: John-Mark Gurney PR: 183424 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-12-29T09:17:43.977072Z K 7 svn:log V 35 MFC r259922: Fix an apparent typo. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-12-29T11:19:09.632956Z K 7 svn:log V 213 Introduce xprt_inactive_self() -- variant for use when sure that port is assigned to thread. For example, withing receive handlers. In that case the function reduces to single assignment and can avoid locking. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-12-29T12:30:06.104089Z K 7 svn:log V 227 Add sample test programs. This is a MFC of the following into stable/10: - r258299 Add some sample test programs. - r258552 Generate plain sh test programs from a source file. As usual, "make tinderbox" clean on ref10-amd64. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-29T14:19:15.288418Z K 7 svn:log V 76 In sys/dev/en/midway.c, #if 0 an unused static function. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-29T14:21:55.014678Z K 7 svn:log V 105 Turn off warnings about unused variables for a bunch of files under contrib/ipfilter. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-29T16:28:37.663828Z K 7 svn:log V 185 In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used, so it ends up in the object file, and no warnings are emitted about it being actually unused. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T16:43:35.405190Z K 7 svn:log V 374 Record the IEEE P1282 Rock Ridge version 1.12 POSIX File Serial Number, i. e. the POSIX:5.6.1 st_ino field, which can be used to detect hard links in the file system. This is also the default in mkisofs(8) and according to its man page, no system only being able to cope with Rock Ridge version 1.10 is known to exist. PR: 185138 Submitted by: Kurt Lidl MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-29T17:03:45.522949Z K 7 svn:log V 126 Remove superfluous old-style rcsid[] from if_my.c. There is already an __FBSDID() at the top of the file. MFC after: 3 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-12-29T17:08:30.440281Z K 7 svn:log V 218 The arguments to sched:::off-cpu are the thread and associated process of the thread selected to run, not the currently running thread. This fix has already been made for ULE in r252070. PR: 177706 MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T17:37:32.965339Z K 7 svn:log V 231 Free the MSI again on detach if allocated. Arguably, this code would be better off living in aac_pci.c, but it doesn't seem worth creating a aac_pci_detach() and it's also not the first PCI-specific bit in aac.c MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T17:43:37.655075Z K 7 svn:log V 236 - Simplify MSI allocation and release. For a single one, we don't need to fiddle with the MSI count and pci_release_msi(9) is smart enough to just do nothing in case of INTx. - Don't allocate MSI as RF_SHAREABLE. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-29T18:34:29.146048Z K 7 svn:log V 339 Fix the parse type for NGM_LISTTYPES. Actually, text versions of generic commands are not used, since ngctl(8) uses binary messages for them. And to request a text command one needs a working ngctl(8). That's why the bug was never discovered. I'm pondering on removing the text support for generic commands. Found by: dim with clang 3.4 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-12-29T18:44:12.793617Z K 7 svn:log V 118 Clean up license text - Renumber Regents clauses - Remove clause 3 and 4 from TNF license, following upstream change END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-29T18:53:45.202316Z K 7 svn:log V 90 In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[]. MFC after: 3 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-12-29T19:02:33.939885Z K 7 svn:log V 54 Add mibs for hastd(1) queue stats. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T19:21:59.191533Z K 7 svn:log V 527 - Switch to using the common MII bitbang'ing code instead of duplicating it. - Based on lessons learnt with dc(4) (see r185750), add bus space barriers to the MII bitbang read and write functions as well as to instances of page switching. - Add missing locking to ed_ifmedia_{upd,sts}(). - Canonicalize some messages. - Based on actual functionality, ED_TC5299J_MII_DIROUT should be rather named ED_TC5299J_MII_DIRIN. - Remove unused headers. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. MFC after: 1 week END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-12-29T19:27:32.362721Z K 7 svn:log V 260 When clearing relocations to __dtrace* symbols, handle both SHT_REL and SHT_RELA sections properly instead of assuming that the relocation section is of type SHT_REL. Submitted by: Prashanth Kumar (original version) MFC after: 1 month END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-29T19:31:49.013330Z K 7 svn:log V 66 Claim copyright since I've almost rewritten this file in r256512. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T19:32:27.416187Z K 7 svn:log V 344 - There's no need to keep track of resource IDs. - Simplify MSI allocation and release. For a single one, we don't need to fiddle with the MSI count and pci_release_msi(9) is smart enough to just do nothing in case of INTx. - Don't allocate MSI as RF_SHAREABLE. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-29T19:55:06.726435Z K 7 svn:log V 74 In sys/dev/tpm/tpm.c, #if 0 an unused static function. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-29T20:05:48.655804Z K 7 svn:log V 118 In sys/dev/usb/wlan/if_urtw.c, #if 0 a static const variable, which has been unused since r198194. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-29T20:16:12.692274Z K 7 svn:log V 92 In sys/dev/vxge/vxgehal/vxgehal-ring.c, #if 0 an unused static function. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-29T20:23:08.463696Z K 7 svn:log V 175 In sys/dev/scc, remove unused static function scc_setmreg(). While here, invoke scc_getmreg() in two more places where it can be used. Reviewed by: marcel MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T20:41:32.327062Z K 7 svn:log V 476 - Remove a redundant variable in mpt_pci_attach(). - #if 0 the currently unused paired port linking and unlinking of dual adapters. - Simplify MSI/MSI-X allocation and release. For a single one, we don't need to fiddle with the MSI/MSI-X count and pci_release_msi(9) is smart enough to just do nothing in case of INTx. - Canonicalize actions taken on attach failure and detach. - Remove the remainder of incomplete support for older FreeBSD versions. MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-12-29T20:48:47.378389Z K 7 svn:log V 189 Add the '-b' flag to 'camcontrol devlist'. This prints only the existing buses and their parent sims, useful for creating a sim->bus->device map. Obtained from: Netflix MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-29T22:20:06.892714Z K 7 svn:log V 287 Fix couple of bugs from r257692 related to scan of address list on an interface: - in in_control() skip over not AF_INET addresses. - in in_aifaddr_ioctl() and in_difaddr_ioctl() do correct check of address family, w/o accessing memory beyond struct ifaddr. Sponsored by: Nginx, Inc. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T22:43:14.800365Z K 7 svn:log V 575 - Add support for using MSI instead of INTx, controllable via the tunable hw.ral.msi_disable (defaulting to using MSI). - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - Use PCIR_BAR instead of a homegrown macro. - There's no need to keep track of resource IDs. - Release resources again in case attaching fails. - Quiesce the interrupt before detaching. - Sprinkle const. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. - Trim headers. - Nuke dupe $FreeBSD$. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T22:56:05.451306Z K 7 svn:log V 377 - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - Use PCIR_BAR instead of a homegrown macro. - There's no need to keep track of resource IDs. - Quiesce the interrupt before actually detaching. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. - Nuke dupe $FreeBSD$. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T23:05:01.046795Z K 7 svn:log V 354 - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - Use PCIR_BAR instead of a homegrown macro. - There's no need to keep track of resource IDs. - Quiesce the interrupt before actually detaching. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-29T23:46:59.558145Z K 7 svn:log V 309 - Probe with BUS_PROBE_DEFAULT instead of 0. - Nuke code setting PCI_POWERSTATE_D0; pci(4) already does that for type 0 devices. - There's no need to keep track of resource IDs. - Quiesce the interrupt before actually detaching. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-30T00:43:24.199320Z K 7 svn:log V 61 MFC: r255937 Implement GET_STACK_USAGE. Discussed with: mav END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-12-30T00:51:25.244527Z K 7 svn:log V 471 * ld80/k_expl.h: * ld128/k_expl.h: . Split out a computational kernel,__k_expl(x, &hi, &lo, &k) from expl(x). x must be finite and not tiny or huge. The kernel returns hi and lo values for extra precision and an exponent k for a 2**k scale factor. . Define additional kernels k_hexpl() and hexpl() that include a 1/2 scaling and are used by the hyperbolic functions. * ld80/s_expl.c: * ld128/s_expl.c: . Use the __k_expl() kernel. Obtained from: bde END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-12-30T01:06:21.492795Z K 7 svn:log V 722 * Makefile: . Hook coshl, sinhl, and tanhl into libm. . Create symbolic links for corresponding manpages. . While here remove a nearby extraneous space. * Symbol.map: * src/math.h: . Move coshl, sinhl, and tanhl to their proper locations. * man/cosh.3: * man/sinh.3: * man/tanh.3: . Update the manpages. * src/e_cosh.c: * src/e_sinh.c: * src/s_tanh.c: . Add weak reference for LBDL_MANT_DIG==53 targets. * src/imprecise.c: . Remove the coshl, sinhl, and tanhl kludge. * src/e_coshl.c: . ld80 and ld128 implementation of coshl(). * src/e_sinhl.c: . ld80 and ld128 implementation of sinhl(). * src/s_tanhl.c: . ld80 and ld128 implementation of tanhl(). Obtained from: bde (mostly), das and kargl END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-12-30T01:16:08.164214Z K 7 svn:log V 809 Add the -R option to allow fsck_ffs to restart itself when too many critical errors have been detected in a particular run. Clean up the global state variables so that a restart can happen correctly. Separate the global variables in fsck_ffs and fsdb to their own file. This fixes header sharing with fscd. Correctly initialize, static-ize, and remove global variables as needed in dir.c. This fixes a problem with lost+found directories that was causing a segfault. Correctly initialize, static-ize, and remove global variables as needed in suj.c. Initialize the suj globals before allocating the disk object, not after. Also ensure that 'preen' mode doesn't conflict with 'restart' mode Submitted by: scottl, max Reviewed by: max, mckusick (earlier version) Obtained from: Netflix MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-12-30T01:17:05.599740Z K 7 svn:log V 115 Add globs.c to the build now that it's a separate file. Reviewed by: max Obtained from: Netflix MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-12-30T01:32:17.037494Z K 7 svn:log V 458 Multi-queue NIC drivers and multi-port lagg tend to use the same lower bits of the flowid as each other, resulting in a poor distribution of packets among queues in certain cases. Work around this by adding a set of sysctls for controlling a bit-shift on the flowid when doing multi-port aggrigation in lagg and lacp. By default, lagg/lacp will now use bits 16 and higher instead of 0 and higher. Reviewed by: max Obtained from: Netflix MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-30T02:19:23.617329Z K 7 svn:log V 296 MFC r259868, r259881, 259955: r259868 (jmmv): Delay copying of resolv.conf into the chroot until /etc exists. r259881 (jmmv): Put the release objdir inside the chroot. 259955: Move build_doc_ports() to the if...fi block from which it is called. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-30T02:19:48.003911Z K 7 svn:log V 661 MFC r254293, r259868, r259881, 259955: r254293: - Only set ARCH_FLAGS (TARGET/TARGET_ARCH) if specified, otherwise allow the toolchain to detect the correct values. - Remove {SRC,DOC,PORT}REVISION variables, and use 'branch@rNNNNNN' as the {SRC,DOC,PORT}BRANCH variables. - Only set default KERNEL_FLAGS and WORLD_FLAGS make(1) jobs if the number of CPUs is greater than 1. r259868 (jmmv): Delay copying of resolv.conf into the chroot until /etc exists. r259881 (jmmv): Put the release objdir inside the chroot. 259955: Move build_doc_ports() to the if...fi block from which it is called. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-30T02:52:43.306858Z K 7 svn:log V 131 gcc: small diff reduction wrt gcc43 and Apple GCC. Obtained from: gcc 4.3 (rev. 121464, 122528, 124106; GPLv2) MFC after: 3 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-30T03:39:46.242913Z K 7 svn:log V 219 MFC r259005, r259092: gcc: Add -flax-vector-conversions gcc: new fvisibility-ms-compat option These are useful for compatibility with newwer gcc and clang. Obtained from: gcc 4.3 (rev. 120572, 120688, 126088; GPLv2) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-30T03:40:16.324359Z K 7 svn:log V 219 MFC r259005, r259092: gcc: Add -flax-vector-conversions gcc: new fvisibility-ms-compat option These are useful for compatibility with newwer gcc and clang. Obtained from: gcc 4.3 (rev. 120572, 120688, 126088; GPLv2) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-12-30T05:02:57.435952Z K 7 svn:log V 100 Add globs.c, missed in r260068,260069 Submitted by: peter Obtained from: Netflix MFC after: 3 Days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-12-30T05:19:27.457365Z K 7 svn:log V 194 Merge r256563: In the flowtable scanner, restart the scan at the last found position, not at position 0. Changes the scanner from O(N^2) to O(N). Reviewed by: emax Obtained from: Netflix END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-12-30T05:22:22.224691Z K 7 svn:log V 3090 MFC of 256801, 256803, 256808, 256812, 256817, 256845, and 256860. This set of changes puts in place the infrastructure to allow soft updates to be multi-threaded. It introduces no functional changes from its current operation. MFC of 256860: Allow kernels without options SOFTUPDATES to build. This should fix the embedded tinderboxes. Reviewed by: emaste MFC of 256845: Fix build problem on ARM (which defaults to building without soft updates). Reported by: Tinderbox Sponsored by: Netflix MFC of 256817: Restructuring of the soft updates code to set it up so that the single kernel-wide soft update lock can be replaced with a per-filesystem soft-updates lock. This per-filesystem lock will allow each filesystem to have its own soft-updates flushing thread rather than being limited to a single soft-updates flushing thread for the entire kernel. Move soft update variables out of the ufsmount structure and into their own mount_softdeps structure referenced by ufsmount field um_softdep. Eventually the per-filesystem lock will be in this structure. For now there is simply a pointer to the kernel-wide soft updates lock. Change all instances of ACQUIRE_LOCK and FREE_LOCK to pass the lock pointer in the mount_softdeps structure instead of a pointer to the kernel-wide soft-updates lock. Replace the five hash tables used by soft updates with per-filesystem copies of these tables allocated in the mount_softdeps structure. Several functions that flush dependencies when too many are allocated in the kernel used to operate across all filesystems. They are now parameterized to flush dependencies from a specified filesystem. For now, we stick with the round-robin flushing strategy when the kernel as a whole has too many dependencies allocated. While there are many lines of changes, there should be no functional change in the operation of soft updates. Tested by: Peter Holm and Scott Long Sponsored by: Netflix MFC of 256812: Fourth of several cleanups to soft dependency implementation. Add KASSERTS that soft dependency functions only get called for filesystems running with soft dependencies. Calling these functions when soft updates are not compiled into the system become panic's. No functional change. Tested by: Peter Holm and Scott Long Sponsored by: Netflix MFC of 256808: Third of several cleanups to soft dependency implementation. Ensure that softdep_unmount() and softdep_setup_sbupdate() only get called for filesystems running with soft dependencies. No functional change. Tested by: Peter Holm and Scott Long Sponsored by: Netflix MFC of 256803: Second of several cleanups to soft dependency implementation. Delete two unused functions in ffs_sofdep.c. No functional change. Tested by: Peter Holm and Scott Long Sponsored by: Netflix MFC of 256801: First of several cleanups to soft dependency implementation. Convert three functions exported from ffs_softdep.c to static functions as they are not used outside of ffs_softdep.c. No functional change. Tested by: Peter Holm and Scott Long Sponsored by: Netflix END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-12-30T06:19:42.739692Z K 7 svn:log V 57 Properly handle unsigned comparison. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-12-30T08:36:17.536646Z K 7 svn:log V 27 Add netpfil to CSCOPEDIRS. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-12-30T08:57:54.972291Z K 7 svn:log V 136 MFC r259951: Do not coalesce stack entry. Pass MAP_STACK_GROWS_DOWN and MAP_STACK_GROWS_UP flags to vm_map_insert() from vm_map_stack() END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-12-30T09:04:06.152522Z K 7 svn:log V 136 MFC r259951: Do not coalesce stack entry. Pass MAP_STACK_GROWS_DOWN and MAP_STACK_GROWS_UP flags to vm_map_insert() from vm_map_stack() END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-12-30T12:18:06.464203Z K 7 svn:log V 378 Fix extremely slow operation with data digests enabled. This was caused by receive code waiting for data digest even when the data segment was empty. It didn't actually read it, but it waited until those four bytes become available in the socket buffer, i.e. until any other PDU (such as NOP) came in. PR: kern/185240 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-12-30T13:05:19.062262Z K 7 svn:log V 55 MFC r259879: Clean up manual pages after BIND removal. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-12-30T14:09:04.137832Z K 7 svn:log V 214 Fix 'make check-old' warnings when WITHOUT_TESTS is set. This is a MFC of r258025 and r257940, both of which resolve issues with dynamically setting the list of obsolete files based on the contents of /usr/tests. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-12-30T16:46:50.418955Z K 7 svn:log V 152 - Probe with BUS_PROBE_DEFAULT instead of 0. - Remove clearing PCIM_CMD_INTxDIS; pci(4) will do that as appropriate since r189367. MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-12-30T16:49:31.077804Z K 7 svn:log V 130 getopt returns an int, not a char, so use the correct data type for the return value. Fixes powerpc tinderbox. MFC after: 2 days END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-12-30T17:04:24.668762Z K 7 svn:log V 209 Fine tune filesystem block allocations under low free-space conditions (-r254995) based on further operational experience. Submitted by: Dmitry Sivachenko Fix Tested by: Dmitry Sivachenko MFC after: 2 weeks END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-12-30T17:11:36.732129Z K 7 svn:log V 59 Fix a mismerge of my local doc changes to msun/man/sinh.3. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2013-12-30T17:26:06.704963Z K 7 svn:log V 847 Add scripts to set up a single Kyua testing node. This new 'autotest' directory is intended to contain scripts and configuration files used to set up the Kyua testing cluster. This specific commit brings in only the code used to bring up a single node in the cluster. Be aware that most of the code in here is only temporary glue until Kyua itself becomes a better test harness with support for multiple hosts and consolidated reports. (All this stuff is planned but it's a non-trivial amount of work so, in the meantime, we get something ad hoc but useful.) It is also possible that parts of this code might end up in src (like the generation of VM disk images). However, this whole thing is not intended to be part of src and is why it is being checked in the user/ hierarchy. And, finally: what's in the autotest name? Nothing special. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-12-30T17:37:32.190261Z K 7 svn:log V 280 Now that vmem(9) is available, use vmem arenas to allocate probe and aggregation IDs, as is done in the upstream illumos code. This still requires some FreeBSD-specific code, as our vmem API is not identical to the one in illumos. Submitted by: Mike Ma END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-30T18:07:50.621852Z K 7 svn:log V 71 Allow AT91_MCI_ALLOW_OVERCLOCK to be an option in kernel config files. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-30T18:10:04.746765Z K 7 svn:log V 40 Set the SoC name for the atmelbus name. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-30T18:42:09.175239Z K 7 svn:log V 170 Add manual page entities needed for the -RELEASE build that do not exist in the doc/release/10.0.0/ tag. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-30T19:05:50.346027Z K 7 svn:log V 348 For sys/boot/i386 and sys/boot/pc98, separate flags to be passed directly to the linker (LD_FLAGS) from flags passed indirectly, via the compiler driver (LDFLAGS). This is because several Makefiles under sys/boot/i386 and sys/boot/pc98 use ${LD} directly to link, and the normal LDFLAGS value should not be used in these cases. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-30T20:15:46.810514Z K 7 svn:log V 572 MFC r257532 (by adrian): Fix this build for clang. MFC r259730: To avoid having to explicitly test COMPILER_TYPE for setting clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler. MFC r259913: For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc. MFC r259927: Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's Makefile. Pointy hat to: dim END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-12-30T20:23:15.274856Z K 7 svn:log V 207 Move most of NFS file handle affinity code out of the heavily congested global RPC thread pool lock and protect it with own set of locks. On synthetic benchmarks this improves peak NFS request rate by 40%. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-12-30T20:23:40.557329Z K 7 svn:log V 81 Added old iosize_max test scenario. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-30T20:24:05.754572Z K 7 svn:log V 136 gcc: Fix issue with "unavailable" attribute. While here, point where we dropped the support for objc from r260014. MFC after: 3 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-30T20:27:58.298740Z K 7 svn:log V 231 MFC r259902: In sys/dev/drm/mach64_dma.c, remove static function mach64_set_dma_eol(), which has never been used, even by upstream, since its initial upstream commit (see http://cgit.freedesktop.org/mesa/drm/commit/?id=873e1c4d ) END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-30T20:32:27.190744Z K 7 svn:log V 133 MFC r259928: In sys/dev/bxe/bxe.c, remove static function bxe_has_tx_work_unload(), which has never been used. Reviewed by: edavis END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-30T20:34:53.872993Z K 7 svn:log V 277 Similar to r260020, only use -fms-extensions with gcc, for all other modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable, defined in kern.pre.mk, which can be used to easily supply the flag (or not), depending on the compiler type. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-30T20:37:47.227190Z K 7 svn:log V 142 In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(), which has been unused since r189415. Reviewed by: alc MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-30T20:58:06.427428Z K 7 svn:log V 110 For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused functions for now. MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-12-30T21:04:24.602789Z K 7 svn:log V 66 Fix typo. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-12-30T21:06:08.587907Z K 7 svn:log V 201 The devd part never got implemented; remove for now, until someone actually needs this feature and can talk to me about how it should look like. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-12-30T21:17:20.045504Z K 7 svn:log V 876 MFC: r259084 For software builds, the NFS client does many small synchronous (with FILE_SYNC) writes because non-contiguous byte ranges in the same buffer cache block are being written. This patch adds a new mount option "noncontigwr" which allows the non-contiguous byte ranges to be combined, with the dirty byte range becoming the superset of the bytes that are dirty, if the file has not been file locked. This reduces the number of writes significantly for software builds. The only case where this change might break existing applications is where an application is writing non-overlapping byte ranges within the same buffer cache block of a file from multiple clients concurrently. Since such an application would normally do file locking on the file, avoiding the byte range merge for files that have been file locked should be sufficient for most (maybe all?) cases. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-12-30T21:20:51.308213Z K 7 svn:log V 82 MFC: r259089 Document the noncontigwr NFS mount option. This is a content change. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-12-30T21:24:41.924755Z K 7 svn:log V 262 MFC: r259771 The NFSv4.1 client didn't return NFSv4.1 specific error codes for the Getattr and Recall callbacks. This patch fixes it. Since the NFSv4.1 specific error codes would only happen for abnormal circumstances, this patch has little effect, in practice. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-12-30T21:30:49.874594Z K 7 svn:log V 104 Eliminate unused drbr_stats_update implementation in oce(4) driver. Noticed by: dim MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-30T22:14:31.119949Z K 7 svn:log V 114 For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about unused variables for now. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-30T22:17:33.914489Z K 7 svn:log V 86 In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions. MFC after: 3 days END K 10 svn:author V 6 edavis K 8 svn:date V 27 2013-12-30T23:02:26.159199Z K 7 svn:log V 285 For TSO, when the first mbuf contains both the packet header and data, the header is split out into its own BD for processing by the firmware. When this split occurred the data length in the BD was not being set correctly resulting in packet corruption. Approved by: davidcd (mentor) END K 10 svn:author V 6 edavis K 8 svn:date V 27 2013-12-30T23:46:35.264569Z K 7 svn:log V 53 Approved by: re@ (gjb) Approved by: davidch (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-31T00:21:15.824468Z K 7 svn:log V 186 Revert r259862: Don't try to bootstrap a utility that does not exist in the branch. Pointyhat: gjb Submitted by: John W. O'Brien (via -stable@) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-12-31T00:45:24.633154Z K 7 svn:log V 66 Migrate jls(8) from using struct in6_addr to struct sockaddr_in6. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-12-31T01:11:03.342594Z K 7 svn:log V 41 Merge in an up to date kernel from head. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-31T04:40:25.021015Z K 7 svn:log V 178 Delete echoed doesn't rub out the previous character, so always use instead. This fixes hitting DELETE instead of BACKSPACE at mountroot> prompt. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-12-31T05:15:29.688728Z K 7 svn:log V 58 MFC r256717: Update firmware for run(4) to version 0.33. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-12-31T05:20:44.166742Z K 7 svn:log V 58 MFC r256717: Update firmware for run(4) to version 0.33. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-31T07:36:39.486610Z K 7 svn:log V 449 Add support for Samsung K9F2G08U0A (256MiB SLC) NAND found on some old Atmel boards I have. # All Samsung, Toshiba and SanDisk parts will need to be in this table # since they don't conform to the ONFI specification (they are all Toggle # parts). There's some standards for the additional bytes so there's some hope # to decode them automatically on a per-vendor basis, but even that has # problems (and is what motivated the ONFI parameter page). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-12-31T08:02:34.971219Z K 7 svn:log V 163 MFC r259951: Do not coalesce stack entry. Pass MAP_STACK_GROWS_DOWN and MAP_STACK_GROWS_UP flags to vm_map_insert() from vm_map_stack() Approved by: re (delphij) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-12-31T11:54:37.948637Z K 7 svn:log V 72 Added old regression test. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-12-31T12:11:48.290053Z K 7 svn:log V 110 Explicitly free rt_tables to please Coverity. Reported by: Coverity Coverity CID: 1147174 MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-31T12:18:10.538538Z K 7 svn:log V 81 Bump copyright year. Happy New Year 2014! Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-31T12:24:38.474548Z K 7 svn:log V 97 MFC r260125: Bump copyright year. Happy New Year 2014! Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-31T12:24:51.488838Z K 7 svn:log V 97 MFC r260125: Bump copyright year. Happy New Year 2014! Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-31T12:25:04.544415Z K 7 svn:log V 97 MFC r260125: Bump copyright year. Happy New Year 2014! Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-31T12:27:22.091427Z K 7 svn:log V 124 MFC r260125: Bump copyright year. Happy New Year 2014! Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-31T12:36:46.671287Z K 7 svn:log V 128 Update releng/10.0/ to -RC4 as part of the 10.0-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-12-31T15:37:51.687399Z K 7 svn:log V 192 Revert r260091. The vmem calls seem to be slower than the *_unr() calls that they replaced, which is important considering that probe IDs are allocated during process startup for USDT probes. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-12-31T15:41:16.172680Z K 7 svn:log V 210 Allocate the probe ID unrhdr before the DTrace kld_* event handlers are registered. Otherwise there is a small window during which probe IDs may be allocated before the unrhdr is allocated. MFC after: 2 weeks END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-12-31T15:45:12.091985Z K 7 svn:log V 312 Some DTrace tests (mostly in the pid provider directory) make use of executable ksh scripts. These are currently not copied into the test directory the way that compiled executables are, so the tests which make use of them cannot work. This changes the test Makefile to copy the scripts into the test directory. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-12-31T16:01:17.988393Z K 7 svn:log V 347 MFC r252064: Rename run(4) firmware file from runfw to run.fw. Previous name was the same as top-level target name for "device runfw" kernel option and caused cyclic dependancy that lead to kernel build breakage Module change is not strictly required and done for name unification sake PR: conf/175751 Submitted by: Issei END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-12-31T17:29:03.164305Z K 7 svn:log V 91 Bump __FreeBSD_version for MFC of r259951 - don't coalesce map entries for vm_map_stack(). END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-12-31T17:29:29.326840Z K 7 svn:log V 91 Bump __FreeBSD_version for MFC of r259951 - don't coalesce map entries for vm_map_stack(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-12-31T18:25:15.506041Z K 7 svn:log V 832 Since the introduction of the popmap to reservations in r259999, there is no longer any need for the page's PG_CACHED and PG_FREE flags to be set and cleared while the free page queues lock is held. Thus, vm_page_alloc(), vm_page_alloc_contig(), and vm_page_alloc_freelist() can wait until after the free page queues lock is released to clear the page's flags. Moreover, the PG_FREE flag can be retired. Now that the reservation system no longer uses it, its only uses are in a few assertions. Eliminating these assertions is no real loss. Other assertions catch the same types of misbehavior, like doubly freeing a page (see r260032) or dirtying a free page (free pages are invalid and only valid pages can be dirtied). Eliminate an unneeded variable from vm_page_alloc_contig(). Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-12-31T19:39:15.122842Z K 7 svn:log V 464 MFV r242733: 3306 zdb should be able to issue reads in parallel 3321 'zpool reopen' command should be documented in the man page and help message illumos/illumos-gate@31d7e8fa33fae995f558673adb22641b5aa8b6e1 FreeBSD porting notes: the kernel part of this changeset depends on Solaris buf(9S) interfaces and are not really applicable for our use. vdev_disk.c is patched as-is to reduce diverge from upstream, but vdev_file.c is left intact. MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-31T20:15:21.664442Z K 7 svn:log V 336 MFC r259525, r259526, r259529 gcc: small merges from upstream fix ICE in rs6000 when using -fno-trapping-math. Solves GCC-PR target/30485 Solve GCC issues: PR middle-end/32602 PR middle-end/32603 Updates the to documentation and processing improvement. Obtained from: gcc 4.3 (rev. 120902, 120902, 119427, 126278, 126422; GPLv2) END