ı!212333 205 286 435 355 126 348 309 269 423 374 181 144 235 186 219 244 191 163 130 995 996 123 113 137 148 271 466 559 495 180 420 228 134 305 537 719 367 279 417 165 157 648 154 181 218 182 233 226 200 136 136 500 130 252 163 154 140 112 350 179 163 132 115 113 108 114 173 150 113 121 121 420 333 328 997 187 142 147 370 241 265 388 253 210 230 430 156 187 910 224 188 302 415 356 124 1043 282 316 150 274 210 135 314 184 205 1043 267 509 249 283 638 585 203 104 534 253 104 104 344 224 348 243 136 628 222 291 126 134 223 190 159 178 143 211 443 191 321 364 352 352 275 275 170 158 160 196 135 150 290 192 287 239 455 104 401 271 247 145 349 240 232 166 445 257 309 290 319 121 256 130 276 215 215 228 522 253 248 112 204 290 145 151 112 299 427 116 153 118 117 142 157 121 113 197 200 190 130 108 141 145 287 231 160 147 143 385 K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-08T19:53:16.529867Z K 7 svn:log V 185 Check TARGET_ARCH as well as TARGET to determine if we are doing a cross build. This is necessary to be able to cross-build 32-bit PowerPC from a 64-bit PowerPC host. Reviewed by: imp END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-08T20:00:15.407521Z K 7 svn:log V 338 No more uether module dependancy and ue[0-9+] interface name on axe(4). In my personal opinion I don't think that uether module gives benefits to USB stack though it existed on the tree about 10 years. After 8.0 release I think it becomes worse than before. As further works, changes of other USB ethernet drivers would be happen soon. END K 10 svn:author V 4 emax K 8 svn:date V 27 2010-09-08T20:00:27.873150Z K 7 svn:log V 261 Make sure to only pickup hid_input items when parsing input reports. As it turns out, libusbhid(3) also picks up hic_collection items even though we explicitly requested hid_input items only. Tested by: Buganini < buganini at gmail dot com > MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-08T20:09:50.763892Z K 7 svn:log V 34 Add few more bintime math macros. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-08T20:10:24.308146Z K 7 svn:log V 255 pc-sysinstall(8) patch that allows images to be written to disks This patch creates the "image" directive for the pc-sysinstall config file. This allows disks to be configured with an image instead of partitioning. PR: 150137 Submitted by: John Hixson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-08T20:10:29.146627Z K 7 svn:log V 216 If autoboot_delay is set to -1, boot immediately without checking for a keypress to match the behavior of the loader. PR: docs/108101 Submitted by: Wayne Sierke ws of au.dyndns.ws Tested by: brd MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-08T20:35:43.541890Z K 7 svn:log V 173 sh: Fix 'read' if all chars before the first IFS char are backslash-escaped. Backslash-escaped characters did not set the flag for a non-IFS character. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-08T20:56:18.529786Z K 7 svn:log V 330 - Log all the problems in devfs_fixup(). - Correct error paths. The system will be useless on devfs_fixup() failure, so why bother? Maybe for the same reason why a dead body is washed and dressed in a nice suit before it is put into a coffin? Maybe system's last will is to panic without any locks held? Reviewed by: kib END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-08T21:00:53.214198Z K 7 svn:log V 281 Doing first mount and updating mount points are both handled by the same syscall and the same function, but are very different and share almost no code. To make it easier to read and analyze, split vfs_domount() into vfs_domount_first() and vfs_domount_update(). Reviewed by: kib END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-08T21:08:54.198963Z K 7 svn:log V 85 Correct definition of T2 mode bit of MRBE Message Page 5 Next Page Control Register. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T00:31:23.232500Z K 7 svn:log V 48 aue(4) doesn't depend on uether module anymore. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T00:34:55.479794Z K 7 svn:log V 138 Detaching the miibus child should be happen after draining all parent tasks because it could access miibus API (e.g. calling mii_tick()). END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T00:39:24.901983Z K 7 svn:log V 90 Should call axe_start() at axe_init*() routines to start USB transfers on each endpoints. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T02:29:40.036458Z K 7 svn:log V 122 cdce(4) doesn't depend on uether module anymore. But it's not tested because I don't have a device working with cdce(4). END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-09T02:52:44.178159Z K 7 svn:log V 146 Minor clean up for nlge - nlna_submit_rx_free_desc() can use the same desc every time. Also merge couple of one-line functions into their caller. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T03:07:39.182112Z K 7 svn:log V 95 cue(4) don't depend on uether module anymore though it's not tested due to lack of H/W device. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T03:12:20.338153Z K 7 svn:log V 67 Removes headers for miibus interface because cdce(4) don't use it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-09T03:33:07.850630Z K 7 svn:log V 38 Add file missed in r212337, my bad... END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-09T06:43:18.314925Z K 7 svn:log V 903 MFC r212155: MFp4 CH=183052 183053 183258: In protosw we define pr_protocol as short, while on the wire it is an uint8_t. That way we can have "internal" protocols like DIVERT, SEND or gaps for modules (PROTO_SPACER). Switch ipproto_{un,}register to accept a short protocol number(*) and do an upfront check for valid boundries. With this we also consistently report EPROTONOSUPPORT for out of bounds protocols, as we did for proto == 0. This allows a caller to not error for this case, which is especially important if we want to automatically call these from domain handling. (*) the functions have been without any in-tree consumer since the initial introducation, so this is considered save. Implement ip6proto_{un,}register() similarly to their legacy IP counter parts to allow modules to hook up dynamically. Reviewed by: philip, will END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-09T06:44:22.366848Z K 7 svn:log V 904 MFC r212155: MFp4 CH=183052 183053 183258: In protosw we define pr_protocol as short, while on the wire it is an uint8_t. That way we can have "internal" protocols like DIVERT, SEND or gaps for modules (PROTO_SPACER). Switch ipproto_{un,}register to accept a short protocol number(*) and do an upfront check for valid boundries. With this we also consistently report EPROTONOSUPPORT for out of bounds protocols, as we did for proto == 0. This allows a caller to not error for this case, which is especially important if we want to automatically call these from domain handling. (*) the functions have been without any in-tree consumer since the initial introducation, so this is considered save. Implement ip6proto_{un,}register() similarly to their legacy IP counter parts to allow modules to hook up dynamically. Reviewed by: philip, will END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-09-09T07:48:01.537572Z K 7 svn:log V 29 Vendor import of tzcode2010l END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-09-09T07:48:56.450158Z K 7 svn:log V 19 Tag of tzcode2010l END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-09-09T07:52:15.500078Z K 7 svn:log V 46 Let psm(4) use si_drv1 to refer to its softc. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-09T07:55:13.803572Z K 7 svn:log V 56 Remove VI_MOUNT flag from vnode on VFS_MOUNT() failure. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-09T09:58:05.344920Z K 7 svn:log V 175 Fix two bugs in DTrace: * when the process exits, remove the associated USDT probes * when the process forks, duplicate the USDT probes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-09T11:10:15.451156Z K 7 svn:log V 370 Don't clobber an existing target object file when doing the DTrace linking process. This is needed because we change the source object files and the second this dtrace -G is run, no probes will be found. This hack allows us to build postgres with DTrace probes enabled. I'll try to find a way to fix this without needing this hack. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-09T13:17:30.743263Z K 7 svn:log V 458 Fix a problem where device detection would work unreliably on Serverworks K2 SATA controllers. The chip's status register must be read first, and as a long, for other registers to be correctly updated after a command, and this includes the command sequence in device detection as well as the previously handled case after interrupts. While here, clean up some previous hacks related to this controller. Reported by: many Reviewed by: mav MFC after: 3 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-09T13:32:58.426309Z K 7 svn:log V 394 On architectures with non-tree-based page tables like PowerPC, every page in a range must be checked when calling pmap_remove(). Calling pmap_remove() from vm_pageout_map_deactivate_pages() with the entire range of the map could result in attempting to demap an extraordinary number of pages (> 10^15), so iterate through each map entry and unmap each of them individually. MFC after: 6 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-09T13:38:36.731173Z K 7 svn:log V 80 IFC @ r212360 to pick up recent PowerPC-related memory management and VM fixes. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-09T15:45:11.764647Z K 7 svn:log V 322 Fix the experimental NFS client so that it doesn't panic when NFSv2,3 byte range locking is attempted. A fix that allows the nlm_advlock() to work with both clients is in progress, but may take a while. As such, I am doing this commit so that the kernel doesn't panic in the meantime. Submitted by: jh MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-09T16:06:55.974823Z K 7 svn:log V 127 Reorder statistics tracking and table lock acquisitions already in place to avoid race conditions updating the PVO statistics. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-09T16:27:02.782435Z K 7 svn:log V 42 Fix small errors in the sbuf(9) man page. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-09T16:51:52.027910Z K 7 svn:log V 212 Refactor sbuf code so that most uses of sbuf_extend() are in a new sbuf_put_byte(). This makes it easier to add drain functionality when a buffer would overflow as there are fewer code points. Reviewed by: phk END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-09T17:45:48.385423Z K 7 svn:log V 439 Clean up and update sys/mips/rmi/rmi_mips_exts.h - Provide 64 bit implementations for some macros. On n64 and n32, don't split 64 bit values. - No need for 32 bit ops for control registers. - Fix few bugs (write control reg, write_c0_register64). - Re-write EIRR/EIMR/CPUID operations using read_c0_registerXX, no need of inline assembly. - rename control reg access functions to avoid phnx, update callers. - stlye/whitespace fixes. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-09T17:49:18.817034Z K 7 svn:log V 626 Add drain functionality to sbufs. The drain is a function that is called when the sbuf internal buffer is filled. For kernel sbufs with a drain, the internal buffer will never be expanded. For userland sbufs with a drain, the internal buffer may still be expanded by sbuf_[v]printf(3). Sbufs now have three basic uses: 1) static string manipulation. Overflow is marked. 2) dynamic string manipulation. Overflow triggers string growth. 3) drained string manipulation. Overflow triggers draining. In all cases the manipulation is 'safe' in that overflow is detected and managed. Reviewed by: phk (the previous version) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-09T18:19:15.994979Z K 7 svn:log V 274 - Rename the constant for the Master Data Parity Error flag in the PCI status register to map its current name. - Use PCIM_* rather than PCIR_* for constants for fields in various AER registers. I got about half of them right in the previous commit. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-09T18:29:48.755277Z K 7 svn:log V 186 - Use 'sta' to hold the PCIR_STATUS register value instead of 'cmd' when walking the capability list. - Use constants for PCI header types instead of magic numbers. MFC after: 1 week END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-09T18:33:46.606479Z K 7 svn:log V 324 Add a drain function for struct sysctl_req, and use it for a variety of handlers, some of which had to do awkward things to get a large enough FIXEDLEN buffer. Note that some sysctl handlers were explicitly outputting a trailing NUL byte. This behaviour was preserved, though it should not be necessary. Reviewed by: phk END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-09T18:35:08.488241Z K 7 svn:log V 73 Fix an incorrect use of sbuf_overflowed() after a call to sbuf_finish(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-09T18:51:20.610124Z K 7 svn:log V 65 Document the format of extended capabilities in the '-c' output. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-09T18:51:50.388548Z K 7 svn:log V 554 libelf is overly strict about the type and alignment of Elf_Data objects inside one ELF section, which prevents the creation of a ELF section with mixed data types. For example, gcc LTO use libelf to create a .gnu_lto_XXX section that contains integers and a string table, which doesn't work with our libelf implementation. The changes made in this commit include: * Allow Elf_Data type to be different than section type. * Relax Elf_Data alignment check. * Align each Elf_Data by their own alignment instead of section alignment. MFC after: 1 month END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-09-09T19:27:40.444125Z K 7 svn:log V 59 Note bug in trying to printf(1) things like: '-%s\n' "foo" END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T19:51:46.356349Z K 7 svn:log V 85 kue(4) don't depend on uther module anymore that it's not tested due to lack of H/W. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-09-09T20:07:40.518991Z K 7 svn:log V 123 Add minor optimization. It's less strict than its kernel counterpart due to upcoming ACL changes required by the new ZFS. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T20:11:41.215987Z K 7 svn:log V 86 rue(4) don't depend on uether module anymore that it's not tested due to lack of H/W. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-09T20:26:30.215720Z K 7 svn:log V 140 Catch up to rename of the constant for the Master Data Parity Error bit in the PCI status register. Pointed out by: mdf Pointy hat to: jhb END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-09-09T20:37:19.356215Z K 7 svn:log V 131 Arrgh, tested wrong source tree _again_. Fix previous commit. Also, this and previous one are MFC candidate. MFC after: 1 month END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-09-09T20:51:23.187610Z K 7 svn:log V 104 * Remove code which has no effect. * Clean up the handling in sctp_lower_sosend(). MFC after: 3 weeks. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-09T21:01:41.481737Z K 7 svn:log V 44 Bump __FreeBSD_version for sbuf ABI change. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-09T21:15:16.847351Z K 7 svn:log V 44 Remove duplicated code. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-09T21:18:00.568641Z K 7 svn:log V 407 Allow to boot from a pool within which replacing is in progress. Before the change it wasn't possible and the following error was printed: ZFS: can only boot from disk, mirror or raidz vdevs Now if the original vdev (the one we are replacing) is still present we will read from it, but if it is not present we won't read from the new vdev, as it might not have enough valid data yet. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-09T21:19:09.973665Z K 7 svn:log V 38 Ignore log vdevs. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-09T21:20:18.080515Z K 7 svn:log V 159 On FreeBSD we can log from pool that have multiple top-level vdevs or log vdevs, so don't deny adding new vdevs if bootfs property is set. MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-09-09T21:26:55.597852Z K 7 svn:log V 66 MFC: r207979 Build the ixgbe(4) and mwlfw(4) modules by default. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-09T21:32:09.942560Z K 7 svn:log V 62 Remove empty lines committed by accident. MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-09-09T21:37:05.105807Z K 7 svn:log V 43 Some more grammar, wording and mdoc fixes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-09-09T21:39:06.074718Z K 7 svn:log V 15 Xref aesni(4). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-09T21:59:53.900756Z K 7 svn:log V 254 expr(1): Add sh(1) versions of examples, remove an incorrect example. The three examples are better done using sh(1) itself these days. The example expr -- "$a" : ".*" is incorrect in the general case, as "$a" may be an operator. MFC after: 2 weeks END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T23:17:25.456060Z K 7 svn:log V 83 udav(4) now doesn't depend on uether module though it's tested due to lack of H/W. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T23:21:15.901122Z K 7 svn:log V 67 Removes unused variables that drivers don't use MII bus interface. END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-09T23:27:07.106036Z K 7 svn:log V 34 Initialize portupgrade repository END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-09T23:27:30.417459Z K 7 svn:log V 17 create structure END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-09T23:28:12.746420Z K 7 svn:log V 15 'import 2.4.6' END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-09T23:28:35.345605Z K 7 svn:log V 10 tag 2.4.6 END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-09T23:30:30.347254Z K 7 svn:log V 16 put tag in tags END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-09T23:31:22.881004Z K 7 svn:log V 77 No more uether module that all USB ethernet drivers uses their own routines. END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-09T23:37:54.701747Z K 7 svn:log V 52 - Update to ports-mgmt/portupgrade-devel@20091221_1 END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-09T23:38:29.371552Z K 7 svn:log V 15 tag 20091221_1 END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-09T23:45:15.428806Z K 7 svn:log V 23 - yeah right, ruby 1.6 END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-09T23:45:59.454725Z K 7 svn:log V 23 eventually lang/ruby19 END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-10T00:00:06.897243Z K 7 svn:log V 328 When using pf routing options, properly handle IP fragmentation for interfaces with TSO enabled, otherwise one would see an extra ICMP unreach, frag needed pre matching packet on lo0. This syncs pf code to ip_output.c r162084. PR: kern/144311 Submitted by: yongari via mlaier Reviewed by: eri Tested by: kib MFC after: 8 days END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-10T00:23:44.679414Z K 7 svn:log V 236 device_set_usb_desc() would be called whenever the USB device is tried to attach if the probe was good. This behaviour was a change between old USB stack and new USB stack. I could not find a reason why it's not called automatically. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-10T01:47:37.581947Z K 7 svn:log V 231 Because POSIX does not allow EINTR to be returned from sigwait(), add a wrapper for it in libc and rework the code in libthr, the system call still can return EINTR, we keep this feature. Discussed on: thread Reviewed by: jilles END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-10T03:52:05.502134Z K 7 svn:log V 904 MFC: r212169: Allow / in the NANO_DEVICE r209225: Allow boot.config to have different values than just -h. r209210: Allow population of /cfg and /data. Begin the move to making all slice creation overrideable too, but there's a few problems doing that for the duplicated partitions (s1 and s2), so just comment that it needs work. r209209: Create a make.conf. not needed for runtime, but some ports want to spam it at compile or install time. r209207: make these convenience functions more convenient by accepting all args, not just the first. makes mechanical conversion of old style more forgiving. r207436: Fix typo in usage message. Add -n to the list of valid arguments. r206276: Fix comment about NANO_ARCH. It can be set now. Also add a warning about how it confuses TARGET and TARGET_ARCH and the need to separate the two out into independent variables. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-10T04:44:13.385305Z K 7 svn:log V 95 Forgot to commit this file. Add ZPOOL_CONFIG_IS_LOG. Reported by: keramida MFC after: 2 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-09-10T06:26:28.635112Z K 7 svn:log V 47 Protect BSDI $Id from accidental manipulation. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-10T07:06:06.191870Z K 7 svn:log V 50 Compilation fix - when INVARIANTS are turned off. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-09-10T08:11:48.281835Z K 7 svn:log V 272 Fix firmware module dependencies. malo and mwl use the firmware framework to access firmware images. Depending on the firmware modules itself is not required and in this case even wrong because no modules with those names exist. Pointed out by: brucec MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-09-10T08:27:02.479301Z K 7 svn:log V 143 Create the var/run/wpa_supplicant directory where the wpa_supplicant RC script wants to save a pidfile for each interface. MFC after: 2 weeks END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2010-09-10T11:01:11.572246Z K 7 svn:log V 169 Add Planex UE-200TX-G to list of supported devices. (http://lists.freebsd.org/pipermail/freebsd-current/2008-December/001756.html) Submitted by: nork MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-10T11:19:03.733507Z K 7 svn:log V 295 bus_add_child: change type of order parameter to u_int This reflects actual type used to store and compare child device orders. Change is mostly done via a Coccinelle (soon to be devel/coccinelle) semantic patch. Verified by LINT+modules kernel builds. Followup to: r212213 MFC after: 10 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-10T12:16:24.325585Z K 7 svn:log V 157 Don't try to map the USDT probes. This is necessary because there is no __SUNW_dof symbol present in FreeBSD binaries. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-10T12:55:36.125474Z K 7 svn:log V 117 MFC r211941: Recalcule the return value in pollout(). PR: kern/143029 Tested by: John Plevyak END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-10T13:24:47.013781Z K 7 svn:log V 137 Do not IPI CPU that is already spinning for load. It doubles effect of spining (comparing to MWAIT) on some heavly switching test loads. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-10T13:40:31.464628Z K 7 svn:log V 334 sh(1): Remove xrefs for expr(1) and getopt(1). expr(1) should usually not be used as various forms of parameter expansion and arithmetic expansion replicate most of its functionality in an easier way. getopt(1) should not be used at all in new code. Instead, getopts(1) or entirely manual parsing should be used. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-10T14:00:27.805280Z K 7 svn:log V 61 test(1): Clarify grammar ambiguity and -a/-o vs shell &&/||. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-10T14:03:58.039691Z K 7 svn:log V 92 test(1): Fix markup, ( and ) must be separate arguments so leave spaces. MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-09-10T15:03:56.472567Z K 7 svn:log V 817 MFp4 (//depot/projects/mps/...) Bring in a driver for the LSI Logic MPT2 6Gb SAS controllers. This driver supports basic I/O, and works with SAS and SATA drives and expanders. Basic error recovery works (i.e. timeouts and aborts) as well. Integrated RAID isn't supported yet, and there are some known bugs. So this isn't ready for production use, but is certainly ready for testing and additional development. For the moment, new commits to this driver should go into the FreeBSD Perforce repository first (//depot/projects/mps/...) and then get merged into -current once they've been vetted. This has only been added to the amd64 GENERIC, since that is the only architecture I have tested this driver with. Submitted by: scottl Discussed with: imp, gibbs, will Sponsored by: Yahoo, Spectra Logic Corporation END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-10T15:33:26.633266Z K 7 svn:log V 123 MFC r211861: pmap_mapdev() does not appear to actually need GIANT to be held here, and asserting that is held breaks drm. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-10T16:19:58.546858Z K 7 svn:log V 93 Add the DTRACE variable that points to the executable. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-10T16:21:09.159216Z K 7 svn:log V 206 Check the existence of a 'beforelinking' target and make the resulting program or library depend on that before doing the final linking. This will be needed by DTrace. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-10T16:27:09.854204Z K 7 svn:log V 319 Add bsd.dtrace.mk. This allows userland programs and libraries to define USDT probes on a provider.d file and then use this new make infrastructure to build the corresponding header file and object file. This will only take effect when the user defines WITH_DTRACE when building. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-10T16:42:16.730804Z K 7 svn:log V 263 Replace sbuf_overflowed() with sbuf_error(), which returns any error code associated with overflow or with the drain function. While this function is not expected to be used often, it produces more information in the form of an errno that sbuf_overflowed() did. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-10T17:00:48.644087Z K 7 svn:log V 29 Fix typo in previous commit. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-10T17:26:41.959210Z K 7 svn:log V 950 MFC r211194, r211229, r212058, r212063: memguard(9) rewrite r211194: Rework memguard(9) to reserve significantly more KVA to detect use-after-free over a longer time. Also release the backing pages of a guarded allocation at free(9) time to reduce the overhead of using memguard(9). Allow setting and varying the malloc type at run-time. Add knobs to allow: - randomly guarding memory - adding un-backed KVA guard pages to detect underflow and overflow - a lower limit on the size of allocations that are guarded r211229: Fix compile. It seemed better to have memguard.c include opt_vm.h in case future compile-time knobs were added that it wants to use. Also add include guards and forward declarations to vm/memguard.h. r212058: The realloc case for memguard(9) will copy too many bytes when reallocating to a smaller-sized allocation. Fix this issue. r212063: Have memguard(9) crash with an easier-to-debug message on double-free. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-10T17:44:11.950663Z K 7 svn:log V 186 Fix bugs introduced in the previous rev: * add a phatom target for the DTRACEOBJS * when invoking DTrace, don't add DTRACEOBJS to the command line. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-09-10T18:19:38.754641Z K 7 svn:log V 220 Add real dependancies on the uuencoded firmwares. Now when one does 'make kernel ; make kernel' the second invocation only does: `kernel.ko' is up to date. rather than reproduce all the .fw files and relink the kernel. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-10T18:48:26.442852Z K 7 svn:log V 54 Defines UCOM_LOCK and UCOM_UNLOCK macros and uses it. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-09-10T19:20:52.243146Z K 7 svn:log V 176 Remind the user that he needs to run 'freebsd-update install' to install new bits after downloading them using 'freebsd-update upgrade'. Submitted by: bapt MFC after: 1 month END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-09-10T19:23:59.537084Z K 7 svn:log V 112 Add warning about freebsd-update upgrade needing lots of disk space. Submitted by: jpaetzel MFC after: 1 month END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-10T19:34:00.095741Z K 7 svn:log V 39 Removes unused header "usb_process.h". END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-09-10T20:20:28.104737Z K 7 svn:log V 216 "freebsd-update fetch -r NEWRELEASE" is meaningless and probably a typo for "freebsd-update upgrade -r NEWRELEASE". Error out and suggest what the user probably meant. Submitted by: James Seward MFC after: 1 month END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-10T20:42:41.327713Z K 7 svn:log V 92 Mark the sbuf_overflowed(9) manpage as obsolete since it has been renamed. Noticed by: jhb END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-09-10T21:45:42.479967Z K 7 svn:log V 110 Don't exit kern_jail_set without freeing options when enforce_statfs has an illegal value. MFC after: 3 days END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-10T21:53:47.185374Z K 7 svn:log V 950 MFC r211194, r211229, r212058, r212063: memguard(9) rewrite r211194: Rework memguard(9) to reserve significantly more KVA to detect use-after-free over a longer time. Also release the backing pages of a guarded allocation at free(9) time to reduce the overhead of using memguard(9). Allow setting and varying the malloc type at run-time. Add knobs to allow: - randomly guarding memory - adding un-backed KVA guard pages to detect underflow and overflow - a lower limit on the size of allocations that are guarded r211229: Fix compile. It seemed better to have memguard.c include opt_vm.h in case future compile-time knobs were added that it wants to use. Also add include guards and forward declarations to vm/memguard.h. r212058: The realloc case for memguard(9) will copy too many bytes when reallocating to a smaller-sized allocation. Fix this issue. r212063: Have memguard(9) crash with an easier-to-debug message on double-free. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-10T23:15:05.209548Z K 7 svn:log V 174 Add EINVAL to list of possible return values for cpuset_getaffinity(2). PR: 149978 Submitted by: gcooper Patch by: gcooper Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-10T23:18:45.726826Z K 7 svn:log V 411 Fix the NFSVNO_CMPFH() macro in the experimental NFS server so that it works correctly for ZFS file handles. It is possible to have two ZFS file handles that differ only in the bytes in the fid_reserved field of the generic "struct fid" and comparing the bytes in fid_data didn't catch this case. This patch changes the macro to compare all bytes of "struct fid". Tested by: gull at gull.us MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-10T23:22:01.441520Z K 7 svn:log V 156 Add RETURN VALUES section to devclass_get_maxunit(9). PR: 149979 Submitted by: gcooper Patch by: gcooper Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-10T23:24:55.744197Z K 7 svn:log V 190 Note O_SYNC and O_NOFOLLOW flags in dbopen(3) since r190497. PR: 150030 Submitted by: Janne Snabb snabb at epipe com Patch by: Janne Snabb Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-10T23:38:18.078141Z K 7 svn:log V 541 Made the following experimental changes on ucom module: o Removes struct ucom_super_softc that contains only `struct usb_process' variable. I could not find a reason why it's separated from `struct ucom_softc' and what it's for. o No more `struct usb_process' that menas ucom module doesn't create its own process context to serialize the USB commands. If it really need to be serialized I'd use sx(9) lock instead of the process context. Currently it'd call the callback functions directly on caller context. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-10T23:49:33.599321Z K 7 svn:log V 487 This patch applies one of the two fixes suggested by zack.kirsch at isilon.com for a race between nfsrv_freeopen() and nfsrv_getlockfile() in the experimental NFS server that he found during testing. Although nfsrv_freeopen() holds a sleep lock on the lock file structure when called with cansleep != 0, nfsrv_getlockfile() could still search the list, once it acquired the NFSLOCKSTATE() mutex. I believe that acquiring the mutex in nfsrv_freeopen() fixes the race. MFC after: 2 weeks END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-10T23:55:27.897352Z K 7 svn:log V 106 Uses mtx_sleep(9) instead of explicitly dropping the lock that it'll do the samething what we want to do. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-10T23:55:46.896817Z K 7 svn:log V 9 style(9) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-11T01:08:16.129415Z K 7 svn:log V 436 MFC: r211951 The timer routine in the experimental NFS server did not acquire the correct mutex when checking nfsv4root_lock. Although this could be fixed by adding mutex lock/unlock calls, zack.kirsch at isilon.com suggested a better fix that uses a non-blocking acquisition of a reference count on nfsv4root_lock. This fix allows the weird NFSLOCKSTATE(); NFSUNLOCKSTATE(); synchronization to be deleted. This patch applies this fix. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-11T01:23:24.787498Z K 7 svn:log V 156 Generalizes the usage of function pointer like BSD's other sources. While I'm here changes the variable name from `cb' to `func' which is one of confusing. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-11T01:26:40.669885Z K 7 svn:log V 9 style(9) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-11T01:27:10.677083Z K 7 svn:log V 9 style(9) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-11T01:49:05.987348Z K 7 svn:log V 247 Removes `usb_bus_mem_callback_t' and simplifies the logic passing the callback pointer. As a refection by this change the following prototype of functions are changed: o usb_bus_mem_flush_all o usb_bus_mem_free_all o usb_bus_mem_alloc_all END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-11T01:51:45.988193Z K 7 svn:log V 127 Renames usb_bus_mem_sub_callback_t to usb_bus_mem_callback_t because usb_bus_mem_callback_t is removed at the previous commit. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-11T02:00:27.714500Z K 7 svn:log V 250 MFC: r211953 Add acquisition of a reference count on nfsv4root_lock in the nfsd_recalldelegation() function, since this function is called by nfsd threads when they are handling NFSv2 or NFSv3 RPCs, where no reference count would have been acquired. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-11T04:45:51.605745Z K 7 svn:log V 150 Update PowerPC event timer code to use new event timers infrastructure. Reviewed by: nwitehorn Tested by: andreast H/W donated by: Gheorghe Ardelean END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-11T06:38:34.235130Z K 7 svn:log V 44 MFC r211940: Test the poll(2) return value. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-11T07:08:22.228184Z K 7 svn:log V 535 Merge some SCHED_ULE features to SCHED_4BSD: - Teach SCHED_4BSD to inform cpu_idle() about high sleep/wakeup rate to choose optimized handler. In case of x86 it is MONITOR/MWAIT. Also it will be needed to bypass forthcoming idle tick skipping logic to not consume resources on events rescheduling when it won't give any benefits. - Teach SCHED_4BSD to wake up idle CPUs without using IPI. In case of x86, when MONITOR/MWAIT is active, it require just single memory write. This doubles performance on some heavily switching test loads. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-11T07:24:10.340591Z K 7 svn:log V 129 Sparc64 uses dummy cpu_idle() method. It's CPUs never sleeping. Tell scheduler that it doesn't need to use IPI to "wake up" CPU. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-11T08:09:14.209323Z K 7 svn:log V 198 make acpi_hp device a child of acpi_wmi to properly reflect dependency between the devices/drivers PR: kern/147858 Suggested by: jhb Tested by: Maciej Suszko MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-11T08:15:18.136999Z K 7 svn:log V 30 kill() does queue signal now. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-11T09:26:36.093989Z K 7 svn:log V 38 Make a link for pthread_timedjoin_np. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-11T09:53:33.051357Z K 7 svn:log V 130 Fix the build after r212453. IPI_STATCLOCK declaration is still needed for build, though not really used. Submitted by: andreast END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-11T10:11:59.291507Z K 7 svn:log V 95 Add a comment describing where to include bsd.dtrace.mk. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-11T10:16:15.844580Z K 7 svn:log V 64 Disable debug by default. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-09-11T10:49:56.579322Z K 7 svn:log V 83 Revert changes of 'assure' to 'ensure' made in r211936. Approved by: rrs (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-11T12:51:01.363771Z K 7 svn:log V 48 MFC r212214: sh: Get rid of some magic numbers. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-11T12:58:31.457380Z K 7 svn:log V 115 Avoid a LOR (sleepable after non-sleepable) in fasttrap_tracepoint_enable(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-11T13:06:06.554553Z K 7 svn:log V 350 Protect mnt_syncer with the sync_mtx. This prevents a (rare) vnode leak when mount and update are executed in parallel. Encapsulate syncer vnode deallocation into the helper function vfs_deallocate_syncvnode(), to not externalize sync_mtx from vfs_subr.c. Found and reviewed by: jh (previous version of the patch) Tested by: pho MFC after: 3 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-11T14:15:50.023831Z K 7 svn:log V 96 sh: Apply variable assignments left-to-right in bltinlookup(). Example: HOME=foo HOME=bar cd END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-09-11T14:18:30.110505Z K 7 svn:log V 225 MFC r206909: It's not necessary to reset the chip every time an input overflow event occurs. In addition, the delay when programming the short cable fix should be 100us, not 100ms. PR: kern/64556 Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-09-11T14:21:02.866949Z K 7 svn:log V 268 MFC r206909: It's not necessary to reset the chip every time an input overflow event occurs. In addition, the delay when programming the short cable fix should be 100us, not 100ms. PR: kern/64556 Submitted by: Thomas Hurst Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-09-11T14:26:18.576495Z K 7 svn:log V 256 MFC r211419: Since top displays the uptime including seconds, there is no need to add 30 onto it, which may have been used for rounding purposes in other utilities. PR: bin/147934 Submitted by: Janne Snabb Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-09-11T14:29:31.229362Z K 7 svn:log V 256 MFC r211419: Since top displays the uptime including seconds, there is no need to add 30 onto it, which may have been used for rounding purposes in other utilities. PR: bin/147934 Submitted by: Janne Snabb Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-09-11T14:34:16.583170Z K 7 svn:log V 179 MFC r211415: Add -m and -M options to control the minimum and maximum frequency. PR: bin/145063 Submitted by: Boris Kochergin Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-09-11T14:39:53.099437Z K 7 svn:log V 179 MFC r211415: Add -m and -M options to control the minimum and maximum frequency. PR: bin/145063 Submitted by: Boris Kochergin Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-09-11T14:46:19.118146Z K 7 svn:log V 75 MFC r182194: Add geom_journal PR: conf/126829 Approved by: rrs (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-11T15:07:40.276855Z K 7 svn:log V 63 sh: Fix exit status if return is used within a loop condition. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-09-11T18:50:33.943678Z K 7 svn:log V 66 Merge r212162 from head: Correct spelling mistake, int -> into END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-09-11T18:55:00.420563Z K 7 svn:log V 100 Change OF_interpret() to also take an array of cell_t (missed in r209801). Reviewed by: nwhitehorn END K 10 svn:author V 3 kan K 8 svn:date V 27 2010-09-11T19:42:50.695866Z K 7 svn:log V 43 Add missing pointer increment to sbuf_cat. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-11T20:18:15.229655Z K 7 svn:log V 58 Do not print "frequency 0 Hz", when frequency is unknown. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-11T21:49:28.023697Z K 7 svn:log V 193 Mentions cases when bwi(4) driver should be used that it only wrote about chipset type instead of card names because it's not easy to sort names what cards use these chipsets. Pointed by: imp END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-09-11T21:52:40.417512Z K 7 svn:log V 97 Remove unused variable 'idle' which mistakenly got merged in r212472. Approved by: rrs (mentor) END K 10 svn:author V 4 will K 8 svn:date V 27 2010-09-11T22:02:36.012628Z K 7 svn:log V 193 MFC r211157, r211193, r212265, r212266: make it possible to load carp(4) as a kld using function pointer hooks and {pf_,ip,ip6}proto_{un,}register(). Reviewed by: bz Approved by: ken (mentor) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-11T22:09:16.404118Z K 7 svn:log V 138 ATAPI DMA does not seem to work completely reliably on Shasta controllers, especially in conjunction with ATA_CAM, so disable it for now. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-11T23:03:40.343095Z K 7 svn:log V 358 Changes the purpose of usb_bus_mem_alloc_all() that did initialize DMA/PIO mode, the tailq and callouts. Just looking the function name it looks it's doing jobs related with memory initialization but it's doing more than it that it's really confusing. So cleans up its meaning and adds a wrapper, usb_bus_struct_init, to initialize the usb_bus structure. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-11T23:09:25.124270Z K 7 svn:log V 9 style(9) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-12T00:08:07.120376Z K 7 svn:log V 304 One of things to make USB stack hard to read is that I think there are too many places mtx_owned(9) used. Using mtx_owned(9) looks it makes code short but IMHO it leads for developers not to understand the code flow clearly. As further works I'd like to remove all mtx_owned(9) if it could be removed. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-12T00:12:18.253593Z K 7 svn:log V 174 An experimental commit to change the USB bus lock from the recursive to the normal. It'd be best for HCD not to use the recursive lock to keep the code simple and readable. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-12T00:49:16.327668Z K 7 svn:log V 150 No more the USB explore process that it's replaced to the taskqueue. As further works other process contexts would be changed to taskqueues finally. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-12T00:53:10.216478Z K 7 svn:log V 49 Adds a comment why the thread count should be 1. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-09-12T06:19:35.865040Z K 7 svn:log V 252 MFC r212008, 212028, 212210: Vendor update to version 3.80.06.003 to fix panic with ZFS under heavy I/O load. PR: kern/149968 Submitted by: LSI (Tom Couch) Reported by: Kai Kockro Tested by: Kai Kockro, jpaetzel END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-12T11:11:53.243034Z K 7 svn:log V 147 Instead of storing last event timestamp, store the next event timestamp. It corrects handling of the first event offset in emulated periodic mode. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-12T14:04:05.885080Z K 7 svn:log V 139 Bump dates in dbopen(3) and cpuset_getaffinity(2) from r212441 and r212438, repectively. Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-12T14:04:54.112849Z K 7 svn:log V 74 Bump date from r212440. Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-12T14:12:16.444529Z K 7 svn:log V 349 Revamp locking a bit. This fixes three problems: * processes now can't go away while we are inserting probes (fixes a panic) * if a trap happens, we won't be holding the process lock (fixes a hang) * fix a LOR between the process lock and the fasttrap bucket list lock Thanks to kib for pointing some problems. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-12T15:59:14.100939Z K 7 svn:log V 161 Give a chance to the target binary to run the ctors by waiting until it has reached main(). This allows plockstat to work. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-09-12T16:28:26.326143Z K 7 svn:log V 213 List low-level Blowfish ECB module in the SRCS. It looks like it was dropped by accident (and it would be inconvenient to implement it otherwise because it uses internal non-published headers). MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-12T17:04:51.196886Z K 7 svn:log V 189 Check for undefined weak symbols during PLT binding on powerpc64, and do not attempt to copy NULL function descriptors. This fixes LD_BIND_NOW on powerpc64 after r211706. Reviewed by: kib END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-12T17:50:07.712948Z K 7 svn:log V 226 Rewording and typo fixes in newfs(8). PR: 150490 Submitted by: Eitan Adler Additional fixes by: Warren Block , keramida Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-12T17:53:31.937701Z K 7 svn:log V 29 Fix typo. MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-12T17:53:36.844533Z K 7 svn:log V 163 I believe the majority of Gregorian calendars would agree the current year is 2010, not 2005. Approved by: keramida (mentor) Pointy hat to: gjb MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-12T17:55:56.559149Z K 7 svn:log V 38 Add DF_1_LOADFLTR. MFC after: 3 days END K 10 svn:author V 6 qingli K 8 svn:date V 27 2010-09-12T18:04:47.345360Z K 7 svn:log V 180 Adding an address on an interface also requires the loopback route to that address be installed. PR: kern/150481 Submitted by: Ingo Flaschberger MFC after: 5 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-12T18:37:34.296643Z K 7 svn:log V 122 MFC 212241. Note that jail_list should contain alphanumeric characters only. PR: 150098 Approved by: keramida (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-12T18:50:57.594951Z K 7 svn:log V 122 MFC 212241. Note that jail_list should contain alphanumeric characters only. PR: 150098 Approved by: keramida (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-12T18:53:44.218453Z K 7 svn:log V 136 In backup_kernel(), support backing up subdirectories and handle files with spaces correctly. Approved by: cperciva MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-12T19:06:08.809248Z K 7 svn:log V 429 Do not fork nfsiod directly from the vop methods. This causes LORs between vnode lock and several locks needed during fork, like fd lock. Instead, schedule the task to be executed in the taskqueue context. We still waiting for the fork to finish, but the context of the thread executing the task does not make real LORs with our vnode lock. Submitted by: pluknet at gmail com Reviewed by: jhb Tested by: pho MFC after: 3 weeks END K 10 svn:author V 6 cognet K 8 svn:date V 27 2010-09-12T20:46:32.050750Z K 7 svn:log V 157 In pmap_remove_all(), do not decrease pm_stats.wired_count if the mapping was wired, as it's been done later in pmap_nuke_pv(). Submitted by: Mark Tinguely END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-12T22:00:31.583879Z K 7 svn:log V 152 sh: Add __dead2 to two functions that do not return. Apart from helping static analyzers, this also appears to reduce the size of the binary slightly. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T00:38:46.439432Z K 7 svn:log V 20 Merge head @r212508 END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-09-13T00:42:07.416642Z K 7 svn:log V 109 MFC r212436: Don't exit kern_jail_set without freeing options when enforce_statfs has an illegal value. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T00:57:48.008757Z K 7 svn:log V 197 Use TARGET_CPUARCH instead of TARGET_ARCH here. Define TARGET_CPUARCH based on TARGET_ARCH. Use TARGET_ARCH still for a powerpc64 test. Futureproof for coming mipsel/mipseb and arm/armeb rename. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T01:00:48.641089Z K 7 svn:log V 53 Move to using TARGET_CPUARCH instead of TARGET_ARCH. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T01:20:53.529888Z K 7 svn:log V 59 merge powerpc and powerpc64 now that we use TARGET_CPUARCH END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T01:27:54.504133Z K 7 svn:log V 20 Merge head @r212513 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T01:29:51.215831Z K 7 svn:log V 206 Merge from tbemd: Add directory names directly and sort at the end. Include bsd.arch.inc.mk so we can, in the future, more easily make arch dependent changes in /bin (unlikely, but is needed for symmetry). END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T01:43:10.683987Z K 7 svn:log V 334 Merge from tbemd, with a small amount of rework: For all libthr contexts, use ${MACHINE_CPUARCH} for all libc contexts, use ${MACHINE_ARCH} if it exists, otherwise use ${MACHINE_CPUARCH} Move some common code up a layer (the .PATH statement was the same in all the arch submakefiles). # Hope she hasn't busted powerpc64 with this... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T01:44:07.040943Z K 7 svn:log V 24 Include FreeBSD svn tag END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T01:44:56.307607Z K 7 svn:log V 61 MFtbemd: Move to using MACHINE_CPUARCH, now that it is safe. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T01:58:17.768179Z K 7 svn:log V 26 Merge from head @r212518. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:01:29.288626Z K 7 svn:log V 25 Use T:Micc for icc tests END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:02:20.829946Z K 7 svn:log V 50 Use :T:Micc here like everywhere else we test icc END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:04:02.694180Z K 7 svn:log V 65 Reduce diffs against head: kill bogus blank line from this copy. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:05:42.206032Z K 7 svn:log V 29 MFtbemd: use MACHINE_CPUARCH END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:10:29.330733Z K 7 svn:log V 21 Merge head @r212523. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:21:07.099262Z K 7 svn:log V 104 Merge from tbemd: use Makefile.arch to control building. Reviewed by: arch@ (many times, no objection) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:23:03.297714Z K 7 svn:log V 107 Merge from tbemd: Move to using Makefile.arch to control what's build. Reviewed by: (arch@, no objection) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:25:21.530121Z K 7 svn:log V 98 MF tbemd: Move to using Makefile.arch to select what to build. Reviewed by: arch@ (no objection) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:26:36.443394Z K 7 svn:log V 38 Ooops! Shouldn't have committed this END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:33:55.716358Z K 7 svn:log V 16 Merge @r212528. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T02:35:48.714454Z K 7 svn:log V 49 powerpc64 not powerpc65, give the extra bit back END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T04:23:23.283301Z K 7 svn:log V 53 This is exactly the same as the .else, so remove it. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-13T05:03:37.027784Z K 7 svn:log V 189 The functions in sys/mips/mips/psraccess.S can be implemented with mips_rd_status/mips_wr_status. Implement them in mips/include/cpufunc.h, and remove psraccess.S. Reviewed by: neel, imp END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-13T06:32:56.418216Z K 7 svn:log V 138 Add tunable 'hint.hpet.X.per_cpu' to specify how much per-CPU timers driver should provide if there is sufficient hardware. Default is 1. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T06:35:35.001984Z K 7 svn:log V 68 Revert r212513 and reimplement the search order to be ARCH, CPUARCH END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T06:50:07.276000Z K 7 svn:log V 55 Doh! two last second refactoring typos crept in. Fix. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-13T07:03:01.159183Z K 7 svn:log V 47 Convert thread list lock from mutex to rwlock. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T07:15:01.026788Z K 7 svn:log V 292 It turns out that TARGET_CPUARCH doesn't buy us much here, if anything, but costs us another copy of the transform. Revert it. # Maybe makefile.inc1 should set TARGET_CPUARCH for the cross-tools, but # it doesn't now. That would solve problems in other places too. Submitted by: jmallet@ END