ƒ¯X260140 171 429 365 239 444 891 594 240 159 240 160 348 418 233 242 234 224 289 277 144 371 202 390 235 286 607 349 383 639 116 388 974 179 444 891 371 380 115 290 859 539 197 158 273 278 193 593 136 342 260 316 156 292 181 188 345 180 168 168 320 320 320 153 153 112 237 349 1335 207 1065 159 296 163 152 196 169 198 205 193 210 199 100 102 220 238 222 265 374 607 184 1583 436 435 321 198 256 404 199 651 191 210 176 176 247 226 150 353 223 270 143 151 111 237 225 354 215 179 242 417 661 231 165 268 598 396 238 214 229 260 646 365 236 226 173 199 193 163 273 214 177 161 427 202 274 383 206 312 179 264 298 231 440 436 366 198 123 404 189 202 173 1127 592 663 390 408 460 525 236 151 313 232 262 K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-31T20:18:10.619298Z 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 K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-12-31T21:24:00.097280Z K 7 svn:log V 268 MFV r258385: (Note: this change is not applicable to FreeBSD and the file is not included in build. It's integrated for completeness). 4128 disks in zpools never go away when pulled illumos/illumos-gate@39cddb10a31c1c2e66aed69e6871d09caa4c8147 MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-12-31T21:37:24.978490Z K 7 svn:log V 142 MFV r258972: 4373 add block contents print to zstreamdump illumos/illumos-gate@994fb6b8a9d07a8021d77d79f46e30637bca3ad3 MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-12-31T21:56:02.149822Z K 7 svn:log V 346 MFC: r259801 The NFSv4 client was passing both the p and cred arguments to nfsv4_fillattr() as NULLs for the Getattr callback. This caused nfsv4_fillattr() to not fill in the Change attribute for the reply. I believe this was a violation of the RFC, but had little effect on server behaviour. This patch passes a non-NULL p argument to fix this. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-12-31T22:00:25.446935Z K 7 svn:log V 793 MFC: r259845 An intermittent problem with NFSv4 exporting of ZFS snapshots was reported to the freebsd-fs mailing list. I believe the problem was caused by the Readdir operation using VFS_VGET() for a snapshot file entry instead of VOP_LOOKUP(). This would not occur for NFSv3, since it will do a VFS_VGET() of "." which fails with ENOTSUPP at the beginning of the directory, whereas NFSv4 does not check "." or "..". This patch adds a call to VFS_VGET() for the directory being read to check for ENOTSUPP. I also observed that the mount_on_fileid and fsid attributes were not correct at the snapshot's auto mountpoints when looking at packet traces for the Readdir. This patch fixes the attributes by doing a check for different v_mount structure, even if the vnode v_mountedhere is not set. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-12-31T23:59:33.950236Z K 7 svn:log V 499 * msun/man/cosh.3: * msun/man/sinh.3: * msun/man/tanh.3: . Fix grammar. * msun/src/e_coshl.c: * msun/src/e_sinhl.c: . Fix comment. * msun/src/s_tanhl.c: . Remove unused variables. . Fix location/indentation of comments. . Use comparison involving ints instead of long double. . Re-order polynomial evaluation on ld128 for |x| < 0.25. For now, retain the older order in an "#if 0 ... #else" block. . Use int comparison to short-circuit the |x| < 1.5 condition. Requested by: bde END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-01T00:36:21.783481Z K 7 svn:log V 147 Vendor import of llvm RELEASE_34/final tag r197956 (effectively, 3.4 release): https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_34/final@197956 END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-01T00:37:10.974384Z K 7 svn:log V 67 Tag llvm tags/RELEASE_34/final r197956 (effectively, 3.4 release). END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-01T00:37:42.801278Z K 7 svn:log V 147 Vendor import of clang RELEASE_34/final tag r197956 (effectively, 3.4 release): https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_34/final@197956 END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-01T00:38:22.349674Z K 7 svn:log V 68 Tag clang tags/RELEASE_34/final r197956 (effectively, 3.4 release). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-01T00:45:28.861272Z K 7 svn:log V 251 MFV r259170: 4370 avoid transmitting holes during zfs send 4371 DMU code clean up illumos/illumos-gate@43466aae47bfcd2ad9bf501faec8e75c08095e4f NOTE: Make sure the boot code is updated if a zpool upgrade is done on boot zpool. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-01-01T00:56:26.921768Z K 7 svn:log V 322 Use an RLOCK here instead of an RWLOCK - matching all the other calls to lla_lookup(). This drastically reduces the very high lock contention when doing parallel TCP throughput tests (> 1024 sockets) with IPv6. Tested: * parallel IPv6 TCP bulk data exchange, 8192 sockets MFC after: 1 week Sponsored by: Netflix, Inc. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-01T01:00:04.200501Z K 7 svn:log V 136 (Stripped down import from Illumos) 4208 Typo in zfs_main.c: "posxiuser" llumos/illumos-gate@f38cb554a534c6df738be3f4d23327e69888e634 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-01T01:05:38.168011Z K 7 svn:log V 145 4121 vdev_label_init should treat request as succeeded when pool is read only llumos/illumos-gate@973c78e94bf9634782164382c9e291bf81161fa5 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-01T01:15:53.002701Z K 7 svn:log V 137 4369 implement zfs bookmarks 4368 zfs send filesystems from readonly pools llumos/illumos-gate@78f171005391b928aaf1642b3206c534ed644332 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-01T01:18:37.022983Z K 7 svn:log V 127 4391 panic system rather than corrupting pool if we hit bug 4390 llumos/illumos-gate@8b36997aa24d9817807faa4efa301ac9c07a2b78 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-01T01:23:40.396703Z K 7 svn:log V 192 MFV r260152: 4208 Typo in zfs_main.c: "posxiuser" illumos/illumos-gate@f38cb554a534c6df738be3f4d23327e69888e634 Note: this is a stripped down version of Illumos change. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-01T01:26:39.571892Z K 7 svn:log V 180 MFV r260153: 4121 vdev_label_init should treat request as succeeded when pool is read only Illumos/illumos-gate@973c78e94bf9634782164382c9e291bf81161fa5 MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-01-01T01:46:56.030765Z K 7 svn:log V 47 Add backchannel support to the NFSv4.1 server. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-01-01T02:49:45.660949Z K 7 svn:log V 273 MFC: r259854 The NFSv4 server would call VOP_SETATTR() with a shared locked vnode when a Getattr for a file is done by a client other than the one that holds the file's delegation. This would only happen when delegations are enabled and the problem is fixed by this patch. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-01-01T19:38:15.050253Z K 7 svn:log V 106 Increase vt(9) max glyph data to 1MB for CJK fonts with many glyphs Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 zbb K 8 svn:date V 27 2014-01-01T20:03:48.829573Z K 7 svn:log V 297 Add polarity and level support to ARM GIC Add suport for setting triggering level and polarity in GIC. New function pointer was added to nexus which corresponds to the function which sets level/sense in the hardware (GIC). Submitted by: Wojciech Macek Obtained from: Semihalf END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-01-01T20:04:43.401403Z K 7 svn:log V 139 Remove TNF license clauses 3 and 4, matching upstream Approved by raj@ (Semihalf has a copyright statement in the license block as well). END K 10 svn:author V 3 zbb K 8 svn:date V 27 2014-01-01T20:18:03.023061Z K 7 svn:log V 193 Do not attach to PCI bridges in AHCI driver Some vendors use the same VID:PID combination in AHCI and PCI bridge cards Submitted by: Wojciech Macek Obtained from: Semihalf END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-01-01T20:22:29.322539Z K 7 svn:log V 511 MFC r258281: Fix siginfo_t.si_status for wait6/waitid/SIGCHLD. Per POSIX, si_status should contain the value passed to exit() for si_code==CLD_EXITED and the signal number for other si_code. This was incorrect for CLD_EXITED and CLD_DUMPED. This is still not fully POSIX-compliant (Austin group issue #594 says that the full value passed to exit() shall be returned via si_status, not just the low 8 bits) but is sufficient for a si_status-related test in libnih (upstart, Debian/kFreeBSD). PR: kern/184002 END K 10 svn:author V 3 zbb K 8 svn:date V 27 2014-01-01T20:26:08.053568Z K 7 svn:log V 256 Use only mapped BIOs on ARM Using unmapped BIOs causes failure inside bus_dmamap_sync, since this function requires valid MVA address, which is not present if mapping is not set up. Submitted by: Wojciech Macek Obtained from: Semihalf END K 10 svn:author V 3 zbb K 8 svn:date V 27 2014-01-01T20:35:38.833204Z K 7 svn:log V 290 Fix race condition in DELAY for SP804 timer. Fix race condition in DELAY function: sc->tc was not initialized yet when time_counter pointer was set, what resulted in NULL pointer dereference. Export sysfreq to dts. Submitted by: Wojciech Macek Obtained from: Semihalf END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-01-01T21:17:08.339366Z K 7 svn:log V 545 Restructure the VMX code to enter and exit the guest. In large part this change hides the setjmp/longjmp semantics of VM enter/exit. vmx_enter_guest() is used to enter guest context and vmx_exit_guest() is used to transition back into host context. Fix a longstanding race where a vcpu interrupt notification might be ignored if it happens after vmx_inject_interrupts() but before host interrupts are disabled in vmx_resume/vmx_launch. We now called vmx_inject_interrupts() with host interrupts disabled to prevent this. Suggested by: grehan@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-01-01T21:25:13.048562Z K 7 svn:log V 21 Merge ^/head@260167. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-01-01T21:48:04.108048Z K 7 svn:log V 291 - Use counter(9) for node stats updated at a high rate. - Use simple ++ for rare events. - Use uma_zone_get_cur() to get knowledge about space left in cache. - Convert many fields of struct ng_netflow_info to 64 bit. Tested by: Viktor Velichkin Sponsored by: Nginx, Inc. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-01-01T22:14:49.369095Z 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 2014-01-01T22:22:00.886639Z 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 2014-01-01T22:35:11.961604Z K 7 svn:log V 346 MFC: r259801 The NFSv4 client was passing both the p and cred arguments to nfsv4_fillattr() as NULLs for the Getattr callback. This caused nfsv4_fillattr() to not fill in the Change attribute for the reply. I believe this was a violation of the RFC, but had little effect on server behaviour. This patch passes a non-NULL p argument to fix this. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-01-01T22:43:16.692163Z K 7 svn:log V 793 MFC: r259845 An intermittent problem with NFSv4 exporting of ZFS snapshots was reported to the freebsd-fs mailing list. I believe the problem was caused by the Readdir operation using VFS_VGET() for a snapshot file entry instead of VOP_LOOKUP(). This would not occur for NFSv3, since it will do a VFS_VGET() of "." which fails with ENOTSUPP at the beginning of the directory, whereas NFSv4 does not check "." or "..". This patch adds a call to VFS_VGET() for the directory being read to check for ENOTSUPP. I also observed that the mount_on_fileid and fsid attributes were not correct at the snapshot's auto mountpoints when looking at packet traces for the Readdir. This patch fixes the attributes by doing a check for different v_mount structure, even if the vnode v_mountedhere is not set. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-01-01T22:49:37.096055Z K 7 svn:log V 273 MFC: r259854 The NFSv4 server would call VOP_SETATTR() with a shared locked vnode when a Getattr for a file is done by a client other than the one that holds the file's delegation. This would only happen when delegations are enabled and the problem is fixed by this patch. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-01-01T22:51:19.149349Z K 7 svn:log V 284 Implement atomic_swap_. The operation was documented and implemented partially (both from a type and architecture perspective) on 2013-08-21 and got used in ZFS with revision 260150 (zfeature.c) and since ZFS is supported on ia64, the lack of having atomic_swap became problem. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-01-01T22:56:49.012046Z K 7 svn:log V 20 Merge ^/head@260175 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-01-02T01:40:19.796039Z K 7 svn:log V 194 MFC r260059, r260087: 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 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-01-02T01:44:14.126590Z K 7 svn:log V 763 MFC r260068, r260069, r260076 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 Obtained from: Netflix END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-01-02T01:51:54.268158Z K 7 svn:log V 443 MFC r260070 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. Obtained from: Netflix END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-01-02T02:20:10.464487Z K 7 svn:log V 104 Make the comment match the code. Not sure why we calculate it this weird way, but didn't change that... END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-02T03:24:44.264379Z K 7 svn:log V 62 Fix build on platforms where atomic_swap_64 is not available. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-02T04:55:23.372718Z K 7 svn:log V 176 Import a file overlooked in r260154. 4369 implement zfs bookmarks 4368 zfs send filesystems from readonly pools illumos/illumos-gate@78f171005391b928aaf1642b3206c534ed644332 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-02T07:34:36.685212Z K 7 svn:log V 181 MFV r260154 + 260182: 4369 implement zfs bookmarks 4368 zfs send filesystems from readonly pools Illumos/illumos-gate@78f171005391b928aaf1642b3206c534ed644332 MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-02T08:02:57.971846Z K 7 svn:log V 96 Minor correction for the XHCI reset logic. MFC after: 1 week Found by: Horse Ma END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-02T08:10:35.052861Z K 7 svn:log V 496 MFV r260155: When we encounter an I/O error on a piece of metadata while deleting a file system or zvol, we don't update the bptree_entry_phys_t's bookmark. This would lead to double free of bp's which will lead to space map corruption. Instead of tolerating and allowing the corruption, panic immediately. See Illumos #4390 for more details. 4391 panic system rather than corrupting pool if we hit bug 4390 Illumos/illumos-gate@8b36997aa24d9817807faa4efa301ac9c07a2b78 MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-02T08:39:47.894615Z K 7 svn:log V 40 Fix !INET6 build for various platforms. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-02T08:40:37.719660Z K 7 svn:log V 250 lla_lookup() does modification only when LLE_CREATE is specified. Thus we can use IF_AFDATA_RLOCK() instead of IF_AFDATA_LOCK() when doing lla_lookup() without LLE_CREATE flag. Reviewed by: glebius, adrian MFC after: 1 week Sponsored by: Yandex LLC END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-01-02T10:18:39.799171Z K 7 svn:log V 163 Fix regression from r249894. Now we pass "gw" as argument to if_output method, thus for multicast case we need it to point at "dst". PR: 185395 Submitted by: ae END K 10 svn:author V 3 zbb K 8 svn:date V 27 2014-01-02T11:24:04.288549Z K 7 svn:log V 223 Revert r260165: Proper configuration of unmapped_buf_allowed should be used To avoid failures in bus_dmamap_sync() on ARM unmapped_buf_allowed should be set to 0. Hence, ARM-specific changes in AHCI should not be applied. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-01-02T13:44:01.952910Z K 7 svn:log V 62 MFC r260105: Fix typo. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-01-02T13:45:24.589275Z K 7 svn:log V 197 MFC r260106: 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. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-01-02T13:46:33.240503Z K 7 svn:log V 87 MFC r259502: Reword the part about mutual CHAP. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-01-02T13:48:54.073087Z K 7 svn:log V 94 MFC r258659: Fix warnings to not append "No error: 0". Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-02T13:53:53.336903Z K 7 svn:log V 252 Revert r260073; small diff reduction wrt gcc43 and Apple GCC. Unfortunately this causes ICE on powerpc and sparc64. Reducing these differences against upstream is not important anymore so hopefully I have finished breaking the compiler occasionally. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-01-02T13:59:23.256852Z K 7 svn:log V 86 MFC r256838: Don't test arrays for being NULL. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-02T15:43:23.315244Z K 7 svn:log V 72 MFC r259870: Do not truncate the ``command'' column in ``ps'' output. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-02T16:27:30.457298Z K 7 svn:log V 72 MFC r259870: Do not truncate the ``command'' column in ``ps'' output. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-02T16:37:23.555914Z K 7 svn:log V 223 MFC r259872: The compile time constant limit on number of swap devices was removed in 5.2. As such, remove the EINVAL error saying so. Currently the vm.nswapdev sysctl just represents the number of added swap devices. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-02T16:39:11.877537Z K 7 svn:log V 223 MFC r259872: The compile time constant limit on number of swap devices was removed in 5.2. As such, remove the EINVAL error saying so. Currently the vm.nswapdev sysctl just represents the number of added swap devices. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-02T16:41:10.211823Z K 7 svn:log V 223 MFC r259872: The compile time constant limit on number of swap devices was removed in 5.2. As such, remove the EINVAL error saying so. Currently the vm.nswapdev sysctl just represents the number of added swap devices. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-02T16:48:08.022569Z K 7 svn:log V 57 MFC r259906: Draft-ietf-tcpm-initcwnd-05 became RFC6928. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-02T16:50:26.130913Z K 7 svn:log V 57 MFC r259906: Draft-ietf-tcpm-initcwnd-05 became RFC6928. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-01-02T18:30:24.964373Z K 7 svn:log V 20 Merge ^/head@260202 END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-01-02T18:49:05.215586Z K 7 svn:log V 144 Assert that accounting for the pmap resident pages does not underflow. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-01-02T18:50:52.904911Z K 7 svn:log V 256 Update the description for pmap_remove_pages() to match the modern times [1]. Assert that the pmap passed to pmap_remove_pages() is only active on current CPU. Submitted by: alc [1] Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-01-02T21:26:59.563262Z K 7 svn:log V 1241 Rework the DSDT generation code a bit to generate more accurate info about LPC devices. Among other things, the LPC serial ports now appear as ACPI devices. - Move the info for the top-level PCI bus into the PCI emulation code and add ResourceProducer entries for the memory ranges decoded by the bus for memory BARs. - Add a framework to allow each PCI emulation driver to optionally write an entry into the DSDT under the \_SB_.PCI0 namespace. The LPC driver uses this to write a node for the LPC bus (\_SB_.PCI0.ISA). - Add a linker set to allow any LPC devices to write entries into the DSDT below the LPC node. - Move the existing DSDT block for the RTC to the RTC driver. - Add DSDT nodes for the AT PIC, the 8254 ISA timer, and the LPC UART devices. - Add a "SuperIO" device under the LPC node to claim "system resources" aling with a linker set to allow various drivers to add IO or memory ranges that should be claimed as a system resource. - Add system resource entries for the extended RTC IO range, the registers used for ACPI power management, the ELCR, PCI interrupt routing register, and post data register. - Add various helper routines for generating DSDT entries. Reviewed by: neel (earlier version) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-01-02T21:30:59.165840Z K 7 svn:log V 114 Convert #defines to enums so that the values are visible in the debugger. Requested by: gibbs MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-01-02T21:57:03.148414Z K 7 svn:log V 972 MFC 255708,255711,255731: Extend the support for exempting processes from being killed when swap is exhausted. - Add a new protect(1) command that can be used to set or revoke protection from arbitrary processes. Similar to ktrace it can apply a change to all existing descendants of a process as well as future descendants. - Add a new procctl(2) system call that provides a generic interface for control operations on processes (as opposed to the debugger-specific operations provided by ptrace(2)). procctl(2) uses a combination of idtype_t and an id to identify the set of processes on which to operate similar to wait6(). - Add a PROC_SPROTECT control operation to manage the protection status of a set of processes. MADV_PROTECT still works for backwards compatability. - Add a p_flag2 to struct proc (and a corresponding ki_flag2 to kinfo_proc) the first bit of which is used to track if P_PROTECT should be inherited by new child processes. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-01-02T23:17:48.727881Z K 7 svn:log V 62 Carry one missed patch over from the pre-updated source tree. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-01-02T23:23:33.347764Z K 7 svn:log V 200 Add an option to enable or disable the small RX packet copying that is done to improve performance of small frames. When doing RX packing, the RX copying isn't necessarily required. Reviewed by: np END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-01-02T23:24:50.771375Z K 7 svn:log V 71 Retire VM_FREEPOOL_CACHE. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-01-03T00:17:52.308537Z K 7 svn:log V 60 The HOT-E HL201 has 128MB Samsung SLC NAND, ID it properly. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-01-03T00:18:38.351305Z K 7 svn:log V 103 Free the page instead of caching it in vm_pageout_scan(). Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-01-03T00:26:56.877087Z K 7 svn:log V 77 Fill in some more info about the (somewhat old) Samsung parts I have here... END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-01-03T00:51:02.218429Z K 7 svn:log V 105 Let the page daemon decide when its time to reclaim a page. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-01-03T02:22:45.147203Z K 7 svn:log V 107 Fix the callbacks for NFSv4.0, which were broken by a recent change for the NFSv4.1 backchannel callbacks. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-03T02:32:05.477433Z K 7 svn:log V 101 Add IF_AFDATA_WLOCK_ASSERT() in case lla_lookup() is called with LLE_CREATE flag. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-03T02:40:56.806840Z K 7 svn:log V 118 Use pointer to struct sockaddr_in6 in lla_lookup() call. This prevents from triggering KASSERT in in6_lltable_lookup. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-01-03T06:01:05.872646Z K 7 svn:log V 104 Add support for the MediaTek/Ralink RT3593 chipset. Committed over the ZyXEL NWD2705 on amd64 with WPA. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-01-03T06:02:08.670051Z K 7 svn:log V 7 Regen. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-03T08:31:42.619926Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-01-03T09:07:03.067008Z K 7 svn:log V 127 MFp4 @1189711: Fix resource leaks on nvlist_destroy(). Reported by: Mariusz Zaborski MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-01-03T09:10:04.392138Z K 7 svn:log V 145 MFp4 @1189741: - Add missing nvlist_destroy(). - Don't override nvlout. Submitted by: Mariusz Zaborski MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-01-03T11:03:12.395774Z K 7 svn:log V 125 Make failure of ifpromisc() a non-fatal error. This makes it possible to run carp(4) on vtnet(4). Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-01-03T12:06:54.579424Z K 7 svn:log V 168 Fix circular math macro. Submitted by: Lutz Donnerhacke via Dmitry Luhtionov German lesson at: http://lutz.donnerhacke.de/Blog/Der-Fluch-der-Stabilitaet PR: 146082 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-01-03T12:28:33.145421Z K 7 svn:log V 277 Merge r259681 from head: Changes: - Reinit uio_resid and flags before every call to soreceive(). - Set maximum acceptable size of packet to IP_MAXPACKET. As for now the module doesn't support INET6. - Properly handle MSG_TRUNC return from soreceive(). PR: 184601 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-01-03T14:30:24.523639Z K 7 svn:log V 511 MFC r258281: Fix siginfo_t.si_status for wait6/waitid/SIGCHLD. Per POSIX, si_status should contain the value passed to exit() for si_code==CLD_EXITED and the signal number for other si_code. This was incorrect for CLD_EXITED and CLD_DUMPED. This is still not fully POSIX-compliant (Austin group issue #594 says that the full value passed to exit() shall be returned via si_status, not just the low 8 bits) but is sufficient for a si_status-related test in libnih (upstart, Debian/kFreeBSD). PR: kern/184002 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-01-03T14:33:25.413428Z K 7 svn:log V 87 Remove useless register variable modifiers. Do some more style(9). MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-03T15:09:59.628705Z K 7 svn:log V 1489 Rework NFS Duplicate Request Cache cleanup logic. - Introduce additional hash to group requests by hash of sockref. This allows to process TCP acknowledgements without looping though all the cache, and as result allows to do it every time. - Indroduce additional callbacks to notify application layer about sockets disconnection. Without this last few requests processed just before socket disconnection never processed their ACKs and stuck in cache for many hours. - Implement transport-specific method for tracking reply acknowledgements. New implementation does not cross multiple stack layers to get the data and does not have race conditions that previously made some requests stuck in cache. This could be done more efficiently at sockbuf layer, but that would broke some KBIs, while I don't know other consumers for it aside NFS. - Instead of traversing all DRC twice per request, run cleaning only once per request, and except in some conditions traverse only single hash slot at a time. Together this limits NFS DRC growth only to situations of real connectivity problems. If network is working well, and so all replies are acknowledged, cache remains almost empty even after hours of heavy load. Without this change on the same test cache was growing to many thousand requests even with perfectly working local network. As another result this reduces CPU time spent on the DRC handling during SPEC NFS benchmark from about 10% to 0.5%. Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-03T15:54:12.696396Z K 7 svn:log V 343 MFC r259655 (partial), r259944: gcc: merge small upstream changes. Fix for PR c++/29928 Backport from mainline: 2007-04-24 Hui-May Chang * reload1.c (merge_assigned_reloads) : Do not merge a RELOAD_OTHER instruction with a RELOAD_FOR_OPERAND_ADDRESS instruction. Obtained from: gcc 4.3 (rev. r124115, 124724: GPLv2) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-03T15:55:20.908839Z K 7 svn:log V 342 MFC r259655 (partial), r259944 gcc: merge small upstream changes. Fix for PR c++/29928 Backport from mainline: 2007-04-24 Hui-May Chang * reload1.c (merge_assigned_reloads) : Do not merge a RELOAD_OTHER instruction with a RELOAD_FOR_OPERAND_ADDRESS instruction. Obtained from: gcc 4.3 (rev. r124115, 124724: GPLv2) END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-01-03T16:34:16.529948Z K 7 svn:log V 228 Don't check for fd limits in fdgrowtable_exp. Callers do that already and additional check races with process decreasing limits and can result in not growing the table at all, which is currently not handled. MFC after: 3 days END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-01-03T16:36:55.854987Z K 7 svn:log V 105 Plug a memory leak in dup2 when both old and new fd have ioctl caps. Reviewed by: pjd MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-03T18:08:31.228056Z K 7 svn:log V 163 Remove extra conversion to nanoseconds from ddi_get_lbolt64(). As result this uses one multiplication and shifts instead of one division and two multiplications. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-01-03T18:36:19.022079Z K 7 svn:log V 311 Update the dockstar DTS to reflect just NAND flash (no SPI NOR flash, and the LED specification was just misplaced). The rather odd memory mappings that were in place used an undocumented attribute value (0x0f) that caused problems with the system. Submitted by: Markus Pfeiffer END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-03T18:44:37.146541Z K 7 svn:log V 106 In dmu_zfetch_stream_reclaim() replace division with multiplication and move it out of the loop and lock. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-01-03T19:25:52.665660Z K 7 svn:log V 557 Fix a bug in the HPET emulation where a timer interrupt could be lost when the guest disables the HPET. The HPET timer interrupt is triggered from the callout handler associated with the timer. It is possible for the callout handler to be delayed before it gets a chance to execute. If the guest disables the HPET during this window then the handler never gets a chance to execute and the timer interrupt is lost. This is now fixed by injecting a timer interrupt into the guest if the callout time is detected to be in the past when the HPET is disabled. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-01-03T19:29:33.533384Z K 7 svn:log V 98 Use the same label name for ENTRY() and END() macros for 'vmx_enter_guest'. Pointed out by: rmh@ END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-01-03T19:31:40.992358Z K 7 svn:log V 114 Cosmetic change - switch over to vertical SRCS to make it easier to keep files in alpha order. Reviewed by: neel END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-01-03T20:02:30.342585Z K 7 svn:log V 84 MFC r259953: Fix accounting for the negative cache entries when reusing v_cache_dd. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-01-03T20:02:59.191906Z K 7 svn:log V 84 MFC r259953: Fix accounting for the negative cache entries when reusing v_cache_dd. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-01-03T20:27:15.075350Z K 7 svn:log V 154 MFC r259792: Remove references to SUP_UPDATE and CVS_UPDATE. Include base svn when evaluating if svn(1) exists. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-01-03T20:45:56.560797Z K 7 svn:log V 130 Wrap this debug statement in debug defines. Else, this driver will refuse to load. MFC after: 2 weeks Sponsored by: Yahoo! Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-03T20:47:51.928054Z K 7 svn:log V 58 MFC r259464: Fix periodic per-CPU timers startup on boot. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-01-03T21:38:33.272171Z K 7 svn:log V 260 Fix a typo that caused a loop to run beyond the end of the array it was searching. If you didn't configure a timer capture pin you'd get a data abort as it wandered into the weeds, now you get a nice warning message about your config, as originally intended. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-01-03T22:56:23.132893Z K 7 svn:log V 127 sh(1): Discourage use of -e. Also, do not say that ! before a pipeline is an operator, because it is syntactically a keyword. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-01-03T23:11:26.583597Z K 7 svn:log V 172 Use rnh_matchaddr instead of rnh_lookup for longest-prefix match. rnh_lookup is effectively the same as rnh_matchaddr if called with empy network mask. MFC after: 2 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-01-03T23:35:01.701779Z K 7 svn:log V 49 Revert r258254: Alias WCHAR_T to UCS-4-INTERNAL. END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-01-03T23:36:03.847864Z K 7 svn:log V 57 Revert r258396 : teach iconv about a WCHAR_T pseudo-type END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-04T01:08:10.056651Z K 7 svn:log V 15 Use prototype. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-04T01:12:28.510069Z K 7 svn:log V 140 Make a copy instead using constant string directly when assigning to char *. While I'm there also remove a few prototypes that are unused. END K 10 svn:author V 6 edavis K 8 svn:date V 27 2014-01-04T04:48:58.078237Z K 7 svn:log V 129 MFC Broadcom 10Gb bxe driver Merged r255736, r255861, r256299, r256341, r258187, r259928, r260113 Approved by: davidch (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-01-04T09:25:27.869900Z K 7 svn:log V 261 MFp4 @1189766: - Compile the tests with .t suffix, so prove can use them directly. - The CHECKX() macro should increment ntest just like the CHECK() macro. - For consistency remove # from the pwd.t output. Submitted by: Mariusz Zaborski END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-01-04T09:27:49.515587Z K 7 svn:log V 122 Don't allow to create GELI providers with a sector size, which is no a power of 2. Noticed by: rwatson MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-01-04T09:57:23.637524Z K 7 svn:log V 85 Properly document -u and -s. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 br K 8 svn:date V 27 2014-01-04T10:19:21.459231Z K 7 svn:log V 150 ENET on Vybrid Family SoC don't advertise its media capabilities themselves properly, so force auto-negotiation. Tested on mvf600. Reviewed by: ian END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-01-04T11:39:59.722852Z K 7 svn:log V 321 Fix several bugs in sctp_bindx(): * Set errno to EAFNOSUPPORT if an address is provided which is neither AF_INET nor AF_INET6. * Don't modify the arguments. * Don't smash the stack when provided with a non-zero port. * Handle the case correctly where the first address provided is an IPv6 address. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T15:51:31.588499Z K 7 svn:log V 568 Replace locks added in r260229 to protect sequence counters with atomics. New algorithm does not create additional lock congestion, while some races it includes should not be a problem. Those races may keep requests in DRC cache for some more time by returning ACK position smaller then actual, but it still should be able to drop thems when proper ACK finally read. Races of the original algorithm based on TCP seq number were worse because they happened when reply sequence number were recorded. After that even correctly read ACKs could not clean DRC sometimes. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-01-04T15:51:52.276360Z K 7 svn:log V 136 The whois() function is called in a loop so make sure we close the socket to the whois server before returning. Obtained from: OpenBSD END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-01-04T16:41:43.375490Z K 7 svn:log V 71 Remove what appears to be a stray debugging printf. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-01-04T16:44:05.933061Z K 7 svn:log V 173 Lower the priority of the "connect to any open wireless network" network description, so guaranteeing that any other defined network will be tried first. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-01-04T17:09:41.606720Z K 7 svn:log V 503 Allow bsdinstall to use WPA-Enterprise networks when installing. This only allows basic username/password config, and does not provide the ability to set any of the other WPA options. Regardless, this is generally sufficient to associate. Perhaps in the future this could allow full configuring (e.g. being able to set "anonymous identity", and perhaps some of the more obscure WPA options), though perhaps that will better belong in bsdconfig when that grows wlan config ability. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T17:22:53.520841Z K 7 svn:log V 303 MFC r260015: 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. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T17:27:43.276867Z K 7 svn:log V 145 MFC r260003: In libiconv_modules, surround unused static _citrus_XXX_pack_state() and _citrus_XXX_unpack_state() functions with #if 0, for now. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T17:33:05.790323Z K 7 svn:log V 121 MFC r260016: Remove superfluous old-style rcsid[] from if_sk.c. There is already an __FBSDID() at the top of the file. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T17:36:13.149333Z K 7 svn:log V 136 MFC r260017: Mark unused static inline functions defined by the PCTRIE_DEFINE() macro as __unused, so warnings about them are avoided. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-01-04T17:52:43.006420Z K 7 svn:log V 167 Correct short delete issue in SCSI UNMAP support Correct missing \n's in xpt_print's Correct incorrect count being passed to short delete xpt_print MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T17:54:06.144069Z K 7 svn:log V 553 MFC r260020: 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 r260102: 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. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T17:56:19.779304Z K 7 svn:log V 272 MFC r260102: 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. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T17:59:40.594281Z K 7 svn:log V 143 MFC r260019: For some files under sys/dev/drm2/i915, turn off warnings about unused functions and variables, since they are contributed code. END K 10 svn:author V 6 edavis K 8 svn:date V 27 2014-01-04T18:10:15.362643Z K 7 svn:log V 130 MFC Broadcom 10Gb bxe driver Merged r255736, r255861, r256299, r256341, r258187, r259928, r260113 Approved by: davidch (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T18:19:53.078668Z K 7 svn:log V 81 MFC r260025: Disable warning about unused functions for ar9300_reset.c for now. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T18:24:45.216600Z K 7 svn:log V 106 MFC r260026: Disable warning about unused functions for ieee80211_crypto.c and ieee80211_mesh.c for now. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T18:33:28.109307Z K 7 svn:log V 100 MFC r260039: Turn off warnings about unused variables for a bunch of files under contrib/ipfilter. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T18:48:29.528293Z K 7 svn:log V 71 MFC r260038: In sys/dev/en/midway.c, #if 0 an unused static function. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T18:53:31.610443Z K 7 svn:log V 180 MFC r260040: 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. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T18:58:18.728651Z K 7 svn:log V 121 MFC r260042: Remove superfluous old-style rcsid[] from if_my.c. There is already an __FBSDID() at the top of the file. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T19:04:53.554512Z K 7 svn:log V 85 MFC r260048: In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[]. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T19:13:25.999832Z K 7 svn:log V 69 MFC r260054: In sys/dev/tpm/tpm.c, #if 0 an unused static function. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-01-04T19:51:57.612306Z K 7 svn:log V 330 Merge r258690 by mav from head: Fix bug introduced at r252226, when udata argument passed to bucket_alloc() was used without making sure first that it was really passed for us. On some of my systems this bug made user argument passed by ZFS code to uma_zalloc_arg() unexpectedly block UMA per-CPU caches for those zones. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-01-04T20:59:03.644477Z K 7 svn:log V 101 Implement OFW_BUS_MAP_INTR() in terms of the FDT PIC table, which will become an ARM-specific quirk. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-01-04T21:14:33.374706Z K 7 svn:log V 173 Reimplement fdt_intr_to_rl() in terms of OFW_BUS_MAP_INTR() and OFW_BUS_CONFIG_INTR(). This function is only used by simplebus, so will likely be moved there in the future. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-01-04T21:18:22.956176Z K 7 svn:log V 290 Use bus_space_map() rather than pmap_mapdev() in nexus_activate_resource(), when running on FDT systems. Unmap memory in nexus_deactivate_resource(). Also, call rman_activate_resource() before mapping device memory, and only do the mapping if it returns success. Reviewed by: nwhitehorn END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T21:18:54.660718Z K 7 svn:log V 113 MFC r260055: In sys/dev/usb/wlan/if_urtw.c, #if 0 a static const variable, which has been unused since r198194. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-01-04T21:19:20.483902Z K 7 svn:log V 211 Remove fdt_pic_table code from MIPS, PowerPC, and x86, as it is no longer used by anything. The equivalent functionality is provided by the PIC drivers themselves on PowerPC and this is a no-op on MIPS and x86. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T21:23:49.603468Z K 7 svn:log V 87 MFC r260056: In sys/dev/vxge/vxgehal/vxgehal-ring.c, #if 0 an unused static function. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T21:32:53.940950Z K 7 svn:log V 171 MFC r260057: 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 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-01-04T21:38:41.241680Z K 7 svn:log V 205 In pmap_mapdev(), first check whether a static mapping exists, and if so use it rather than allocating kva space and making another mapping. In pmap_unmapdev(), don't unmap/free if the mapping is static. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T21:45:52.041793Z K 7 svn:log V 138 MFC r260103: In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(), which has been unused since r189415. Reviewed by: alc END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-01-04T21:55:06.041807Z K 7 svn:log V 347 Bring back the old size of the kinfo_file structure to preserve ABI. Keep only one uint64_t spare for further cap_rights_t expension. Add a comment clarifying that if the size of this structure changes, a new sysctl MIB has to be allocate for it and the old structure has to be returned by the old sysctl MIB. Requested by: re MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T22:00:07.421493Z K 7 svn:log V 343 MFC r260095: 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. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-01-04T22:09:53.287354Z K 7 svn:log V 273 Convert static device mapping to use the new arm_devmap_add_entry(), and add static mappings that cover most of the on-chip peripherals with 1MB section mappings. This adds about 220MB or so available kva space by not using a hard-coded 0xF0000000 as the mapping address. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T22:13:16.731178Z K 7 svn:log V 105 MFC r260104: For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused functions for now. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-01-04T22:14:59.640570Z K 7 svn:log V 31 Doh! Use C comments, not C++. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-01-04T22:25:26.752214Z K 7 svn:log V 306 Change semantics for rnh_lookup() function: now it performs exact match search, regardless of netmask existance. This simplifies most of rnh_lookup() consumers. Fix panic triggered by deleting non-existent host route. PR: kern/185092 Submitted by: Nikolay Denev MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-01-04T22:30:18.551885Z K 7 svn:log V 97 More NAND IDs of some really old Samsung parts, also list the part number that we're matching... END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T23:00:56.873978Z K 7 svn:log V 109 MFC r260111: For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about unused variables for now. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-04T23:12:01.929514Z K 7 svn:log V 81 MFC r260112: In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T23:31:34.641328Z K 7 svn:log V 1033 MFC r259232: Create own free list for each of the first 32 possible allocation sizes. In case of 4K allocation quantum that means for allocations up to 128K. With growth of memory fragmentation these lists may grow to quite a large sizes (tenths and hundreds of thousands items). Having in one list items of different sizes in worst case may require full linear list traversal, that may be very expensive. Having lists for items of single size means that unless user specify some alignment or border requirements (that are very rare cases) first item found on the list should satisfy the request. While running SPEC NFS benchmark on top of ZFS on 24-core machine with 84GB RAM this change reduces CPU time spent in vmem_xalloc() from 8% and lock congestion spinning around it from 20% to invisible levels. And that all is by the cost of just 26 more pointers per vmem instance. If at some point our kernel will start to actively use KVA allocations with odd sizes above 128K, something may need to be done to bigger lists also. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T23:35:34.069103Z K 7 svn:log V 499 MFC r258336: Implement soft pressure on UMA cache bucket sizes. Every time system detects low memory condition decrease bucket sizes for each zone by one item. As result, higher memory pressure will push to smaller bucket sizes and so smaller per-CPU caches and so more efficient memory use. Before this change there was no force to oppose buckets growth as result of practically inevitable zone lock conflicts, and after some run time per-CPU caches could consume enough RAM to kill the system. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T23:37:01.678951Z K 7 svn:log V 570 MFC r258337: Add two new UMA bucket zones to store 3 and 9 items per bucket. These new buckets make bucket size self-tuning more soft and precise. Without them there are buckets for 1, 5, 13, 29, ... items. While at bigger sizes difference about 2x is fine, at smallest ones it is 5x and 2.6x respectively. New buckets make that line look like 1, 3, 5, 9, 13, 29, reducing jumps between steps, making algorithm work softer, allocating and freeing memory in better fitting chunks. Otherwise there is quite a big gap between allocating 128K and 5x128K of RAM at once. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T23:38:06.884110Z K 7 svn:log V 297 MFC r258338: Grow UMA zone bucket size also on lock congestion during item free. Lock congestion is the same, whether it happens on alloc or free, so handle it equally. Now that we have back pressure, there is no problem to grow buckets a bit faster. Any way growth is much slower then in 9.x. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T23:39:39.491926Z K 7 svn:log V 315 MFC r258340, r258497: Implement mechanism to safely but slowly purge UMA per-CPU caches. This is a last resort for very low memory condition in case other measures to free memory were ineffective. Sequentially cycle through all CPUs and extract per-CPU cache buckets into zone cache from where they can be freed. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T23:40:47.709154Z K 7 svn:log V 367 MFC r258691: Don't count bucket allocation failures for UMA zones as their own failures. There are good reasons for this to happen, such as recursion prevention, etc. and they are not fatal since buckets are just an optimization mechanism. Real bucket allocation failures are any way counted by the bucket zones themselves, and we don't need double accounting there. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T23:42:24.753401Z K 7 svn:log V 432 MFC r258693: Make UMA to not blindly force offpage slab header allocation for large (> PAGE_SIZE) zones. If zone is not multiple to PAGE_SIZE, there may be enough space for the header at the last page, so we may avoid extra header memory allocation and hash table update/lookup. ZFS creates bunch of odd-sized UMA zones (5120, 6144, 7168, 10240, 14336). This change gives good use to at least some of otherwise lost memory there. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T23:43:18.105919Z K 7 svn:log V 143 MFC r258716: - Add bucket size column to `show uma` DDB command. - Add `show umacache` command to show alike stats for cache-only UMA zones. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-04T23:45:55.581523Z K 7 svn:log V 59 MFC r258256, r258390: Fix umastat build on present kernel. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-01-04T23:48:20.329448Z K 7 svn:log V 217 Replace SHUB_MMR_PIO_WSTAT0 and SHUB_MMR_PIO_WSTAT1 with a parameterized variant, called SHUB_MMR_PIO_WSTAT(x). On Shub2-based systems there are 4 slices instead of 2 and as such there are 4 PIO/MEM status registers. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-01-04T23:53:11.478945Z K 7 svn:log V 136 Save the slice in which the CPU is located in the PCPU structure. We need to know that when we want to send PTC operations to the SHub. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-05T00:32:38.531056Z K 7 svn:log V 169 libcpp: misc fixes from Apple's GCC. Fixes some bugs detected by Apple: #error with unmatched quotes pragma mark Obtained from: Apple GCC 4.2 - 5553 MFC after: 1 week END