ıM208711 190 270 200 399 416 224 223 248 248 225 449 291 167 428 104 144 145 112 209 212 195 322 217 178 163 189 137 1847 155 239 183 143 438 196 219 280 168 701 283 185 198 279 342 246 805 263 201 221 382 145 178 263 365 159 178 301 463 426 305 799 207 287 222 508 340 293 192 586 475 202 204 204 204 204 191 337 182 255 156 307 197 240 172 186 872 393 161 173 185 393 196 337 178 325 304 134 298 187 331 264 159 236 186 175 220 155 175 220 220 173 176 350 176 177 184 239 207 215 262 145 178 266 292 715 486 351 606 183 113 267 173 174 185 169 113 141 208 212 284 278 186 228 259 348 196 529 126 175 183 252 175 250 948 156 221 128 949 179 232 311 588 194 123 395 291 403 560 165 970 561 144 480 144 247 387 214 247 255 253 168 239 235 323 302 334 285 220 702 230 649 192 K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-01T15:33:10.644107Z K 7 svn:log V 174 Bring in a couple of fixes from the Linux ath9k related to chip hangs. While there, try to make the register write pattern look like what's done by ath9k. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-01T15:47:57.812033Z K 7 svn:log V 104 Rewrite ar9285SetBoardValues() to match what ath9k does and fix out of bounds reads. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T15:50:25.686313Z K 7 svn:log V 302 Merge c178262, c178281, c179048 from the p4 TrustedBSD Capabilities branch to capabilities8: libcapsicum changes: Only set *relative_name if relative_name != NULL Only do relative naming if the retrieved filename has length > 0 Reverting an (accidental) previous change Submitted by: jona END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-01T15:51:31.914575Z K 7 svn:log V 318 Merge from head. This includes a small change to gnu/usr.bin/cc/cc_tools/freebsd-native.h where we remove PREFIXing of STANDARD_INCLUDE_DIR because we do that with -isysroot and it gets prefixed twice this way. This was broken before but it worked because GCC_INCLUDE_DIR was PREFIX/include and is not -isysroot-able. END K 10 svn:author V 3 zml K 8 svn:date V 27 2010-06-01T16:04:01.585544Z K 7 svn:log V 131 Revert taskqueue(9) related commits until mdf@ is approved and can resolve issues. This reverts commits r207439, r208623, r208624 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-06-01T18:27:48.403657Z K 7 svn:log V 126 Adjust the manpage after r207329. Sponsored by: Sandvine Incorporated Reviewed by: cpercival, emaste, marcel X-MFC: r207329 END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-06-01T18:57:21.069776Z K 7 svn:log V 156 Don't try to call cdevsw d_close() method when devfs_close() is called because of insmntque1() failure. Found with: stress2 Suggested and reviewed by: kib END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-01T19:38:46.104728Z K 7 svn:log V 155 MFC 208555: Ignore the 'addr' argument passed to PT_STEP (it is required to be '1' for PT_STEP which means "ignore") and PT_DETACH. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-01T19:39:27.960905Z K 7 svn:log V 132 MFC 208555: Ignore the 'addr' argument passed to PT_STEP (it is required to be '1' for PT_STEP which means "ignore") and PT_DETACH. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-01T19:56:02.406673Z K 7 svn:log V 356 In the case that mmu_booke_enter_locked() is changing the attributes of a mapping but not changing the physical page being mapped, the wrong flags were being inspected in order to determine whether or not to flush the instruction cache. The effect of looking at the wrong flags was that the instruction cache was never being flushed. Reviewed by: marcel END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T20:29:03.167907Z K 7 svn:log V 194 Merge c179063 from the p4 TrustedBSD Capabilities branch to capabilities8: 179048 removed an 'fd' to Obj_Entry that had been added in error, that field later became depended on, so re-add. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-06-01T21:15:05.108253Z K 7 svn:log V 74 Remove unnecessary pointer type castings, shift operations and dead code. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-06-01T21:19:58.149938Z K 7 svn:log V 331 MFC r207329, r208716: - Extract the IODEV_PIO interface from ia64 and make it MI. - On i386 and amd64 the old behaviour is kept but multithreaded processes must use the new interface in order to work well. - Support for the other architectures is greatly improved. Sponsored by: Sandvine Incorporated Approved by: re (kib, bz) END K 10 svn:author V 3 des K 8 svn:date V 27 2010-06-01T22:46:57.145168Z K 7 svn:log V 12 More commas END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-02T04:13:10.671450Z K 7 svn:log V 47 Merge from head, mainly to get pmap build fix. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-02T07:21:23.369224Z K 7 svn:log V 48 Use a little-endian bus space for PCI accesses. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-02T07:28:12.099647Z K 7 svn:log V 15 Add a comment. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-02T07:47:29.142434Z K 7 svn:log V 114 Fix stuttering sequences and reverse ranges PR: 123635 Submitted by: Ulrich Sp̦rlein, uqs at spoerlein dot net END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-02T08:43:18.987610Z K 7 svn:log V 119 Recommend disabling LAPIC timer instead whole APIC for fixing C3 state. PR: docs/147180 Submitted by: Tobias Rehbein END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-02T09:34:41.910636Z K 7 svn:log V 102 Zero struct before reading from it PR: 140384 Found by: clang static analyzer MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-02T09:59:05.514430Z K 7 svn:log V 229 Add a facility to dynamically adjust or unconfigure p1003_1b mib. Use it to allow to tune sem_nsem_max at runtime, only when sem.ko module is present in kernel. Requested and tested by: amdmi3 Reviewed by: jhb MFC after: 3 days END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-02T10:20:23.656741Z K 7 svn:log V 124 mdoc cleanup Garbage collect unused sections, macros and arguments. Fix prologue and remove empty lines. Found by: mdocml END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-02T10:20:31.752371Z K 7 svn:log V 86 mdoc: use literal text, not a column table to present the configuration file snippet. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-02T10:20:38.211151Z K 7 svn:log V 71 mdoc: spell macros correctly, there's no need for the backslash escape END K 10 svn:author V 3 des K 8 svn:date V 27 2010-06-02T10:26:31.353913Z K 7 svn:log V 97 Fix expansion of AuthorizedKeysFile (upstream patch) PR: 146334, 145940 Approved by: re (kib@) END K 10 svn:author V 3 des K 8 svn:date V 27 2010-06-02T10:28:26.090604Z K 7 svn:log V 45 Missing commas in Dd Approved by: re (kib@) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-02T11:06:03.229882Z K 7 svn:log V 1748 Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain. o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier. Reviewed by: imp END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-02T11:08:56.569340Z K 7 svn:log V 58 Spell typeof in the preferred way for the FreeBSD kernel. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-02T11:13:49.607796Z K 7 svn:log V 141 Add some more devices for my testing. Pulling over amd64 GENERIC and doing a new config from there at some point probably makes good sense. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-02T11:15:12.999350Z K 7 svn:log V 86 Note some lurking problems with io ports (namely the dependence on virtual mappings.) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-02T11:21:35.419613Z K 7 svn:log V 46 Merge from head (loopback toolchain changes.) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-02T15:09:36.256461Z K 7 svn:log V 345 MFamd64: Add a new macro PCPU_XEN_FIELDS to hold XEN-specific per-CPU fields that is always included in PCPU_MD_FIELDS. The macro is empty for non-XEN kernels. This avoids duplicating non-XEN per-CPU fields in two places. While here, remove several unused fields from the XEN-specific structure. Reviewed by: kmacy, gibbs MFC after: 1 month END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-06-02T15:29:21.451894Z K 7 svn:log V 103 Provide a macro for registering a virtualized sysctl handler for VNET opaque data. MFC after: 30 days END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-06-02T15:44:43.755532Z K 7 svn:log V 126 Virtualize the IPv4 multicast routing code. Submitted by: iprebeg Reviewed by: bms, bz, Pavlin Radoslavov MFC after: 30 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-02T15:46:37.492929Z K 7 svn:log V 187 Minimize the use of the page queues lock for synchronizing access to the page's dirty field. With the exception of one case, access to this field is now synchronized by the object lock. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-02T17:17:11.024192Z K 7 svn:log V 73 Don't leak memory on destruction. Reviewed by: marcel MFC after: 3 days END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-02T17:17:45.254587Z K 7 svn:log V 608 Import the common Flattened Device Tree infrastructure. o fdtbus(4) - the main abstract bus driver for all FDT-compliant systems. This is a direct replacement for the many incompatible bus drivers grouping integrated peripherals on embedded platforms (like obio(4), ocpbus(4) etc.) o simplebus(4) - bus driver representing ePAPR style 'simple-bus' node, which is an umbrella device for most of the integrated peripherals on a typical system-on-chip device. o Other components (common routines library, PCI node processing helper functions) Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-02T17:20:00.542722Z K 7 svn:log V 190 FDT (simplebus) compatible attachment for uart(4). This will be a single uart(4) attachment code shared by all FDT-enabled platforms. Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-02T17:22:38.292772Z K 7 svn:log V 93 Flattened Device Tree helper scripts. Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-02T17:24:41.052327Z K 7 svn:log V 105 Provide kernel level headers for the libfdt code. Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-06-02T17:27:23.863394Z K 7 svn:log V 186 Provide memchr() in the libkern. This is required by libfdt and will be compiled in conditionally only for FDT-enabled platforms. Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-02T18:06:32.086413Z K 7 svn:log V 246 Protect periph drivers list and rearrange things to minimize the chance of stepping oneself during probing. Don't blindly decrement a periph probe count. Reviewed by: scsi@ Obtained from: Alexander Motin, Atillio Rao, Others MFC after: 1 month END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-02T18:31:04.568146Z K 7 svn:log V 153 Add required header for isalnum(3) to quench compiler warnings Forgotten in: r174678 Submitted by: Alexander Best alexbestms at wwu.de Approved by: das END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-06-02T18:46:12.037346Z K 7 svn:log V 708 Merge 208554 from head: Add uep(4), driver for USB onscreen touch panel from eGalax. The driver is stub. It just creates device entry and feeds reassembled packets from hardware into it. If in future we would port wsmouse(4) from NetBSD, or make sysmouse(4) to support absolute motion events, then the driver can be extended to act as system mouse. Meanwhile, it just presents a /dev/uep0, that can be utilized by X driver, that I am going to commit to ports tree soon. The name for the driver is chosen to be the same as in NetBSD, however, due to different USB stacks this driver isn't a port. The driver is supported by ports/x11-drivers/xf86-input-egalax. Approved by: re (kib) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-06-02T19:16:58.408982Z K 7 svn:log V 167 sh: Pass TERM changes to libedit. I have changed the patch slightly to ignore TERM changes in subshells. PR: bin/146916 Submitted by: Guy Yur Obtained from: NetBSD END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-02T20:35:56.026308Z K 7 svn:log V 106 MFC r208437: Make acl_get_perm_np(3) work with NFSv4 ACLs. Reviewed by: kientzle@ Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-06-02T21:00:18.095692Z K 7 svn:log V 127 MFC: r208650 Fix a regression from r203544 (MFC of r200554), which broke fdc(4) attachment to acpi(4). Approved by: re (kib) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-02T21:15:00.362722Z K 7 svn:log V 284 Fix build for O32 systems without a TARGET_CPUTYPE defined. We must default to MIPS-III because FreeBSD relies on a number of MIPS-III features; the ABI default would be MIPS-I which we don't intend to support. Our old default before I switched to using the ABI default was MIPS32. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-02T21:28:07.930950Z K 7 svn:log V 54 Document import of xz. Approved by: delphij (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-02T21:59:13.894272Z K 7 svn:log V 81 Exclude ce(4) from NOTES as clang cant build it yet. Suggested by: Pawel Worach END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-02T23:31:27.495001Z K 7 svn:log V 167 Various minor and not so minor fixes suggested by Coverity. In at least one case, it's amazing that target mode worked at all. Found by: Coverity. MFC after: 2 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-06-03T00:00:45.689827Z K 7 svn:log V 272 Fixes for panic experienced in test at Intel, when doing bidirectional stress traffic on 82598. Also a couple bug fixes from Michael Tuexen, thank you!! Add a workaround into the header so that 8 REL can use the driver (adds local copy of ALTQ fix). MFC: in a few days END K 10 svn:author V 3 kan K 8 svn:date V 27 2010-06-03T00:25:43.925045Z K 7 svn:log V 67 Plug possible memory leak. Found by: Coverity MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-03T02:24:53.647503Z K 7 svn:log V 86 Maintain the pretense that we support 32KB pages for the sake of the ia64 LINT build. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-03T03:55:22.947703Z K 7 svn:log V 208 In the unlikely event that pmap_ts_referenced() demoted five superpage mappings to the same underlying physical page, the calling thread would be left forever pinned to the same processor. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-03T08:55:45.793243Z K 7 svn:log V 366 Merge r204810 from head to stable/8: Remove unnecessary locking of divcbinfo lock from div_output(): this has not been required since FreeBSD 7.0 when the so_pcb pointer leading to inp was guaranteed to be stable when a valid socket reference is held (as it is in the output path). Reviewed by: bz Sponsored by: Juniper Networks Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-03T09:02:53.149625Z K 7 svn:log V 329 Merge r204826 from head to stable/8: Make udp_set_kernel_tunneling() less forgiving when its invariants are violated: so_pcb can never be NULL for a valid UDP socket, and it is always SOCK_DGRAM. Use sotoinpcb() as the rest of the UDP code does. Reviewed by: bz Sponsored by: Juniper Networks Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-03T09:06:50.745209Z K 7 svn:log V 208 Merge r204830 from head to stable/8 Locking the tcbinfo structure should not be necessary in tcp_timer_delack(), so don't. Reviewed by: bz Sponsored by: Juniper Networks Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-03T09:15:52.871710Z K 7 svn:log V 702 Merge r205010 from head to stable/8: Update nfsrv_getsocksndseq() for changes in TCP internals since FreeBSD 6.x: - so_pcb is now guaranteed to be non-NULL and valid if a valid socket reference is held. - Need to check INP_TIMEWAIT and INP_DROPPED before assuming inp_ppcb is a tcpcb, as it might be a tcptw or NULL otherwise. - tp can never be NULL by the end of the function, so only check TCPS_ESTABLISHED before extracting tcpcb fields. The NFS server arguably incorporates too many assumptions about TCP internals, but fixing that is left for another day. Reviewed by: bz Reviewed and tested by: rmacklem Sponsored by: Juniper Networks Approved by: re (kib) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-06-03T09:29:54.114700Z K 7 svn:log V 114 opensolaris_kmem.c is already part of opensolaris.ko which zfs.ko depends on. Reported by: avg MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-06-03T09:54:53.474220Z K 7 svn:log V 190 [0] Improve wording. [1] Following style for manpages, just do carriage return after a sentence. Sponsored by: Sandvine Incorporated [0] Submitted by: emaste [1] Submitted by: rwatson END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-03T10:11:45.865799Z K 7 svn:log V 129 Add assertion and comment in vm_page_flag_set() describing the expectations when the PG_WRITEABLE flag is set. Reviewed by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-03T10:20:08.950170Z K 7 svn:log V 415 Sometimes vnodes share the lock despite being different vnodes on different mount points, e.g. the nullfs vnode and the covered vnode from the lower filesystem. In this case, existing assertion in vop_rename_pre() may be triggered. Check for vnode locks equiality instead of the vnodes itself to not trip over the situation. Submitted by: Mikolaj Golub Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-03T10:24:53.325638Z K 7 svn:log V 247 Extend the scope of the lock on the quota file vnode in quotaon() to cover the initial read by dqopen(). Assert that vnode is locked in dqopen(). Remove VFS_LOCK_GIANT() from dqopen(), since quotaon() keeps Giant locked if needed around the call. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-03T11:08:46.568809Z K 7 svn:log V 201 Fix freeing space after deleting large files with holes. OpenSolaris onnv revision: 9950:78fc41aa9bc5 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6792701) MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-03T12:09:02.045647Z K 7 svn:log V 97 Avoid possible NULL-dereferences. Found with: Coverity Prevent(tm) CID: 3428 MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-03T13:01:55.866526Z K 7 svn:log V 490 - In gpart_bootfile_read() fix an off-by-one error preventing the bootstrap file to be of maximum size. - Add special handling required for SMI/VTOC8 disklabel partcode, i.e. avoid overwriting the label when writing the bootstrap code to the partition starting at 0 and install it to all partitions when the -i option is omitted just like geom_sunlabel(4) and sunlabel(8) do by default. - Add missing prototypes. - Add const where applicable. Reviewed by: marcel MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-06-03T13:04:56.601839Z K 7 svn:log V 379 - Mention that VTOC8 labels are found in Fujitsu SPARC64 machines as well. - Add information regarding VTOC8 bootrstrap code and how it's handled with r208777 in place. - Document the mapping of partition types to VTOC8 tags. - Add examples for VTOC8 to the respective section. - Eliminated hard sentence breaks. Reviewed by: marcel (slightly buggy version) MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-03T13:41:55.033414Z K 7 svn:log V 107 The acl_cnt field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 3683 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-03T13:43:58.929596Z K 7 svn:log V 109 The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 3684 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-03T13:45:27.845517Z K 7 svn:log V 109 The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 3688 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-03T14:15:08.777328Z K 7 svn:log V 109 The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 6193 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-03T14:16:58.093640Z K 7 svn:log V 109 The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 6192 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-03T14:27:18.443273Z K 7 svn:log V 97 Fix usage of uninitialized variable. Found with: Coverity Prevent CID: 7517 MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-03T14:29:17.900557Z K 7 svn:log V 242 _posix1e_acl_sort() never returns anything other than 0; change its return type to void and update callers. This simplifies code and fixes one place where the returned value was not actually checked. Found with: Coverity Prevent CID: 4791 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-03T14:51:29.201051Z K 7 svn:log V 88 Don't forget to free the string in error case. Found with: Coverity Prevent CID: 6585 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-03T16:02:11.828551Z K 7 svn:log V 162 Assert that the thread lock is held in sched_pctcpu() instead of recursively acquiring it. All of the current callers already hold the lock. MFC after: 1 month END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-03T17:20:27.651108Z K 7 svn:log V 59 revert the ldexp workaround, llvm is ok with this code now END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-03T17:42:32.139438Z K 7 svn:log V 215 Use -Wl,-N instead of the undocumented -N option for GCC. GCC forwards the -N flag directly to ld. This flag is not documented and not supported by (for example) Clang. Just use -Wl,-N. Submitted by: Pawel Worach END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-03T17:55:42.923176Z K 7 svn:log V 104 Welcome Andrey Elsukov as src committer. Alexander Motin is the mentor, I will help. Approved by: core END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-03T18:34:34.520736Z K 7 svn:log V 147 Do not leak vm page lock in vm_contig_launder(), vm_pageout_page_lock() always returns with the page locked. Submitted by: alc Pointy hat to: kib END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-03T20:46:23.906752Z K 7 svn:log V 78 Make chown(1) emit more useful error message when user/group name is invalid. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-03T21:12:51.297558Z K 7 svn:log V 95 - Add myself to committers-src.dot - Add myself to calendar.freebsd Approved by: kib (mentor) END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-06-04T06:35:36.706292Z K 7 svn:log V 774 Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig() fails to allocate MIPS page table pages. The current usage of VM_WAIT in case of vm_phys_alloc_contig() failure is not correct, because: "There is no guarantee that any of the available free (or cached) pages after the VM_WAIT will fall within the range of suitable physical addresses. Every time this function sleeps and a single page is freed (or cached) by someone else, this function will be reawakened. With a little bad luck, you could spin indefinitely." We also add low and high parameters to vm_contig_grow_cache() and vm_contig_launder() so that we restrict vm_contig_launder() to the range of pages we are interested in. Reported by: alc Reviewed by: alc Approved by: rrs (mentor) END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-04T06:56:58.670702Z K 7 svn:log V 298 Explain that setting an absolute day value can fail and that the month should usually be set first when using -v. Adjust an example that sets the day to 30 before setting the month to 3 in accordance with this approach as the example would always fail in February! PR: 147354 MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-04T07:35:59.614575Z K 7 svn:log V 69 Fix PCH chipset IDs. They are 0x3bxx, not 0x3axx. Pointy hat to: me END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-06-04T08:14:30.040688Z K 7 svn:log V 79 o Fix typo: .uudef -> .undef. PR: misc/147462 Submitted by: Erik Cederstrand END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-06-04T08:19:43.601847Z K 7 svn:log V 91 o Makefile BSDfication. PR: misc/147461 (with my changes) Submitted by: Erik Cederstrand END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-04T08:46:26.826198Z K 7 svn:log V 301 MFC r208689: Fix ZIL close when doing zfs rollback or zfs receive on a mounted dataset. The fix is a partial import and merge of OpenSolaris onnv revisions 8227:f7d7be9b1f56. and 9292:e112194b5b73 Reviewed by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6798298) Approved by: re (kib) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-04T13:55:55.554858Z K 7 svn:log V 103 scsi_cd: pass correct pointer to free() Found with: Coverity Prevent(tm) CID: 2986 MFC after: 4 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-04T14:06:59.624217Z K 7 svn:log V 244 MFC r208374: Remove POLLHUP from the flags used to test for to set exceptfsd fd_set bits in select(2). It seems that historical behaviour is to not reporting exception on EOF, and several applications are broken. Approved by: re (kensmith) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-06-04T14:22:49.740991Z K 7 svn:log V 84 o The typo was intended as it stated in the comment. Revert last. Spotted by: dfr END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-06-04T14:38:24.467858Z K 7 svn:log V 227 Declare ip6 as (struct in6_addr *) instead of (struct in_addr *). This is a harmless bug since we never actually use ip6 as anything other than an opaque pointer. Found with: Coverty Prevent(tm) CID: 4319 MFC after: 1 month END K 10 svn:author V 3 zml K 8 svn:date V 27 2010-06-04T17:00:38.610064Z K 7 svn:log V 211 Please welcome Matthew Fleming (mdf@) as a new src/ committer. I will be his mentor. Matthew will be working across various parts of src/, helping to integrate changes from Isilon Systems. Approved by: core END K 10 svn:author V 3 zml K 8 svn:date V 27 2010-06-04T17:02:12.716839Z K 7 svn:log V 42 Fix a tab/space issue in previous commit. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-06-04T17:11:33.484516Z K 7 svn:log V 201 Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there is no queued frame, IFF_DRV_OACTIVE would never be cleared. Submitted by: Nikolay Denev < ndenev <> gmail at com > MFC after: 4 days END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-06-04T17:54:30.644205Z K 7 svn:log V 95 - Add myself to committers-src.dot - Add myself to calendar.freebsd Approved by: zml (mentor) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-05T00:55:21.824390Z K 7 svn:log V 235 I was getting panics in sleepq_add for the second sleep in isp_kthread. I don't know why- but it occurred to me in looking at the second sleep is that all I want is a pause- not an actual sleep. So do that instead. MFC after: 2 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-05T00:56:15.571521Z K 7 svn:log V 168 Make the internal target > SPC2 (so REPORT LUNS can be tested). Give the NIL inquiry data real values other than just plain 0x7f in the first byte. MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-05T06:56:06.171861Z K 7 svn:log V 67 Don't set PG_WRITEABLE in pmap_enter() unless the page is managed. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-05T07:40:32.853390Z K 7 svn:log V 141 Don't use pointer to 64 bit value (id_t) to point to 32 bit value (uid_t). Found with: Coverity Prevent CID: 7466, 7467 MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-05T08:00:52.932648Z K 7 svn:log V 92 Make sure not to pass NULL to g_orphan_provider(). Found with: Coverity Prevent CID: 3411 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T08:02:19.312873Z K 7 svn:log V 83 Fix attach errors handling. Found with: Coverity Prevent(tm) CID: 3424 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T08:07:54.191394Z K 7 svn:log V 127 Plug memory leak to silent Coverity. Error is still not really handled. Found with: Coverity Prevent(tm) CID: 4130 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-05T08:11:11.118418Z K 7 svn:log V 61 Plug resource leak. Found with: Coverity Prevent CID: 7040 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T08:14:19.030825Z K 7 svn:log V 83 Fix attach errors handling. Found with: Coverity Prevent(tm) CID: 3477 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T08:16:21.359355Z K 7 svn:log V 127 Plug memory leak to silent Coverity. Error is still not really handled. Found with: Coverity Prevent(tm) CID: 4196 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T08:21:18.219017Z K 7 svn:log V 127 Plug memory leak to silent Coverity. Error is still not really handled. Found with: Coverity Prevent(tm) CID: 4137 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T08:36:37.843504Z K 7 svn:log V 81 Fix double free on error. Found with: Coverity Prevent(tm) CID: 4573 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T08:44:40.037954Z K 7 svn:log V 84 Fix use after free on error. Found with: Coverity Prevent(tm) CID: 4722 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-05T08:50:39.096098Z K 7 svn:log V 255 Don't try to copy a socket after "xxx is a socket (not copied)." message. Previously, it would either try to copy it anyway and fail (without -R), or create fifo instead of the socket (with -R). Found with: Coverity Prevent CID: 5623 MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T08:58:03.661649Z K 7 svn:log V 84 Fix possible use after free. Found with: Coverity Prevent(tm) CID: 4634 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T09:31:13.644044Z K 7 svn:log V 85 Add allocation error hadling. Found with: Coverity Prevent(tm) CID: 3897 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-05T10:16:23.438722Z K 7 svn:log V 92 Remove some dead and incorrect code. Found with: Coverity Prevent(tm) CID: 4562 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-06-05T11:06:56.254269Z K 7 svn:log V 144 Properly check the return value of chdir, even if it is a "this should not happen" case. Found with: Coverity Prevent(tm) CID: 4932 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-06-05T11:12:35.070432Z K 7 svn:log V 112 Fix memory-leak at the processing of multiple calendars. Found with: Coverity Prevent(tm) CID: 7085 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-06-05T11:32:31.091624Z K 7 svn:log V 120 Fix: when unable to parse the sequence string, erase everything. Found with: Coverity Prevent(tm) CID: 7888 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-06-05T11:41:46.490592Z K 7 svn:log V 167 Fix warnings about uninitialized variables. It was mostly harmless since strftime() only used %a and %b anyway. Found with: Coverity Prevent(tm) CID: 7769 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-06-05T12:31:08.906568Z K 7 svn:log V 51 Make clang happier by removing unused assignments. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-06-05T12:49:39.322217Z K 7 svn:log V 84 When there is a problem with writing, also bail out. Found with the clang checker. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-06-05T12:53:44.612431Z K 7 svn:log V 171 Add comment that this value is unused. It is obvious that it isn't used, but both clang and Coverity talk about it. Found with: Coverity Prevent(tm) CID: 8066 END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-05T14:53:34.511763Z K 7 svn:log V 199 MFC r208731: Add a facility to dynamically adjust or unconfigure p1003_1b mib. Use it to allow to tune sem_nsem_max at runtime, only when sem.ko module is present in kernel. Approved by: re (bz) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-05T15:59:59.912018Z K 7 svn:log V 622 Introduce the x86 kernel interfaces to allow kernel code to use FPU/SSE hardware. Caller should provide a save area that is chained into the stack of the areas; pcb save_area for usermode FPU state is on top. The pcb now contains a pointer to the current FPU saved area, used during FPUDNA handling and context switches. There is also a facility to allow the kernel thread to use pcb save_area. Change the dreaded warnings "npxdna in kernel mode!" into the panics when FPU usage is not registered. KPI discussed with: fabient Tested by: pho, fabient Hardware provided by: Sentex Communications MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-05T16:00:53.810757Z K 7 svn:log V 393 Use the fpu_kern_enter() interface to properly separate usermode FPU context from in-kernel execution of padlock instructions and to handle spurious FPUDNA exceptions that sometime are raised when doing padlock calculations. Globally mark crypto(9) kthread as using FPU. Reviewed by: pjd Hardware provided by: Sentex Communications Tested by: pho PR: amd64/135014 MFC after: 1 month END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T16:21:55.340020Z K 7 svn:log V 250 Make sure that interrupt sense settings set after interrupts are enabled are respected. This fixes loading the Apple onboard audio driver (snd_ai2s) as a module after boot, which would previously cause a panic. PR: powerpc/146888 MFC after: 5 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T16:25:25.757909Z K 7 svn:log V 505 Partially revert r208162 while waiting for review on a more comprehensive fix. On Apple OpenPICs, the low/high bit of the interrupt sense is only respected for interrupt 0. We currently erroneously program all OpenPIC interrupts level high instead of level low by default, which only matters for some G5 systems where the SATA controllers use IRQ 0. This change is a quick fix that will be reverted once the effect of changing the default interrupt sense on embedded systems is known. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T16:27:15.816213Z K 7 svn:log V 83 Correct the comment. We now use level low instead of edge high for this interrupt. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T17:22:17.195157Z K 7 svn:log V 13 IFC @ 208837 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T17:48:26.105541Z K 7 svn:log V 166 Add two new flags (IIC_M_NOSTOP and IIC_M_NOSTART) to struct iic_msg to allow consumers of iicbus_transfer() to send messages with repeated starts. Reviewed by: imp END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T17:49:40.285030Z K 7 svn:log V 73 Utilize the Keywest I2C combined mode for messages with repeated starts. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T17:50:20.364468Z K 7 svn:log V 74 Add support for the I2C busses hanging off Apple system management chips. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T17:51:37.074573Z K 7 svn:log V 85 Add a driver for the CPU temperature sensors attached over I2C on the PowerMac 11,2. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T17:53:41.918597Z K 7 svn:log V 69 Remove duplicate definition of pmap_gen_count and friends on Book-E. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T17:58:10.620462Z K 7 svn:log V 13 IFC @ 208843 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T18:01:34.471225Z K 7 svn:log V 41 Add smusat(4) to the build on powerpc64. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-05T18:20:09.511316Z K 7 svn:log V 115 Don't set PG_WRITEABLE in pmap_enter() unless the page is managed. Correct a typo in a nearby comment on sparc64. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T18:24:41.726683Z K 7 svn:log V 111 Correct a harmless typo introduced when copying code from mmu_oea64. Submitted by: alc MFC after: 8.1-RELEASE END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-06-05T18:30:42.094605Z K 7 svn:log V 189 Fix typo (COMPAT_FREEBDS32 -> COMPAT_FREEBSD32) Direct commit to stable/8 as this text isn't in head. PR: docs/147497 Submitted by: Jack Low Approved by: re (kib) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-05T20:37:40.514574Z K 7 svn:log V 182 Be more specific about which CDB length we're going to use. Not really a likely bug but we might as well be clearer. Found with: Coverity Prevent(tm) CID: 3981 MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-05T20:41:22.374129Z K 7 svn:log V 86 BUS_SPACE_UNRESTRICTED is a flag, not an address, so it should be an int, not a long. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-05T20:51:56.524698Z K 7 svn:log V 132 MFC r208696: Don't reference null pointer in hwmp_recv_preq(). Found with: Coverity Prevent(tm) CID: 3912 Approved by: re (bz) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-05T21:17:23.921343Z K 7 svn:log V 166 This fixes a bug in the close up of a socket that had un-accepted assoc's. Basically the assoc (and inp) would get stuck and never get cleaned up. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-05T21:20:28.665628Z K 7 svn:log V 255 This does two changes: 1) Makes it so that the INVARIANT function validate nolocks is available anywhere. 2) Fixes a BUG where a close has been done on a collision socket and the cookie processing would return leaving a lock held. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-05T21:22:58.592595Z K 7 svn:log V 103 Use the proper increment macro when increasing the number on sent_queue_retran_cnt. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-05T21:27:43.360908Z K 7 svn:log V 436 This change does the following: 1) Fix the alignment of a comment. 2) Fix a BUG where we were NOT paying attention to the RESEND marking on retransmitting control chunks.. and worse we were not decrementing the retran count that could cause us to loop forever. 3) Add in the valdiate_no_lock function on invariants so that we will really check all ways out to be sure a lock does not slip out locked. MFC after: 1 week. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-05T21:33:16.607099Z K 7 svn:log V 34 Spacing issues MFC after: 1 Week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-05T21:39:52.860207Z K 7 svn:log V 83 Purge out a Windows def that somehow slipped past the scrubber. MFC after: 1 Week END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-06-05T22:57:53.938794Z K 7 svn:log V 87 Fix warnings found by Coverity. Found with: Coverity Prevent(tm) MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-05T22:59:37.129585Z K 7 svn:log V 155 Although we currently don't compile in CPU-pinning support by default, add a -P to enable it if it were. MFC after: 1 week Sponsored by: Juniper Networks END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-06-05T23:00:02.482039Z K 7 svn:log V 79 Fix memory leak on error. Found with: Coverity Prevent(tm) MFC after: 1 month END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-06-05T23:05:08.743168Z K 7 svn:log V 153 Convert pm_runcount to int to correctly check for negative value. Remove uncessary check for error. Found with: Coverity Prevent(tm) MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-06-05T23:29:24.985443Z K 7 svn:log V 851 Fix a bug introduced in r199011. When bge(4) reuses loaded RX buffers it should also reinitialize RX descriptors otherwise some stale data could be passed to controller. This could end up with mbuf double free or unexpected NULL pointer dereference in upper stack. To fix the issue, save loaded buffer's length and reinitialize RX descriptors with the saved value whenever bge(4) reuses the loaded RX buffers. While I'm here, increase the number of RX buffers to 512 from 256. This simplifies RX buffer handling as well as giving more RX buffers. Controller supports just fixed number of RX buffers (i.e. 512) and bge(4) used to rely on hope that our CPU is fast enough to keep up with the controller. With this change, bge(4) will use 1MB for RX buffers but I don't think it would cause problems in these days. Reported by: marcel Tested by: marcel END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-06T02:32:20.091335Z K 7 svn:log V 64 Bruce's fix for some return's in error legs. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-06T02:33:46.959508Z K 7 svn:log V 128 Hopefully this fixes a LOR by making so we only hold the iterator lock during updates to the iterators work. MFC after: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-06T02:36:51.299741Z K 7 svn:log V 31 Bring in more PCI NIC drivers. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-06T06:07:44.829464Z K 7 svn:log V 856 Don't set PG_WRITEABLE in init_pte_prot() (and thus pmap_enter()) unless the page is managed. Don't set the machine-independent layer's dirty field for the page being mapped in init_pte_prot(). (The dirty field is only supposed to set when a mapping is removed or write-protected and the page was managed and modified.) Determine whether or not to perform dirty bit emulation based on whether or not the page is managed, i.e., pageable, not based on whether the page is being mapped into the kernel address space. Nearly all of the kernel address space consists of unmanaged pages, so this has neglible impact on the overhead of dirty bit emulation for the kernel address space. However, there can also exist unmanaged pages in the user address space. Previously, dirty bit emulation was unnecessarily performed on these pages. Tested by: jchandra@ END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-06-06T11:32:38.299862Z K 7 svn:log V 85 - Fig segmentation fault Submitted by: Hizel Ildar (via current@) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-06-06T11:36:08.860566Z K 7 svn:log V 137 - Fix signal handling in bc/dc. Now Ctrl-C terminates the execution. Requested by: gk (via private mail) Approved by: delphij (mentor) END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-06T13:08:36.622994Z K 7 svn:log V 219 MFC r208775: Fix freeing space after deleting large files with holes. OpenSolaris onnv revision: 9950:78fc41aa9bc5 Reviewed by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6792701) Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-06T14:09:48.456166Z K 7 svn:log V 487 Some revisions of the Serverworks K2 SATA controller have a data corruption bug where if an ATA command is issued before DMA is started, data will become available to the controller before it knows what to do with it. This results in either data corruption or a controller crash. This patch remedies the problem by adopting the workaround employed by Linux and Darwin: starting the DMA engine prior to sending the ATA command. Observer on: Xserve G5 Reviewed by: mav MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-06T14:29:06.232816Z K 7 svn:log V 94 Add Open Firmware PNP info strings to GPIOs and Uninorth cells. Submitted by: Andreas Tobler END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-06T14:31:41.829224Z K 7 svn:log V 23 IFC once more @ 208871 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-06T15:27:08.158025Z K 7 svn:log V 298 Rework tcpp output so that it generates a comma-delimited list of values, optionally with a header if "-h" is passed. Toast CPU time measurement in the server for now. Remove -C and -T, since we now always report both connections/sec and Gb/sec. MFC after: 1 week Sponsored by: Juniper Networks END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-06T16:07:40.189590Z K 7 svn:log V 198 Fix a bug in sctp_abort_assoc(). DON'T call the sctp_inpcb_free when the gone flag is set. You don't know what locks the caller has set and there is already a kill timer running. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-06T16:09:12.622803Z K 7 svn:log V 310 Fix a bug in the sctp_inpcb_free. Basically if the socket was setup to do an abortive close an association that was in the accept_queue could get stuck and never freed. Now we properly start the kill timer on the socket and turn off the flag (same thing we do for the graceful close method). MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-06T16:11:16.962009Z K 7 svn:log V 467 1) Further enhance the INVARIANT lock validation (no locks) are held by checking the create and inp locks as well. 2) Fix a bug in that when a socket is closed an INIT-ACK is returned, we do NOT unlock the locked_tcb unless its different (an unlikely scenario). If we blindly unlock as we were doing before we can end up unlocking the actual stcb thats about to be sent down to the free function which requires the lock be held. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-06T16:13:50.623574Z K 7 svn:log V 73 Style-compilant order of declarations. Noted by: bde MFC after: 1 month END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-06T19:24:32.471617Z K 7 svn:log V 877 Ok, yet another bug in killing off all the hundreds of apitesters.. Basically we end up with attempting to destroy a lock thats contended on. A cookie echo arrives at the same time that the close is happening. The close gets the lock but the cookie echo has already passed the check for the gone flag and is then locked waiting on the create lock.. when we go to destroy it bam. For now we do the timer destroy for all calls to close.. We can probably optimize this later so that we check whats being contended on and if there is contention then do the timer thing. but this is probably safest since the inp has been removed from all lists and references and only the timer can find it.. once the locks are released all other places will instantly see the GONE flag and bail (thats what the change in sctp_input is one place that was lacking the bail code). MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-06T20:34:17.815975Z K 7 svn:log V 468 1) Optimize the cleanup and don't always depend on the timer. This is done by considering the locks we will destroy and if they are contended we consider it the same as a reference count being up. Fixing this appears to cleanup another crash that was appearing with all the timers where the socket buf lock got corrupted. 2) Fix the sysctl code to take a lot more care when looking at INP's that are in the GONE or ALLGONE state. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-06T21:19:04.692077Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@208879 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-06-06T22:27:32.647903Z K 7 svn:log V 384 sh: Pass through SIGINT from a child if interactive and job control is enabled. This already worked if without job control. In either case, this depends on it that a process that terminates due to SIGINT exits on it (so not with status 1, or worse, 0). Example: sleep 5; echo continued This does not print "continued" any more if sleep is aborted via ctrl+c. MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-07T03:08:52.389222Z K 7 svn:log V 49 Don't call bus_dmamap_sync() with a NULL dmamap. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-07T04:01:38.909765Z K 7 svn:log V 154 Fix so we call socantrcvmore_locked so we don't see a race where we unlock to call the non-locked version and have the socket go away. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-07T04:45:40.411717Z K 7 svn:log V 291 o bus_dmamap_sync() and bus_dmamap_unload() are getting called with a NULL map quite commonly, so test for it and print a warning. This was previously done in sys/bus_dma.h by macro expansion, but such makes a poor KPI. I'd rather fix the drivers. o Port i386 to busdma/mi. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-07T06:38:12.056214Z K 7 svn:log V 122 Document ZFS upgrade to version 14, support for NFSv4 ACLs, changes in L2ARC and zfs send. Approved by: delphij (mentor) END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-07T07:41:41.587952Z K 7 svn:log V 155 bgeom(3) does strdup of param name. Don't leak memory when deleting param from gctl_req. Reviewed by: marcel Approved by: mav (mentor) MFC after: 2 weeks END K 10 svn:author V 2 np K 8 svn:date V 27 2010-06-07T08:23:16.227115Z K 7 svn:log V 163 cxgb(4): add an 'nfilters' tunable that lets the user place an upper limit on the number of hardware filters (and thus the amount of TCAM reserved for filtering). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-07T10:09:40.880745Z K 7 svn:log V 156 Correct a bug in gzip(1): make sure that initialize isb with fstat() on input file before using it. PR: bin/147275 Submitted by: thomas MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-07T10:10:44.919682Z K 7 svn:log V 72 Follow up revision 208888 with purely ident changes. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-07T10:22:22.083433Z K 7 svn:log V 147 MFC r207181: Re-calculate a geometry when reprobing as well. PR: kern/145452 Reviewed by: marcel Approved by: kib (mentor) Approved by: re (bz) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-07T11:33:20.266270Z K 7 svn:log V 142 Opps... my bad.. we don't need a SOCK_UNLOCK() after calling socantrcvmore_locked() since it will unlock the lock for you. MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-07T13:37:13.068379Z K 7 svn:log V 230 MFC r208610: boot/zfs: fix gang block reading code - use correct size (512) while reading a gang block - skip holes while reading child blocks - advance buffer pointer while reading child blocks PR: 144214 Approved by: re(kib) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-07T13:44:04.865246Z K 7 svn:log V 209 MFC r208610: boot/zfs: fix gang block reading code - use correct size (512) while reading a gang block - skip holes while reading child blocks - advance buffer pointer while reading child blocks PR: 144214 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-07T16:32:12.777399Z K 7 svn:log V 238 MFC of 198262 Use callout_init_mtx on FreeBSD versions recent enough. This closes the race where interrupt thread can complete the request for which timeout has fired and while mpt_timeout has blocked on mpt_lock. Approved by: re (kib) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-07T17:39:36.456076Z K 7 svn:log V 189 Fix XPT_GET_TRAN_SETTING for FC which has been broken for while so that it will figure out the correct target to handle index and be able to find things like WWPN, etc. MFC after: 2 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-07T17:41:34.645833Z K 7 svn:log V 124 Do a minor amount of stylifying. Also, get a Fibre Channel WWPN if one exists for a da unit and create a sysctl OID for it. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-07T18:29:10.139646Z K 7 svn:log V 609 This fixes a BUG in the handling of the cum-ack calculation. We were only paying attention to the nr-mapping-array. Which seems to make sense on the surface, by definition things up to the cum-ack should be deliverable thus in the nr-mapping-array. However (there is always a gotcha) thats not true when it comes to large messages. The stack may hold the message while re-assembling it not not deliver it based on several thresholds. If that happens (which it would for smaller large messages) then the cum-ack is figured wrong. We now properly use both arrays in the cum-ack calculation. MFC after: 1 week. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-07T18:47:53.943569Z K 7 svn:log V 137 Call BUS_PROBE_NOMATCH() when device detached due to driver unload. This allows bus to power-down device when driver unloaded on-flight. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-07T20:31:55.614003Z K 7 svn:log V 557 MFC r197608: The first 96 bytes may not be zeroes. It can contain trivial boot code that merely emits an error and waits for a key press before rebooting. The error being that extended partitions are not bootable. The origin is presumed to be Windows 2000; Windows XP does not do this... For now, ignore the first 96 bytes when checking that the EBR is (for the most part) all zeroes. Tested by: Mario Lobo Dieter PR: kern/141235 Reviewed by: marcel Approved by: kib (mentor) Approved by: re (bz) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-07T22:43:37.150526Z K 7 svn:log V 97 redfacedly noting a missing part of a patch. Pointy Hat To: Me MFC after: 2 Week X-MFC: 208896 END