ƒ´K215521 166 5428 225 467 380 541 217 335 335 403 175 175 152 152 465 465 206 449 184 240 323 270 99 206 473 207 487 145 344 194 298 743 634 149 528 190 319 697 365 228 482 175 443 168 318 186 186 263 334 117 246 269 305 357 226 307 210 330 217 200 225 229 149 364 409 223 172 500 157 204 166 164 215 231 145 242 188 160 423 423 608 608 274 274 123 116 140 135 174 264 279 167 213 192 192 480 202 202 427 427 224 291 410 445 894 138 152 152 589 234 336 877 336 561 713 271 357 467 409 172 232 235 189 117 114 202 202 139 139 444 247 234 245 160 137 144 119 130 110 178 254 825 158 292 1021 723 256 301 301 366 200 366 156 402 139 442 139 182 193 832 242 139 357 213 254 254 736 K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-19T14:26:45.934574Z K 7 svn:log V 5334 MFC imports of ACPICA revisions 20100428 through 20101013 Plus related changes and ehancements. Full list of revisions: o----------------------------------------------------------------------- r207344 | jkim | 2010-04-29 01:25:27 +0300 (Thu, 29 Apr 2010) | 2 lines Merge ACPICA 20100428. o----------------------------------------------------------------------- r209065 | jkim | 2010-06-11 22:58:41 +0300 (Fri, 11 Jun 2010) | 2 lines Simplify a function for getting brightness levels. o----------------------------------------------------------------------- r209746 | jkim | 2010-07-06 23:57:28 +0300 (Tue, 06 Jul 2010) | 2 lines Merge ACPICA 20100702. o----------------------------------------------------------------------- r209747 | jkim | 2010-07-07 00:41:08 +0300 (Wed, 07 Jul 2010) | 2 lines Fix mis-merges in the previous commit. o----------------------------------------------------------------------- r210150 | jkim | 2010-07-16 02:24:06 +0300 (Fri, 16 Jul 2010) | 3 lines If there is any pending sleep request, disallow entering S5 state. Otherwise, bad things may happen. ;-) o----------------------------------------------------------------------- r210976 | jkim | 2010-08-07 02:11:19 +0300 (Sat, 07 Aug 2010) | 2 lines Merge ACPICA 20100806. o----------------------------------------------------------------------- r211763 | mav | 2010-08-24 21:07:59 +0300 (Tue, 24 Aug 2010) | 4 lines When ACPI reports current battery consumption rate in mAmps, print it also in mWatts. Values in mAmps are not always suitable, because they depend on battery voltage, which depends on battery type and charge level. o----------------------------------------------------------------------- r212761 | jkim | 2010-09-16 23:08:00 +0300 (Thu, 16 Sep 2010) | 2 lines Merge ACPICA 20100915. o----------------------------------------------------------------------- r213772 | rpaulo | 2010-10-13 14:38:24 +0300 (Wed, 13 Oct 2010) | 3 lines Mark acpi_bus_number() as __unused. This allows clang to this file without any warnings. o----------------------------------------------------------------------- r213783 | jkim | 2010-10-13 19:30:41 +0300 (Wed, 13 Oct 2010) | 4 lines Remove acpi_bus_number() completely. It had to be removed in r212761. Pointed out by: jhb o----------------------------------------------------------------------- r213787 | jkim | 2010-10-13 20:06:25 +0300 (Wed, 13 Oct 2010) | 2 lines Clean up unused headers. o----------------------------------------------------------------------- r213806 | jkim | 2010-10-14 00:37:02 +0300 (Thu, 14 Oct 2010) | 2 lines Merge ACPICA 20101013. o----------------------------------------------------------------------- r214390 | jkim | 2010-10-26 21:59:50 +0300 (Tue, 26 Oct 2010) | 18 lines Add two new loader tunables 'hw.acpi.install_interface' and 'hw.acpi.remove_interface'. hw.acpi.install_interface lets you install new interfaces. Conversely, hw.acpi.remove_interface lets you remove OS interfaces from the pre-defined list in ACPICA. For example, hw.acpi.install_interface="FreeBSD" lets _OSI("FreeBSD") method to return 0xffffffff (or success) and hw.acpi.remove_interface="Windows 2009" lets _OSI("Windows 2009") method to return zero (or failure). Both are comma-separated lists and leading white spaces are ignored. For example, the following examples are valid: hw.acpi.install_interface="Linux, FreeBSD" hw.acpi.remove_interface="Windows 2006, Windows 2006.1" o----------------------------------------------------------------------- r214401 | jkim | 2010-10-27 00:22:55 +0300 (Wed, 27 Oct 2010) | 3 lines Document newly added loader tunables "hw.acpi.install_interface" and "hw.acpi.remove_interface". o----------------------------------------------------------------------- r214765 | jkim | 2010-11-04 01:16:35 +0200 (Thu, 04 Nov 2010) | 4 lines Adjust a comment to clarify why \_SB_ and \_TZ_ are defined as device type in ACPICA. Reshuffle the code a bit to make sure this kludge only applies to these two specical cases and to make it cleaner. o----------------------------------------------------------------------- r214848 | jkim | 2010-11-05 21:50:09 +0200 (Fri, 05 Nov 2010) | 13 lines Fix a use-after-free bug for extended IRQ resource[1]. When _PRS buffer is copied as a template for _SRS, a string pointer for descriptor name is also copied and it becomes stale as soon as it gets de-allocated[2]. Now _CRS is used as a template for _SRS as ACPI specification suggests if it is usable. The template from _PRS is still utilized but only when _CRS is not available or broken. To avoid use-after-free the problem in this case, however, only mandatory fields are copied, optional data is removed, and structure length is adjusted accordingly. Reported by: hps[1] Analyzed by: avg[2] Tested by: hps o----------------------------------------------------------------------- r214849 | jkim | 2010-11-05 22:24:26 +0200 (Fri, 05 Nov 2010) | 2 lines Add a forgotten change from the previous commit. o----------------------------------------------------------------------- r214998 | jkim | 2010-11-08 21:52:14 +0200 (Mon, 08 Nov 2010) | 2 lines Consistently use padding `_' in the comment. o----------------------------------------------------------------------- Reviewed by: jkim Tested by: Alexandre "Sunny" Kovalenko On behalf of: jkim END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-19T14:46:17.805149Z K 7 svn:log V 132 specialreg.h: add definition for AMD Core Performance Boost bit This bit indicates availability of the feature. MFC after: 4 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-19T15:00:20.953406Z K 7 svn:log V 374 specialreg.h: add AMD-specific "Hardware Configuration Register" MSR It seems that this MSR has been available in a range of AMD processors families for quite a while now. Note1: not all AMD MSRs that are found in amd64 specialreg.h are also in the i386 version. Note2: perhaps some additional name component is needed to distinguish AMD-specific MSRs. MFC after: 5 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-19T15:07:36.453139Z K 7 svn:log V 287 specialreg.h: add definitions for MPERF/APERF pair of MSRs These MSRs can be used to determine actual (average) performance as compared to a maximum defined performance. Availability of these MSRs is indicated by bit0 in CPUID.6.ECX on both Intel and AMD processors. MFC after: 5 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-19T15:12:19.181053Z K 7 svn:log V 443 Make pmap_release consistent with pmap_pinit with respect to unpinning pages. The pinning of NPGPTD pages is #if 0ed out in pmap_pinit (I'm not quite sure why...) and this commit adds a corresponding #if 0 in pmap_release to avoid unpinning those pages. Some versions of Xen seem to silently ignore requests to unpin pages which were never pinned in the first place, but some return an error (causing FreeBSD to panic) prior to this commit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-19T15:39:59.579542Z K 7 svn:log V 124 Handle malloc() failures more gracefully by error'ing out rather than segfaulting. Submitted by: gcooper MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-19T16:24:12.074868Z K 7 svn:log V 242 MFC 215001: Only dump the values of the PMC and CMCI local vector table entries on a local APIC if those LVT entries are valid. This quiets spurious illegal register local APIC errors during boot on a CPU that doesn't support those vectors. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-19T16:26:51.336296Z K 7 svn:log V 242 MFC 215001: Only dump the values of the PMC and CMCI local vector table entries on a local APIC if those LVT entries are valid. This quiets spurious illegal register local APIC errors during boot on a CPU that doesn't support those vectors. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-19T16:52:18.055062Z K 7 svn:log V 310 MFC 214782: Update startup_alloc() to support multi-page allocations and allow internal zones whose objects are larger than a page to use startup_alloc(). This allows allocation of zone objects during early boot on machines with a large number of CPUs since the resulting zone objects are larger than a page. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-19T17:04:55.777239Z K 7 svn:log V 80 MFC: r214879 Implement pmap_is_prefaultable(). Reviewed by: alc (with bugfix) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-19T17:04:57.738719Z K 7 svn:log V 80 MFC: r214879 Implement pmap_is_prefaultable(). Reviewed by: alc (with bugfix) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-19T17:07:32.915056Z K 7 svn:log V 57 MFC: r215300 Remove redundant cases and a style(9) bug. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-19T17:07:33.380011Z K 7 svn:log V 57 MFC: r215300 Remove redundant cases and a style(9) bug. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-19T17:08:15.311071Z K 7 svn:log V 372 MFC 204352, 208028, 209266, 209399, 210723, 213672, 215046: - Fixed static linkage. - Document that mptutil/mpt do not support RAID volumes in excess of 2TB. - Report subcommand handler errors so that tools that invoke mptutil can robustly report errors. - Save errno values before calling warn(3) so that errors are correctly reported. - Check for malloc() failures. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-19T17:08:29.062418Z K 7 svn:log V 372 MFC 204352, 208028, 209266, 209399, 210723, 213672, 215046: - Fixed static linkage. - Document that mptutil/mpt do not support RAID volumes in excess of 2TB. - Report subcommand handler errors so that tools that invoke mptutil can robustly report errors. - Save errno values before calling warn(3) so that errors are correctly reported. - Check for malloc() failures. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-19T17:11:12.851768Z K 7 svn:log V 110 MFC: r200874 Convert drivers somehow missed in r200874 (merged to stable/8 in r202225) to multipass probing. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-19T17:24:03.544873Z K 7 svn:log V 353 MFC: r176965 Any driver that relies on its parent to set the devclass has no way to know if has siblings that need an actual probe. Introduce a specail return value called BUS_PROBE_NOOWILDCARD. If the driver returns this, the probe is only successful for devices that have had a specific devclass set for them. Reviewed by: current@, jhb@, grehan@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-11-19T17:49:08.411240Z K 7 svn:log V 92 Reduce the amount of detail printed by vm_page_free_toq() when it panics. Reviewed by: kib END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-19T17:49:16.597683Z K 7 svn:log V 143 MFC r214457,214515,214584,214676,214681,214686 by jhb, nyan and me: Move nexus in x86 and cleaning it up. Sponsored by: Sandvine Incorporated END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-19T17:56:16.625685Z K 7 svn:log V 230 Set various POSIX capability sysctls to the version of the API that is supported rather than 1. They are supposed to return a suitable value for sysconf(3). While here, make the fsync sysctl match . MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-19T17:57:50.859116Z K 7 svn:log V 177 Set the POSIX semaphore capability when the semaphore module is enabled. This is ignored in HEAD where semaphores are marked as always enabled in . MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-19T18:32:08.085528Z K 7 svn:log V 4 MFC END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-19T18:59:35.630033Z K 7 svn:log V 108 MFC r203673: Ensure that tkip_mixing_phase1() is called after a rekeying event when using plain s/w crypto. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-19T19:43:56.969167Z K 7 svn:log V 376 Scan the list in reverse order for the shutdown handlers of loaded modules. This way, when there is a dependency between two modules, the handler of the latter probed runs first. This is a similar approach as the modules are unloaded in the same linkerfile. Sponsored by: Sandvine Incorporated Submitted by: Nima Misaghian MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-19T20:23:01.310774Z K 7 svn:log V 110 Fix-up r215539 by specifying correctly the ISA headers are they are not shared on STABLE_8. Reported by: kib END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-11-19T21:04:18.282081Z K 7 svn:log V 390 MFC r213853 - Add missing LibUSB API functions: * libusb_strerror() * libusb_get_driver[_np]() * libusb_detach_kernel_driver[_np]() - Factor out setting of non-blocking flag inside libusb. - Add missing NULL check after libusb_get_device() call. - Correct some wrong error codes due to copy and paste error. PR: usb/150546 Submitted by: Robert Jenssen, Alexander Leidinger END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-19T21:15:06.717908Z K 7 svn:log V 50 sh: Add another simple test for the wait builtin. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-19T21:17:34.090433Z K 7 svn:log V 251 Remove prtactive variable and related printf()s in the vop_inactive and vop_reclaim() methods. They seems to be unused, and the reported situation is normal for the forced unmount. MFC after: 1 week X-MFC-note: keep prtactive symbol in vfs_subr.c END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-19T21:49:04.882502Z K 7 svn:log V 101 Change the delivery address for Stephan commit mail. Requested by: ups Approved by: core (implicit) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-19T22:25:32.484081Z K 7 svn:log V 202 sh: Add a test that manipulates various long strings. It is quite effective at detecting mistakes in memalloc.c and code using it. It is somewhat slow, but some of the patches in my queue improve it. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2010-11-20T04:54:58.706308Z K 7 svn:log V 647 MFC r212281 and 212282 In munmap() downgrade the vm_map_lock to a read lock before taking a read lock on the pmc-sx lock. This prevents a deadlock with pmc_log_process_mappings, which has an exclusive lock on pmc-sx and tries to get a read lock on a vm_map. Downgrading the vm_map_lock in munmap allows pmc_log_process_mappings to continue, preventing the deadlock. Without this change I could cause a deadlock on a multicore 8.1-RELEASE system by having one thread constantly mmap'ing and then munmap'ing a PROT_EXEC mapping in a loop while I repeatedly invoked and stopped pmcstat in system-wide sampling mode. Approved by: emaste (mentor) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-20T07:36:43.338130Z K 7 svn:log V 536 When enabling or disabling SIFTR with a VIMAGE kernel, ensure we add or remove the SIFTR pfil(9) hook functions to or from all network stacks. This patch allows packets inbound or outbound from a vnet to be "seen" by SIFTR. Additional work is required to allow SIFTR to actually generate log messages for all vnet related packets because the siftr_findinpcb() function does not yet search for inpcbs across all vnets. This issue will be fixed separately. Reported and tested by: David Hayes MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-20T08:40:37.285768Z K 7 svn:log V 52 Fix a minor code redundancy nit. MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-11-20T10:12:20.870506Z K 7 svn:log V 436 MFC r215260: Disable VFS_HOLD placed on mnt_vnodecovered during the mount of a snapshot and VFS_RELE on a non-existing hold on snapshot parent's z_vfs. This disables the changes from OpenSolaris onnv-revision 9234:bffdc4fc05c4 (bug IDs: 6792139, 6794830) - not applicable to FreeBSD. This fixes the process hang if umounting a manually mounted snapshot. Reported by: Alexander Zagrebin Approved by: delphij (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-20T11:14:06.308623Z K 7 svn:log V 98 MFC r215248: In printfile(), exit the process instead of only printing the warning. Adjust style. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T12:22:02.246482Z K 7 svn:log V 221 MFC r207323: When in the RUN -> AUTH -> RUN FSM transition happens, we'll call the ratectl_node_init() functions and since ni_rtctls was already malloc'ed() we will panic. Fix this by using the already malloc'ed pointer. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T12:24:26.626548Z K 7 svn:log V 599 MFC r214894: Instead of using the AMRR ratectl algo as default for drivers which have the IEEE80211_C_RATECTL flag set, default to NONE for all drivers. Only if a driver calls ieee80211_ratectl_init() check if the NONE algo is still selected and try to use AMRR in that case. Drivers are still free to use any other algo by calling ieee80211_ratectl_set() prior to the ieee80211_ratectl_init() call. After this change it is now safe to assume that a ratectl algo is always available and selected, which renders the IEEE80211_C_RATECTL flag pretty much useless. Therefore revert r211314 and 211546. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T12:26:31.173600Z K 7 svn:log V 267 MFC r215244: Some device drivers calculate various timing related things based on the currently selected rate. The calculations of course need a valid rate. To make that possible before any call to node_rate() is done, initialize ni_txrate on none_node_init() calls. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-11-20T12:27:40.158418Z K 7 svn:log V 136 In case of an early return from the function there is no need to zero the route upfront, so defer as long as we can. MFC after: 3 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T12:28:24.240101Z K 7 svn:log V 384 MFC r215289: The ni_rctls checks are used to verify that a ratectl algo has set up its internal data. This has been used to bypass missing calls in drivers which do not use the ratectl framework correctly. Issue is, not all algos use that variable, or even have internal data, therefore valid calls are not done. Fix this by removing the checks, all driver issues should be resolved. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T12:59:01.368363Z K 7 svn:log V 78 MFC r199018 & r199037: Turn off debug output by default. Committed by: dougb END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T13:12:59.801907Z K 7 svn:log V 345 MFC r212853-212855: Rewrite parts of the calibration code which is run while bringing up the device: - Group functions used for initial calibration. - Unobscure some of the code by moving it into its own functions. - Get rid of some magic numbers. - Create similar structure as the reference driver has, this should make further syncs easier. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T13:24:05.407597Z K 7 svn:log V 71 MFC r209092: Remove GNU-style struct initialization. Committed by: ed END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T13:26:09.207914Z K 7 svn:log V 220 MFC r213321: Fix background roaming to actually work in AUTO roaming mode. IEEE80211_F_BGSCAN is a vap flag, not a channel flag. So although bgscan occured, sta_roam_check() would never be called. Committed by: adrian END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T13:28:32.389326Z K 7 svn:log V 89 MFC r201793: Fix #ifdefs so that GCC 4.4 doesn't complain about it. Committed by: trasz END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-20T13:30:48.144518Z K 7 svn:log V 89 MFC r201793: Fix #ifdefs so that GCC 4.4 doesn't complain about it. Committed by: trasz END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-20T14:14:52.191113Z K 7 svn:log V 167 sh: Code size optimizations to buffered output. This is mainly less use of the outc macro. No functional change is intended, but code size is about 2K less on i386. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-20T14:30:28.804495Z K 7 svn:log V 238 sh: Remove the check that alpha/name/in_name chars are not CTL* bytes. Since is_alpha/is_name/is_in_name were made ASCII-only, this can no longer happen. Additionally, the check was wrong because it did not include the new CTLQUOTEEND. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-20T15:22:16.562018Z K 7 svn:log V 23 Remove unused variable END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-20T16:03:53.200673Z K 7 svn:log V 154 Add to gpart(8) an ability to backup partition table and restore it from given backup. Discussed with: geom@ Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-20T16:42:19.431489Z K 7 svn:log V 176 fix a mismerge in r215521: MFC imports of ACPICA revisions 20100428 through 20101013 The mismerge resulted in ia64 build breakage. This is a direct commit. Pointyhat to: avg END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-20T16:46:16.370888Z K 7 svn:log V 209 MFC r215183: Make POLL_ERR and POLL_HUP different. The kernel currently does not generate any of the POLL_* constants, but some applications use them and break if they are not all distinct. PR: kern/126076 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-20T16:56:39.469462Z K 7 svn:log V 261 MFC r215022: test: Move tests to tools/regression/bin/test. Convert the tests to the perl prove format. Remove obsolete TEST.README (results of an old TEST.sh for some old Unices) and TEST.csh (old tests without correct values, far less complete than TEST.sh). END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-20T17:27:38.425238Z K 7 svn:log V 133 The runlen returned from vm_pageout_flush() might be zero legitimately, when mreq page has status VM_PAGER_AGAIN. MFC after: 5 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-20T18:24:09.487003Z K 7 svn:log V 210 Add a second fix-up for the PC98 case. PC98 cases might be explicit in presence of a difference with i386 because both are defined, leading to mishandling of code in circumstances like this. Reported by: nyan END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-11-20T18:40:50.631905Z K 7 svn:log V 112 Delete /sys/ufs/ffs/README.snapshot as it is no longer relevant. Drop reference to it in mount(8). MFC: 3 days END K 10 svn:author V 8 andreast K 8 svn:date V 27 2010-11-20T19:23:16.128614Z K 7 svn:log V 232 Check the OF_getprop() return value before proceeding. Allocate only as much space as needed for the mode buffer. Use strcmp, relying on OF giving back NULL terminated strings. Submitted by: marius Approved by: nwhitehorn (mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T19:26:35.285069Z K 7 svn:log V 121 MFC r214876 * Fix an accounting bug regarding SACK/NR-SACK chunks. * Fix the generation of the SACK/NR-SACK gap lists. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T19:29:18.974312Z K 7 svn:log V 104 MFC r214877: Do not resend DATA chunks without delay when dropped by the peer and the CRC was correct. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T19:31:31.446149Z K 7 svn:log V 129 MFC r214918: Not only stop all timers when entering the SHUTDOWN_SENT state, but also when entering the SHUTDOWN_ACK_SENT state. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T19:33:42.522369Z K 7 svn:log V 133 MFC r214928: * Use exponential backoff for retransmission of SHUTDOWN and SHUTDOWN-ACK chunks. * While there, do some cleanups. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T19:35:13.207216Z K 7 svn:log V 54 MFC r214933: Remove two functions which are not used. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T19:37:00.086292Z K 7 svn:log V 268 MFC r214939: Do not have the MTU table twice in the code. Therefore move the function from the timer code to util, rename it appropriately and also fix a bug in sctp_get_prev_mtu(), where calling it with a value existing in the MTU table did not return a smaller one. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-20T19:37:33.933615Z K 7 svn:log V 313 MFC r215184: sh: Remove unused man page for echo builtin. The information in sh(1) about the echo builtin is equivalent, though less extensive. The echo(1) man page (bin/echo/echo.1) is different. Unfortunately, sh's echo builtin and /bin/echo have gone out of sync and this probably cannot be fixed any more. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T19:39:02.128931Z K 7 svn:log V 127 MFC r215035: Fix a bug which resulted in kevent() reporting an event twice on 1-to-1 style sockets when an ABORT was received. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-20T19:39:12.944006Z K 7 svn:log V 77 MFC r215211: echo(1): Clarify portability and mention literal "--" handling. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-20T20:04:29.494637Z K 7 svn:log V 402 Add VTOM(va) macro as xpmap_ptom(VTOP(va)) to convert to machine addresses. Clean up the code by converting xpmap_ptom(VTOP(...)) to VTOM(...) and converting xpmap_ptom(VM_PAGE_TO_PHYS(...)) to VM_PAGE_TO_MACH(...). In a few places we take advantage of the fact that xpmap_ptom can commute with setting PG_* flags. This commit should have no net effect save to improve the readability of this code. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-20T20:34:13.265542Z K 7 svn:log V 62 MFC r215034: Fix typos. PR: bin/148894 Submitted by: olgeni END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T21:15:44.108851Z K 7 svn:log V 108 MFC r215039: Improve the scalability by using the local and remote port when putting inps in the tcpephash. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T21:20:39.183209Z K 7 svn:log V 71 MFC r215134,r215198: Fix issues with the SACK/NR-SACK generation code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T21:22:20.751326Z K 7 svn:log V 69 MFC r215199: Don't print an empty line when printing mapping arrays. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T21:24:17.652228Z K 7 svn:log V 119 MFC r215241: Fix a locking issue reported by brucec@ affecting 1-to-1 style sockets which have not yet been accepted. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-20T21:36:12.860791Z K 7 svn:log V 133 Unifdef XEN. This file is only compiled with the XEN kernel option set, and the !XEN bits get in the way of understanding the code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T21:39:08.154325Z K 7 svn:log V 50 MFC r215301: Simplify sctp_delayed_cksum() a bit. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T21:41:07.264921Z K 7 svn:log V 146 MFC r215305: Take out special code for disable CRC computations on the loopback interface for IPv6. It will be handled by the loopback interface. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-20T21:44:18.165692Z K 7 svn:log V 93 MFC r215410: Add an SCTP socket option to retrieve the number of timeouts of an association. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-11-20T22:30:09.867165Z K 7 svn:log V 68 Optimize vm_object_terminate(). Reviewed by: kib MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-21T00:45:18.947848Z K 7 svn:log V 327 MFC: r215093 Enable reservation-based physical memory allocation. Even without the creation of large page mappings in the pmap, it can provide modest performance benefits. In particular, for a "buildworld" on a 2x 1GHz Ultrasparc IIIi it reduced the wall clock time by 2.2% and the system time by 12.6%. Tested by: marius@ END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-21T00:45:24.521225Z K 7 svn:log V 327 MFC: r215093 Enable reservation-based physical memory allocation. Even without the creation of large page mappings in the pmap, it can provide modest performance benefits. In particular, for a "buildworld" on a 2x 1GHz Ultrasparc IIIi it reduced the wall clock time by 2.2% and the system time by 12.6%. Tested by: marius@ END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-21T00:50:29.676085Z K 7 svn:log V 512 MFC: r215295 Let cryptosoft(4) add its pseudo-device with a specific unit number and its probe method return BUS_PROBE_NOWILDCARD so it doesn't get attached to real devices hanging off of nexus(4) with no specific devclass set. Actually, the more desirable fix for this would be to get rid of the newbus interface of cryptosoft(4) altogether but apparently crypto(9) was written with support for cryptographic hardware in mind so that approach would require some KPI breaking changes which don't seem worth it. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-21T00:50:31.210517Z K 7 svn:log V 512 MFC: r215295 Let cryptosoft(4) add its pseudo-device with a specific unit number and its probe method return BUS_PROBE_NOWILDCARD so it doesn't get attached to real devices hanging off of nexus(4) with no specific devclass set. Actually, the more desirable fix for this would be to get rid of the newbus interface of cryptosoft(4) altogether but apparently crypto(9) was written with support for cryptographic hardware in mind so that approach would require some KPI breaking changes which don't seem worth it. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-21T00:53:19.668090Z K 7 svn:log V 178 MFC: r215325 Use the correct variable for determining the verbosity level in mpt_lprtc(). While at it, fix the whitespace of that macro. PR: 149502 Submitted by: Andrew Boyer END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-21T00:53:27.061486Z K 7 svn:log V 178 MFC: r215325 Use the correct variable for determining the verbosity level in mpt_lprtc(). While at it, fix the whitespace of that macro. PR: 149502 Submitted by: Andrew Boyer END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-11-21T02:00:54.492264Z K 7 svn:log V 28 Merge to head for retesting END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-11-21T03:56:41.115082Z K 7 svn:log V 21 Add x86 to ALL_ARCH. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-11-21T03:58:11.872582Z K 7 svn:log V 45 Add lex and yacc sources to things cscope'd. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-21T04:02:37.907436Z K 7 svn:log V 41 Fix missing closedir() Reviewed by: imp END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-21T09:50:11.944203Z K 7 svn:log V 82 MFC r215307: Implement a (soft) stack guard page for auto-growing stack mappings. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-21T10:00:43.399646Z K 7 svn:log V 171 MFC r215309: Use symbolic names instead of hardcoding values for magic p_osrel constants. MFC r215321: Do not use __FreeBSD_version prefix for the special osrel version. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-21T10:18:28.069948Z K 7 svn:log V 186 Eliminate the mab, maf arrays and related variables. The change also fixes off-by-one error in the calculation of mreq. Suggested and reviewed by: alc Tested by: pho MFC after: 5 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-21T10:45:10.465412Z K 7 svn:log V 73 MFC r208028 by uqs: mdoc: move remaining sections into consistent order END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T10:49:40.911209Z K 7 svn:log V 115 Compare the address of the array, not the array. Committed by: rpaulo Found with: Coverity Prevent(tm) CID: 3690 END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T10:52:18.963686Z K 7 svn:log V 95 MFC r207322: Fix typo. No functional change. Obtained from: DragonFlyBSD Committed by: rpaulo END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T10:52:47.618066Z K 7 svn:log V 95 MFC r207322: Fix typo. No functional change. Obtained from: DragonFlyBSD Committed by: rpaulo END K 10 svn:author V 5 mckay K 8 svn:date V 27 2010-11-21T10:55:16.603470Z K 7 svn:log V 385 xargs can be fooled by exiting children that it did not start, causing it to kick off a new command before the previous has finished, resulting in corrupted (interleaved) output. It is also fooled by non-exiting children it did not start, failing to exit until all extraneous children have exited. This patch makes xargs keep track of children it starts, ignoring pre-existing ones. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T10:55:43.742530Z K 7 svn:log V 104 MFC r200242: Fix typo in comment Submitted by: Paul B Mahol Committed by: rpaulo END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T10:56:04.774402Z K 7 svn:log V 104 MFC r200242: Fix typo in comment Submitted by: Paul B Mahol Committed by: rpaulo END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T10:58:18.782147Z K 7 svn:log V 329 MFC r199076: The isr_intval in ieee80211req_scan_result structure should be 16 bit. This makes ifconfig list scan display the correct beacon interval (previously it would int overflow). As a side effect, this makes the ieee80211req_scan_result word aligned. Submitted by: Paul B Mahol Committed by: rpaulo END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T10:58:37.797813Z K 7 svn:log V 329 MFC r199076: The isr_intval in ieee80211req_scan_result structure should be 16 bit. This makes ifconfig list scan display the correct beacon interval (previously it would int overflow). As a side effect, this makes the ieee80211req_scan_result word aligned. Submitted by: Paul B Mahol Committed by: rpaulo END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-21T11:01:56.573561Z K 7 svn:log V 129 MFC r208648 by gordon (needed for MFC of r210372): Convert newsyslog to using queue(3) macros instead of a home rolled version. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T11:03:22.896468Z K 7 svn:log V 193 MFC r203422,r203556: When taking the AMPDU reorder fastpath, need_tap wasn't being initialized. Initialize on declaration to avoid this. Found with: clang static analyzer Committed by: rpaulo END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-21T11:04:19.764005Z K 7 svn:log V 315 MFC r208649 by gordon (needed for MFC of r210372): Add file include processing for newsyslog. Format for the include line in /etc/newsyslog.conf is: /etc/defaults/newsyslog.conf Other notes of interest: Globbing is supported in statements. Properly detect circular include loop dependencies. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-21T11:08:22.638602Z K 7 svn:log V 349 MFC r215249: Add for existing protocol entries the missing SCTP port allocations and add protocol entries for protocols which have SCTP port allocations. These entries are according to http://www.iana.org/assignments/port-numbers as of today. Also add SCTP port allocation entires for the echo, daytime, and chargen service. Discussed with rwatson@ END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-21T11:10:09.983568Z K 7 svn:log V 799 MFC r210372: Add support for creating the archived log filenames using a time-stamp instead of the traditional simple counter. Using the time-stamp based file-names, once a log file is archived, it will not change name until it is deleted. This means that many backup systems will only perform one backup of the archived log file, instead for performing a new backup of the logfile upon each logfile rotation. This implementation is separate from the patches in the mentioned PR, as I wasn't aware of the existence of the PR until after I had implemented the same functionality as the patches in the PR provide. Unlike the PR, this new code does honor the 'log count' in newsyslog.conf so old logfiles are deleted. This new code does not currently support never deleting the archived logfiles. END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-21T11:50:16.915908Z K 7 svn:log V 44 Fix a typo in a comment. MFC after: 3 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T12:32:35.348780Z K 7 svn:log V 55 Revert r215618, ABI breakage ahead. Pointy hat to: me END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-21T12:33:11.201509Z K 7 svn:log V 55 Revert r215619, ABI breakage ahead. Pointy hat to: me END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-21T12:40:16.577885Z K 7 svn:log V 492 MFC r214125: In syscall_module_handler(): all switch branches return, remove unreached code as pointed out in a Chinese forum [1]. [1] http://www.freebsdchina.org/forum/viewtopic.php?t=50619 Pointed out by: btw616 MFC r214181: Call chainevh callback when we are invoked with neither MOD_LOAD nor MOD_UNLOAD. This makes it possible to add custom hooks for other module events. Return EOPNOTSUPP when there is no callback available. Pointed out by: jhb Reviewed by: jhb END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-21T12:47:54.633065Z K 7 svn:log V 138 MFC r215281, r215282, r215283, r215304: Add some descriptions to sys/kern sysctls. Fix style(9) issues. PR: kern/148710 PR: kern/148510 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-21T12:52:33.975241Z K 7 svn:log V 240 MFC r215284, r215285: When rebooting the machine jump to 0xf000:0xfff0 instead of 0xffff:0x0. This is the same change that was made in rev 1.33 of boot/i386/btx/btx.S. PR: i386/91871 Submitted by: Bjorn Konig END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-21T13:04:53.764655Z K 7 svn:log V 781 MFC r215286: Connect to ftp2.tr.freebsd.org when the Turkey #2 mirror is selected. PR: bin/128587 Submitted by: Mehmet Kose MFC r215287: "Web" should not be all upper-case because it's not an acronym. PR: bin/130366 Submitted by: Royce Williams MFC r215290: ntpdate(8) hosts are now configured in rc.conf via ntpdate_hosts. PR: bin/148350 Submitted by: Joel FAEDI MFC r215291: Remove support for cpioVerbose=medium because bsdcpio doesn't support the "-V" flag. PR: bin/151821 Submitted by: Devin Teske MFC r215296: Fix use of CD_VERSION=any in cdrom.inf by calling strcmp instead of variable_cmp. PR: bin/142960 Submitted by: G. Paul Ziemba END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-21T13:11:50.841219Z K 7 svn:log V 240 MFC r215284, r215285: When rebooting the machine jump to 0xf000:0xfff0 instead of 0xffff:0x0. This is the same change that was made in rev 1.33 of boot/i386/btx/btx.S. PR: i386/91871 Submitted by: Bjorn Konig END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-21T13:20:14.267755Z K 7 svn:log V 468 Bring aesni(4) driver from HEAD. MFC r210409: Crypto(4) driver for AESNI. MFC r213064 (by pjd): Simplify code a bit. MFC r213066 (by pjd): Add support for CRD_F_KEY_EXPLICIT flag. MFC r213069 (by pjd): Add support for CRYPTO_AES_XTS. MFC r213166 (by pjd): Fix two copy&paste bugs. MFC r213797 (by dim): Change two missed instances of 'retq' in aeskeys_i386.S to 'retl'. MFC r215427: Only save FPU context when not executing in the context of the crypto thread. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-21T13:22:05.647436Z K 7 svn:log V 617 MFC r215286: Connect to ftp2.tr.freebsd.org when the Turkey #2 mirror is selected. PR: bin/128587 Submitted by: Mehmet Kose MFC r215287: "Web" should not be all upper-case because it's not an acronym. PR: bin/130366 Submitted by: Royce Williams MFC r215290: ntpdate(8) hosts are now configured in rc.conf via ntpdate_hosts. PR: bin/148350 Submitted by: Joel FAEDI MFC r215296: Fix use of CD_VERSION=any in cdrom.inf by calling strcmp instead of variable_cmp. PR: bin/142960 Submitted by: G. Paul Ziemba END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-21T13:25:10.185211Z K 7 svn:log V 178 MFC r212262: Add aesni(4) manpage. MFC r212268: Grammar fixes. MFC r212388 (by brueffer): Some more grammar, wording and mdoc fixes. MFC r212389 (by brueffer): Xref aesni(4). END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-21T13:41:04.050398Z K 7 svn:log V 261 MFC r215306: libatm_p.a, libkeycap_p.a and libmytinfo_p.a are already in ObsoleteFiles.inc. liblwres.so.10 has been replaced by liblwres.so.50. usr/share/man/man8/nsupdate.8.gz was moved to usr/share/man/man1/nsupdate.1.gz in bind 9.4.3. Reported by: arundel END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-21T14:34:25.406781Z K 7 svn:log V 371 dispatch_add_command: Modify the logic so there's only one exit point instead of two. Only insert valid (non-NULL) values into the queue. dispatch_free_command: Ensure that item is not NULL before removing it from the queue and dereferencing the pointer. NULL out free'd pointers to catch any use-after-free bugs. PR: bin/146855 Submitted by: gcooper MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-21T17:12:27.044533Z K 7 svn:log V 313 MFC r215184: sh: Remove unused man page for echo builtin. The information in sh(1) about the echo builtin is equivalent, though less extensive. The echo(1) man page (bin/echo/echo.1) is different. Unfortunately, sh's echo builtin and /bin/echo have gone out of sync and this probably cannot be fixed any more. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-21T17:14:22.817351Z K 7 svn:log V 77 MFC r215211: echo(1): Clarify portability and mention literal "--" handling. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-21T18:04:28.476190Z K 7 svn:log V 136 MFC r203567 (by antoine): Update files to remove when MK_KERBEROS=no. MFC r203561 (by antoine): Add files to remove when MK_GSSAPI=no. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-11-21T19:33:19.741899Z K 7 svn:log V 143 Add a missing ';' and change the debugging sysctl from xint to int. Submitted by: Mikolaj Golub (to.my.trociny gmail.com) MFC after: 3 days END K 10 svn:author V 5 mckay K 8 svn:date V 27 2010-11-21T21:31:29.870019Z K 7 svn:log V 95 Various syntactic tweaks to satisfy style(9). No change to execution. Submitted by: gcooper@ END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-21T22:45:18.865149Z K 7 svn:log V 23 Import OpenSSL 0.9.8p. END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-21T22:46:51.321298Z K 7 svn:log V 20 Tag OpenSSL 0.9.8p. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-11-22T00:10:14.978954Z K 7 svn:log V 107 MFC 215250: Remove references to the long-gone ramdisk Submitted by: Garrett Cooper END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-11-22T00:12:24.192057Z K 7 svn:log V 107 MFC 215250: Remove references to the long-gone ramdisk Submitted by: Garrett Cooper END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-11-22T00:31:52.427010Z K 7 svn:log V 45 MFC 215334: Remove references to MAKEDEV(8) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-11-22T00:44:43.497246Z K 7 svn:log V 45 MFC 215334: Remove references to MAKEDEV(8) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-11-22T01:11:28.493973Z K 7 svn:log V 347 Adds a USB packet filter feature to the stack that it could capture packets which go through each USB host controllers. Its implementations are almost based on BPF code and very similar with it except it's little bit customized for USB packet only. The userland program usbdump(8) would be committed soon. Discussed with: hps, thompsa, yongari END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-11-22T01:22:24.213505Z K 7 svn:log V 151 Patch from alc@ to test large memory systems. I can't quite see how to build a release ISO from a local directory, so commit this here for testing. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-11-22T01:28:29.502237Z K 7 svn:log V 137 Adds usbdump(8) tool that currently it only supports the very basic feature set. It's not connected to the build yet. Reviewed by: hps END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-22T02:42:02.777901Z K 7 svn:log V 148 Use atomic instruction to set _has_writer, otherwise there is a race causes userland to not wake up a thread sleeping in kernel. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-11-22T06:25:56.467014Z K 7 svn:log V 68 MFC r209669 Improve the comment and man page for vm_page_alloc(). END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-22T06:31:42.036102Z K 7 svn:log V 43 MFC r215335: Remove unused struct rue_type END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-22T06:37:21.222481Z K 7 svn:log V 50 MFC r215518: Close file and directory descriptors END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-22T06:38:52.903309Z K 7 svn:log V 25 MFC r215519: Fix fd leak END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-22T06:41:05.964584Z K 7 svn:log V 36 MFC r215607: Fix missing closedir() END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-22T07:00:47.773990Z K 7 svn:log V 16 Plug an fd leak END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-11-22T07:17:27.184148Z K 7 svn:log V 86 MFC r204415, r204416, r209669 Improve the comment and man page for vm_page_alloc(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-22T08:19:18.987019Z K 7 svn:log V 157 Merge from r215652: Use atomic instruction to set _has_writer, otherwise there is a race causes userland to not wake up a thread sleeping in kernel. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-11-22T08:21:58.637965Z K 7 svn:log V 727 MFC r215338: - print out the PID and program name of the program trying to use an unsupported futex operation - for those futex operations which are known to be not supported, print out which futex operation it is - shortcut the error return of the unsupported FUTEX_CLOCK_REALTIME in some cases: FUTEX_CLOCK_REALTIME can be used to tell linux to use CLOCK_REALTIME instead of CLOCK_MONOTONIC. FUTEX_CLOCK_REALTIME however must only be set, if either FUTEX_WAIT_BITSET or FUTEX_WAIT_REQUEUE_PI are set too. If that's not the case we can die with ENOSYS right at the beginning. Submitted by: arundel Reviewed by: rdivacky (earlier iteration of the patch) MFC after: 1 week END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-11-22T08:35:06.768291Z K 7 svn:log V 61 MFC r215339: Some style(9) fixes. Submitted by: arundel END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-22T09:04:29.018632Z K 7 svn:log V 194 In xen_get_timecount, return the full ns-precision time rather than rounding to 1/HZ precision. I have no idea why the rounding was introduced in the first place, but it makes FreeBSD unhappy. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-11-22T09:06:59.889494Z K 7 svn:log V 923 By using the 32-bit Linux version of Sun's Java Development Kit 1.6 on FreeBSD (amd64), invocations of "javac" (or "java") eventually end with the output of "Killed" and exit code 137. This is caused by: 1. After calling exec() in multithreaded linux program threads are not destroyed and continue running. They get killed after program being executed finishes. 2. linux_exit_group doesn't return correct exit code when called not from group leader. Which happens regularly using sun jvm. The submitters fix this in a similar way to how NetBSD handles this. I took the PRs away from dchagin, who seems to be out of touch of this since a while (no response from him). The patches committed here are from [2], with some little modifications from me to the style. PR: 141439 [1], 144194 [2] Submitted by: Stefan Schmidt , gk Reviewed by: rdivacky (in april 2010) MFC after: 5 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-22T09:13:25.497096Z K 7 svn:log V 625 In tc_windup, handle the case where the previous call to tc_windup was more than 1s earlier. Prior to this commit, the computation of th_scale * delta (which produces a 64-bit value equal to the time since the last tc_windup call in units of 2^(-64) seconds) would overflow and any complete seconds would be lost. We fix this by repeatedly converting tc_frequency units of timecounter to one seconds; this is not exactly correct, since it loses the NTP adjustment, but if we find ourselves going more than 1s at a time between clock interrupts, losing a few seconds worth of NTP adjustments is the least of our problems... END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-11-22T09:25:32.621819Z K 7 svn:log V 158 Remove trailing dot from the unimplemented futex messages to make them consistent with the syscall and ipc messages. Submitted by: arundel MFC after: 3 days END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-11-22T09:32:54.869198Z K 7 svn:log V 206 MFC r212247 & r212724 from head: Handle geli-encrypted root disk devices. Add support for identifying a journaled root filesystem. Fix support for identifying the given /dev/vinum/root example. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-11-22T09:34:38.259931Z K 7 svn:log V 206 MFC r212247 & r212724 from head: Handle geli-encrypted root disk devices. Add support for identifying a journaled root filesystem. Fix support for identifying the given /dev/vinum/root example. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-11-22T09:37:52.979762Z K 7 svn:log V 268 1) Add a hint to check for duplicates with optional files. The committed text is a little bit modified to what was submitted. The code example to automate a part of this was proposed by Dmitry Morozovsky. 2) Remove trailing whitespace. Submitted by: arundel END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-22T09:59:10.354203Z K 7 svn:log V 107 Release ae@ from mentorship. He is now ready wear his own pointy hats. Congratulations! Reviewed by: kib@ END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-22T10:08:33.453125Z K 7 svn:log V 274 Always dump partition labels with `gpart backup`, but `gpart restore` does restore them only when -l option is specified [1]. Make number of entries field in backup format optional. Document -l and -r options of `gpart show` action. Suggested by: pjd [1] MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-22T11:24:11.419363Z K 7 svn:log V 65 Add SIGINT handler to `gpart restore` action. MFC after: 1 week END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-11-22T12:32:19.376147Z K 7 svn:log V 309 Allow for MTU sizes of up to ETHER_MAX_LEN_JUMBO (i.e. 9018) bytes to be configured on ng_eiface ifnets. The default MTU remains unchanged at 1500 bytes. Mark ng_eiface ifnets as IFCAP_VLAN_MTU capable, so that the associated vlan(4) ifnets may use full-sized Ethernet MTUs (1500 bytes). MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-22T12:33:48.060919Z K 7 svn:log V 44 Don't generate input() since it's not used. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-11-22T12:42:32.762625Z K 7 svn:log V 344 Do not take the process lock. The assignment to u_short inside the properly aligned structure is atomic on all supported architectures, and the thread that should see side-effect of assignment is the same thread that does assignment. Use a more appropriate conditional to detect the linux ABI. Suggested by: kib X-MFC: together with r215664 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-22T14:16:22.042072Z K 7 svn:log V 44 Don't generate input() since it's not used. END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-11-22T14:16:23.120498Z K 7 svn:log V 90 Remove an apparently redundant CURVNET_SET() / CURVNET_RESTORE() pair. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-22T14:36:04.618510Z K 7 svn:log V 100 Similar to mfiutil, drop local definition of powerof2() and use version from instead. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-22T14:42:13.696145Z K 7 svn:log V 735 Add the ability for GDB to printout the thread name along with other thread specific informations. In order to do that, and in order to avoid KBI breakage with existing infrastructure the following semantic is implemented: - For live programs, a new member to the PT_LWPINFO is added (pl_tdname) - For cores, a new ELF note is added (NT_THRMISC) that can be used for storing thread specific, miscellaneous, informations. Right now it is just popluated with a thread name. GDB, then, retrieves the correct informations from the corefile via the BFD interface, as it groks the ELF notes and create appropriate pseudo-sections. Sponsored by: Sandvine Incorporated Tested by: gianni Discussed with: dim, kan, kib MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2010-11-22T14:45:16.933970Z K 7 svn:log V 149 Add for ctime(), which we accidentally picked up through . Submitted by: Garrett Cooper MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-22T15:15:11.578962Z K 7 svn:log V 47 Remove some bogus, self-referential mergeinfo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-22T15:26:47.178674Z K 7 svn:log V 264 Purge mergeinfo on sys/dev/xen/xenpci. The only unique mergeinfo compared to head was not useful (it came in with the merge from /user/dfr/xenhvm/7 and that mergeinfo is still present at sys/) and not worth keeping an extra set of mergeinfo around in the kernel. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-22T15:28:54.074692Z K 7 svn:log V 116 Style fix. Sponsored by: Sandvine Incorporated Requested by: jhb Reviewed by: jhb MFC after: 1 week X-MFC: 215544 END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-11-22T16:09:57.251970Z K 7 svn:log V 156 We're a bit under a week from Code Freeze for the upcoming 8.2-RELEASE cycle. Warn people tracking stable/8 that the branch may be more active than usual. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-11-22T16:10:54.466592Z K 7 svn:log V 156 We're a bit under a week from Code Freeze for the upcoming 7.4-RELEASE cycle. Warn people tracking stable/7 that the branch may be more active than usual. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-11-22T16:43:05.973507Z K 7 svn:log V 638 Fix a TSO checksum bug on mxge(4): The Myri10GE NIC will assume all TSO frames contain partial checksum, and will emit TSO segments with bad TCP checksums if a TSO frame contains a full checksum. The mxge driver takes care to make sure that TSO is disabled when checksum offload is disabled for this reason. However, modules that modify packet contents (like pf) may end up completing a checksum on a TSO frame, leading to the NIC emitting TSO segments with bad checksums. To workaround this, restore the partial checksum in the mxge driver when we're fed a TSO frame with a full checksum. Reported by: Bob Healey MFC after: 3 days END