ƒ²248332 197 433 239 185 1082 395 401 222 223 224 391 137 203 147 148 122 143 279 336 396 528 292 363 210 357 162 176 311 116 525 229 187 187 186 211 204 137 413 2374 217 343 226 141 132 182 109 215 106 148 146 146 139 234 163 140 123 117 163 401 196 177 235 143 219 187 237 384 144 168 171 351 129 111 184 121 113 609 118 121 279 205 119 119 151 120 234 193 213 150 154 285 297 139 152 359 170 99 628 800 253 394 243 156 159 207 155 255 117 153 149 153 203 419 157 198 669 99 171 2086 159 172 258 136 176 194 433 463 148 455 275 224 103 99 152 438 151 274 159 105 404 113 436 145 276 112 238 784 276 138 342 225 178 193 168 181 190 673 252 220 115 215 135 212 469 103 150 213 317 148 338 255 231 882 309 484 148 210 2880 222 402 261 247 106 247 195 233 273 449 449 555 222 243 141 99 228 121 191 116 K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T15:21:34.988826Z K 7 svn:log V 337 MFC r245751,245893: r245751: Implement the -l option using ln(1) to facilitate boostrapping. Ignore the new options -D, -h, -T, and -U. Adjust -M support to ignore an argument. Sponsored by: DARPA, AFRL Reviewed by: ian, ray, rpaulo r245893: Use = not == in test arguments. Submitted by: Christoph Mallon END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T15:34:09.253130Z K 7 svn:log V 143 MFC the second half of r246784: - Fix libmd dependency. It is needed in the bootstrap library list because usr.bin/xinstall depends on it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-03-15T18:10:38.415107Z K 7 svn:log V 89 Redo r241528: MFC r240339: openssl: change SHLIB_VERSION_NUMBER to reflect the reality. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T18:49:39.445260Z K 7 svn:log V 986 MFC: r241684,245316,245318,245440,245563,245565,245622,245754,246092,246096,246602 r241684: Allow LOCAL_DIRS to install files in directories not found in the system mtree files via a LOCAL_MTREE variable which contains a list of mtree files to be applyed along with the base mtree files to the tmp root and DESTDIR. r245440: Add an option DB_FROM_SRC to use src/etc's user/group databases when installing. This allows things like running installworld for 10-CURRENT on a 9.0-RELEASE system without adding extra users and groups to the passwd and group files. To prevent potentially risky uid/gid mismatches on systems with non-standard local values, require that DESTDIR be set if DB_FROM_SRC is set. Sponsored by: DARPA, AFRL Reviewed by: peter r245565: Rework the mtree portion of etc/Makefile's distrib-dirs target to run mtree in a shell loop so there is only one mtree commandline. Move the implementation of LOCAL_MTREE into etc/Makefile. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T19:16:35.030337Z K 7 svn:log V 299 MFC r245265,245271,245309: Rather than using zic to both compile and install zoneinfo files, generate the files during the build and install them with install(1). This was the one place in installworld where files (vs links) were installed by a tool other than install. Reviewed by: edwin, jilles END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T19:27:27.615847Z K 7 svn:log V 305 MFC all features as of r248336: The user visable feature is from r246083: Add -l option to cat(1). This option causes cat(1) to use fcntl(2) to set an exclusive advisory lock on stdout. This will be used to guarantee orderly writing to METALOG. Sponsored by: DARPA, AFRL Obtained from: NetBSD (mason) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T19:32:37.878240Z K 7 svn:log V 126 Bump __FreeBSD_version for install -l, -M, -N and related flags as well as cat -l. This is a notional MFC of r245313,246084. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T19:50:21.242854Z K 7 svn:log V 127 MFC r245513,245514,245515: The last section 1aout manpage was installed no later than July 2002. Remove all support for them. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2013-03-15T19:58:44.426682Z K 7 svn:log V 128 Add support for Exar XR17V358 8-port serial device to puc(4) Reviewed by: marius Sponsored by: Sandvine Inc. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-15T20:00:08.058371Z K 7 svn:log V 295 Fix two bugs: * when pulling frames off of the TID queue, the ATH_TID_REMOVE() macro decrements the axq_depth field. So don't do it twice. * in ath_tx_comp_cleanup_aggr(), bf wasn't being reset to bf_first before walking the buffer list to complete buffers; so those buffers will leak. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-15T20:12:54.076683Z K 7 svn:log V 44 Add a few examples. Obtained from: OpenBSD END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-15T20:18:30.777890Z K 7 svn:log V 110 If self.machine is host we need to also trim self.host_target from objroots to ensure we do not get confused. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-15T20:19:18.770514Z K 7 svn:log V 55 A bit finer control so we can build toolchain for host END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-15T20:20:14.470898Z K 7 svn:log V 56 Make sure we qualify _objroot with trailing / if needed END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-15T20:21:18.949994Z K 7 svn:log V 30 Check if we already have all: END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-15T20:22:20.255365Z K 7 svn:log V 48 Why'd I keep this here? remove it entirely now. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T20:26:51.845838Z K 7 svn:log V 183 MFC r241311: Change 32-bit library builds by removing use of make -E and passing AS, CC, CXX and LD on the commandline of the sub-make instead of in the environment of the sub-make. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-03-15T20:29:31.268913Z K 7 svn:log V 240 sh: Recognize "--" and explicitly reject options in wait builtin. If syntactically invalid job identifiers are to be taken as jobs that exited with status 127, this should not apply to options, so that we can add options later if need be. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T20:34:10.633867Z K 7 svn:log V 300 MFC r245561,245885: Add a new LIBRARIES_ONLY make variable to disable the build and install of files other than the actual libraries. Use LIBRARIES_ONLY to supress the inclusion of files in the lib32 distribution that are duplicates of files in base. Sponsored by: DARPA, AFRL Reviewed by: emaste END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T20:52:00.617885Z K 7 svn:log V 432 MFC r245571,245580: In preparation for logging metadata about each filesystem object, refactor the link section of distrib-dirs to alwasy install to a full path (the link contents remain relative as they should). Eliminate the use of the "rm -r[f] ; ln -s " pattern in favor of "ln -sfh ". None of these links could be directories on a system installed in the last decade. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T21:32:40.708237Z K 7 svn:log V 196 MFC r245752,246913,247162 Replace all known uses of ln in the build process with appropriate install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK variables. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T21:45:49.203869Z K 7 svn:log V 267 MFC r245753: Install the template info directory with mode 644 instead of 444 to allow it to be updated by its owner without resorting to privilege. This is required by upcoming changes to allow installworld to work as a non-root user. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T22:14:41.187769Z K 7 svn:log V 114 MFC r245853: manctl is conditionally added to SUBDIRS later on. Don't unconditionally include in the main list. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T22:20:45.127644Z K 7 svn:log V 261 MFC r245882,245898 Reorder so that NO_MAN is declared before bsd.own.mk is included and thus has an effect (not installed a g++.1 manpage over the g++.1(.gz) link created in ../cc). bsd.own.mk needs to be included before Makefil.inc so MK_ARM_EABI is defined END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-03-15T22:24:34.248540Z K 7 svn:log V 67 MFC: 242030 Show how many times we are blocked waiting for mbufs. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T22:26:19.253277Z K 7 svn:log V 81 MFC r245886,245911 Don't install telnet.h if it will be installed by libtelnet. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T22:31:51.610527Z K 7 svn:log V 215 MFC r245887 Only install manpages and html documentation in the ncurses/*w (wchar) builds so that it is only installed once. This is consistent with the existing decision to only install headers in the that case. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-15T23:00:13.536786Z K 7 svn:log V 24 Sort syscalls properly. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-03-16T01:16:57.742723Z K 7 svn:log V 428 Diff reduction against stable/9: this is a pure mechanical comment change that eliminates the unwanted diff caused by different Pod::Simple version and have no runtime impact. We do this in the hope of minimizing variants of patches that would need to be published, should an update is required during the remaining lifetime of the stable/8 branch. This is a direct commit to the stable/8 branch. Approved by: re (marius) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-16T02:48:49.770900Z K 7 svn:log V 133 Add an END macro to ARM. This is mostly used to tell gas where the bounds of the functions are when creating the EABI unwind tables. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-16T03:15:24.518574Z K 7 svn:log V 92 Adjust the indentation of the trampoline compilation to make the commands easier to follow. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-16T03:21:25.773069Z K 7 svn:log V 92 Fix the indentation for a few commands that were missed or incorrectly indented in r248362. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-16T03:50:27.661766Z K 7 svn:log V 91 Implement the required but unused __aeabi_unwind_cpp_* functions in the trampoline kernel. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-16T03:57:46.002161Z K 7 svn:log V 115 The compiler argument -mno-apcs-frame has no meaning when using EABI as we will use aapcs frames, not apcs frames. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-16T04:06:49.749074Z K 7 svn:log V 108 Move the __aeabi_unwind_cpp_pr{0,1,2} functions to libkern so they can be referenced in a non-debug kernel. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-16T04:08:01.962188Z K 7 svn:log V 42 Add END to ARM libkern assembly functions END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-03-16T05:40:29.455521Z K 7 svn:log V 319 Change the type of 'ndesc' from 'int' to 'uint16_t' so that descriptor index wraparound is handled correctly. The gory details are available here: http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-March/001119.html This fixes a regression introduced in r247871. Pointed out by: Bruce Evans, Chris Torek END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-16T08:16:11.242149Z K 7 svn:log V 2281 MFC r247187,247265,247348,247398,247540,247585,247852,248265,248267 Merge various ZFS improvements and bugfixes MFC r247187: Import vendor change to avoid "unitialized variable" warnings. Illumos ZFS issues: 3522 zfs module should not allow uninitialized variables MFC r247265: Merge the ZFS I/O deadman thread from vendor (illumos). This feature panics the system on hanging ZFS I/O, helps debugging and resumes failed service. The panic behavior can be controlled with the loader-only tunables: vfs.zfs.deadman_enabled (enable or disable panic on stalled ZFS I/O) vfs.zfs.deadman_synctime (expiration time for stalled ZFS I/O) By default, ZFS I/O deadman is enabled by default on amd64 and i386 excluding virtual guest machines. MFC r247348: Be more verbose on ZFS deadman I/O panic Patch suggested upstream. MFC r247398: Import metaslab_sync() speedup from vendor (illumos). Illumos ZFS issues: 3552 condensing one space map burns 3 seconds of CPU in spa_sync() thread 3564 spa_sync() spends 5-10% of its time in metaslab_sync() (when not condensing) 3578 transferring the freed map to the defer map should be constant time 3579 ztest trips assertion in metaslab_weight() MFC r247540: Fix the zfs_ioctl compat layer to support zfs_cmd size change introduced in r247265 (ZFS deadman thread). Both new utilities now support the old kernel and new kernel properly detects old utilities. For future backwards compatibility, the vfs.zfs.version.ioctl read-only sysctl has been introduced. With this sysctl zfs utilities will be able to detect the ioctl interface version of the currently loaded zfs module. MFC r247585: Merge new read-only zfs properties from vendor (illumos) Illumos ZFS issues: 3588 provide zfs properties for logical (uncompressed) space used and referenced MFC r247852: Import ZFS bpobj bugfix from vendor. Illumos ZFS issues: 3603 panic from bpobj_enqueue_subobj() 3604 zdb should print bpobjs more verbosely MFC r248265: Update zfs.8 manpage date (missing in r247585) MFC r248267: Import minor ZFS changes from vendor Illumos ZFS issues: 3604 zdb should print bpobjs more verbosely (fix zdb hang) 3606 zpool status -x shouldn't warn about old on-disk format END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-16T08:51:47.300617Z K 7 svn:log V 120 Belatedly remove the vinum(4) manual page. The vinum manager is absent in FreeBSD since 6.0-RELEASE. Reviewed by: joel END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-16T08:55:21.136001Z K 7 svn:log V 246 Contrary to what the deleted comment said, the m_move_pkthdr() will not smash the M_EXT and data pointer, so it is safe to pass an mbuf with external storage procuded by m_getcl() to m_move_pkthdr(). Reviewed by: andre Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-16T08:57:36.030393Z K 7 svn:log V 129 - Replace compat macros with function calls. - Remove superfluous cleaning of m_len after allocating. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-16T08:58:28.409390Z K 7 svn:log V 45 - Replace compat macros with function calls. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-16T15:51:09.286564Z K 7 svn:log V 36 Merge head r243428 through r248373. END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-16T16:39:00.036006Z K 7 svn:log V 90 Enable 24bits color support. (Default for Smarttop) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-16T16:41:46.010967Z K 7 svn:log V 17 Fix indentation. END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-16T16:47:10.287546Z K 7 svn:log V 122 o Protect iomux API calls with check if iomuxsc initialized. o Fix typo in comment. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-16T16:58:39.517022Z K 7 svn:log V 14 Update props. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-03-16T17:09:44.517690Z K 7 svn:log V 52 Add forgotten in r247188 sv_thread_detach for i386. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-16T17:38:59.370872Z K 7 svn:log V 50 Revert accidentially committed incorrect attempt. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-16T17:57:00.936178Z K 7 svn:log V 53 Hide version string under verbose. Approved by: mav END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-16T20:28:38.759599Z K 7 svn:log V 48 Initialize "error" variable where illumos does. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-03-16T21:02:42.810283Z K 7 svn:log V 136 If umount(8) fails, sleep for a second and try again. Without this, portsnap builds sometimes fail with "unmount failed: Device busy". END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-16T21:50:06.194985Z K 7 svn:log V 70 Remove reference to vinum(4). The manual page was removed in r248370. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-16T22:02:47.319753Z K 7 svn:log V 47 Cross-reference gvinum(8) instead of vinum(8). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-16T22:36:24.453520Z K 7 svn:log V 31 Style: Remove redundant space. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-16T22:37:30.796789Z K 7 svn:log V 25 Style: Whitespace fixes. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-03-16T22:37:56.887617Z K 7 svn:log V 67 Fix version in the .Fx macro. Reported by: END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-03-16T22:40:20.341150Z K 7 svn:log V 307 Allow vmm stats to be specific to the underlying hardware assist technology. This can be done by using the new macros VMM_STAT_INTEL() and VMM_STAT_AMD(). Statistic counters that are common across the two are defined using VMM_STAT(). Suggested by: Anish Gupta Discussed with: grehan Obtained from: NetApp END K 10 svn:author V 3 des K 8 svn:date V 27 2013-03-16T22:43:08.323993Z K 7 svn:log V 103 MFH (r214982, r214985): fix CPU ID in /proc/cpuinfo. PR: kern/56451 Approved by: re (kib) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-16T22:44:14.463049Z K 7 svn:log V 85 Add a note to the HISTORY section about lchflags(2) being introduced in FreeBSD 5.0. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-03-16T22:53:05.581849Z K 7 svn:log V 141 Fix the '-Wtautological-compare' warning emitted by clang for comparing the unsigned enum type with a negative value. Obtained from: NetApp END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-16T22:53:38.922250Z K 7 svn:log V 50 Add a couple of examples. Obtained from: OpenBSD END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-16T23:10:40.721457Z K 7 svn:log V 126 The mode argument for open(2)/openat(2) only makes sense if the O_CREAT flag was given. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-16T23:11:55.303630Z K 7 svn:log V 92 Add __aeabi_memset to libkern, implemented using memset, as clang may generate calls to it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-16T23:13:49.200805Z K 7 svn:log V 144 Update the tests now that absence of the O_APPEND flag requires CAP_SEEK capability. Add some more tests. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-16T23:19:13.499375Z K 7 svn:log V 291 Require CAP_SEEK if both O_APPEND and O_TRUNC flags are absent. In other words we don't require CAP_SEEK if either O_APPEND or O_TRUNC flag is given, because O_APPEND doesn't allow to overwrite existing data and O_TRUNC requires CAP_FTRUNCATE already. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-16T23:46:50.208563Z K 7 svn:log V 52 MFC @r248378. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-17T00:11:44.169484Z K 7 svn:log V 76 Update imx_gpt to use new sbintime_t. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-17T00:56:17.327784Z K 7 svn:log V 76 The -mno-apcs-frame argument is unavaliable on clang, also ignore it there. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-17T01:03:41.720819Z K 7 svn:log V 255 Link libgcc_s against compiler-rt on ARM EABI. This allows us to use all of the symbols in compiler-rt, including the ones not available in the old libgcc. This fixes the build with clang which generates calls to funstions that are missing from libgcc_s. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-17T01:48:56.213935Z K 7 svn:log V 37 Add kernel and toolchains to the-lot END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-17T01:49:30.614388Z K 7 svn:log V 19 Should not be here END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-17T01:51:23.389713Z K 7 svn:log V 92 Improve DIRDEP filtering. Allow DEP_SKIP_DIR and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-17T01:53:47.751416Z K 7 svn:log V 29 We need .OBJDIR done earlier END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-17T01:54:35.727685Z K 7 svn:log V 21 Updated dependencies END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-03-17T03:04:43.246339Z K 7 svn:log V 516 Add a macro that gets the physical address of a memory mapped device register from a bus space resource. Note that this macro is just for ARM, and is intended to have a short lifespan. The DMA engines in some SoCs need the physical address of a memory-mapped device register as one of the arguments for the transfer. Several scattered ad-hoc solutions have been converted to use this macro, which now also serves to mark the places where a more complete fix needs to be applied (after that fix has been designed). END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-17T03:06:49.113190Z K 7 svn:log V 26 Don't add libssp for host END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-17T03:07:13.988606Z K 7 svn:log V 29 Don't forget DEP_TARGET_SPEC END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-17T03:09:08.890353Z K 7 svn:log V 186 If building for "host" and we do not have Makefile.depend.host; do not update it. This allows us to avoid populating the tree with Makefile.depend.host that aren't absolutely necessary. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-17T06:33:49.276207Z K 7 svn:log V 109 In the uart module build ofw_bus_if.h on arm along with sparc64 as LINT fails when built locally without it. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-17T06:36:04.000924Z K 7 svn:log V 26 Move example to EXAMPLES. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-17T06:54:04.220232Z K 7 svn:log V 26 Move example to EXAMPLES. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-17T06:57:25.530095Z K 7 svn:log V 58 Remove EOL whitespace accidentally introduced in r248393. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-03-17T07:28:17.557447Z K 7 svn:log V 25 Fix a typo in a comment. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-17T07:37:10.329256Z K 7 svn:log V 137 In m_megapullup() instead of reserving some space at the end of packet, m_align() it, reserving space to prepend data. Reviewed by: mav END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-17T07:39:45.357376Z K 7 svn:log V 97 Add MEXT_ALIGN() macro, similar to M_ALIGN() and MH_ALIGN(), but for mbufs with external buffer. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-17T07:41:14.129423Z K 7 svn:log V 116 In m_align() add assertions that mbuf is virgin, similar to assertions in M_ALIGN(), MH_ALIGN, MEXT_ALIGN() macros. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-17T07:47:00.152957Z K 7 svn:log V 54 Consistently use C99 inline keyword instead of macro. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-17T07:49:44.056292Z K 7 svn:log V 58 Provide generic sysctl handler and macros for counter(9). END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-17T10:57:04.858392Z K 7 svn:log V 193 libzfs_core: - provide complete backwards compatibility (old utility, new kernel) - add zfs_cmd_t compatibility mapping in both directions - determine ioctl address in zfs_ioctl_compat.c END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-17T15:11:37.044955Z K 7 svn:log V 204 Remove negative name cache entry pointing to the target name, which could be instantiated while tdvp was unlocked. Reported by: Rick Miller Tested by: pho MFC after: 1 week END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-03-17T15:18:15.110049Z K 7 svn:log V 47 Added new negative name cache regression test. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-17T15:27:26.646815Z K 7 svn:log V 56 Expand ambiguous comments some more. Requested by: alc END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-03-17T15:35:23.737000Z K 7 svn:log V 262 Implement vdso - virtual dynamic shared object. Through vdso Linux exposes functions from kernel with proper DWARF CFI information so that it becomes easier to unwind through them. Using vdso is a mandatory for a thread cancelation && cleanup on a modern glibc. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-17T15:53:27.814977Z K 7 svn:log V 79 Fix typo in sysctl description Reported by: Jeremy Chadwick MFC after: 3 days END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-03-17T15:59:44.111338Z K 7 svn:log V 4 MFH END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-17T16:06:03.696333Z K 7 svn:log V 535 Simplify the interface to vm_radix_insert() by eliminating the parameter "index". The content of a radix tree leaf, or at least its "key", is not opaque to the other radix tree operations. Specifically, they know how to extract the "key" from a leaf. So, eliminating the parameter "index" isn't breaking the abstraction. Moreover, eliminating the parameter "index" effectively prevents the caller from passing an inconsistent "index" and leaf to vm_radix_insert(). Reviewed by: attilio Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-17T16:23:19.259495Z K 7 svn:log V 707 Most allocation of pages to objects proceeds from lower to higher indices. Consequentially, vm_page_insert() should use vm_radix_lookup_le() instead of vm_radix_lookup_ge(). Here's why. In the expected case, vm_radix_lookup_le() will quickly find a page less than the specified key at the same radix node. In contrast, vm_radix_lookup_ge() is expected to return NULL, but to do that it must examine every slot in the radix tree that is greater than the key. Prior to this change, the average cost of a vm_page_insert() call on my test machine was 992 cycles. After this change, the average cost is only 532 cycles, a reduction of 46%. Reviewed by: attilio Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-03-17T16:31:09.689850Z K 7 svn:log V 160 Eliminate an intermediate buffer and some memcpy() operations, and do DMA directly to/from the buffers passed in from higher layer drivers. Reviewed by: gonzo END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-17T16:49:37.715437Z K 7 svn:log V 301 The M_ZERO can be eliminated from the uma_zalloc() call in vm_radix_node_get() with a small change to vm_radix_reclaim_allnodes_int(). This change further reduced the average number of cycles per vm_page_insert() call from 532 to 519. Reviewed by: attilio Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-17T17:13:43.348210Z K 7 svn:log V 146 Fixes to r248420: - Remove a check that never fires in sysctl_handle_counter_u64() - Add comment above SYSCTL_COUNTER_U64() Submitted by: jilles END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-17T17:28:06.140523Z K 7 svn:log V 65 Fix accidentially changed ioc variable for old v15 compatibility END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-03-17T18:05:29.969353Z K 7 svn:log V 63 Eliminate a now unused global declaration of elf_linux_sysvec. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-17T18:33:06.159290Z K 7 svn:log V 115 Add forwards compatibility for libzfs_core Unsupported: creation of multiple snapshots including "zfs snapshot -r" END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-03-17T18:34:09.619233Z K 7 svn:log V 59 Switch the vm_object mutex to be a rwlock as a r248084 do. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-17T18:49:11.208452Z K 7 svn:log V 163 Merge libzfs_core part of r239388 Illumos ZFS issues: 3085 zfs diff panics, then panics in a loop on booting References: https://www.illumos.org/issues/3085 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-17T19:12:01.446543Z K 7 svn:log V 21 Document counter(9). END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-17T19:24:28.597653Z K 7 svn:log V 58 English language changes Approved by: glebius (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-17T19:25:38.577297Z K 7 svn:log V 54 Add copyright marker Approved by: glebius (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-17T19:27:14.269304Z K 7 svn:log V 58 English language changes Approved by: glebius (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-17T20:11:08.658837Z K 7 svn:log V 107 Content and English language changes Discussed with: glebius, jilles, kib Approved by: glebius (implicit) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-17T20:40:31.073335Z K 7 svn:log V 326 The calls to vm_radix_lookup_ge() by vm_reserv_alloc_{contig,page}() can be eliminated. If the calls to vm_radix_lookup_le() return NULL, then the page at the head of the object's memq must be the page with the least pindex greater than the specified pindex. Reviewed by: attilio Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-17T20:44:09.711213Z K 7 svn:log V 65 Fix a couple typos. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-17T22:24:08.848209Z K 7 svn:log V 106 Fix working with zfs_ioctl_version in libzfs_compat.h and include mirror lzc_ioctl_version in libzfs_core END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-03-17T22:51:58.368122Z K 7 svn:log V 573 find: Include nanoseconds when comparing timestamps of files. When comparing to the timestamp of a given file using -newer, -Xnewer and -newerXY (where X and Y are one of m, c, a, B), include nanoseconds in the comparison. The primaries that compare a timestamp of a file to a given value (-Xmin, -Xtime, -newerXt) continue to compare times in whole seconds. Note that the default value 0 of vfs.timestamp_precision almost always causes the nanoseconds part to be 0. However, touch -d can set a timestamp to the microsecond regardless of that sysctl. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-17T23:39:52.093508Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-17T23:53:06.325390Z K 7 svn:log V 75 Commit new file FreeBSD tags. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-18T00:25:02.258589Z K 7 svn:log V 1988 Sync back vmcontention branch into HEAD: Replace the per-object resident and cached pages splay tree with a path-compressed multi-digit radix trie. Along with this, switch also the x86-specific handling of idle page tables to using the radix trie. This change is supposed to do the following: - Allowing the acquisition of read locking for lookup operations of the resident/cached pages collections as the per-vm_page_t splay iterators are now removed. - Increase the scalability of the operations on the page collections. The radix trie does rely on the consumers locking to ensure atomicity of its operations. In order to avoid deadlocks the bisection nodes are pre-allocated in the UMA zone. This can be done safely because the algorithm needs at maximum one new node per insert which means the maximum number of the desired nodes is the number of available physical frames themselves. However, not all the times a new bisection node is really needed. The radix trie implements path-compression because UFS indirect blocks can lead to several objects with a very sparse trie, increasing the number of levels to usually scan. It also helps in the nodes pre-fetching by introducing the single node per-insert property. This code is not generalized (yet) because of the possible loss of performance by having much of the sizes in play configurable. However, efforts to make this code more general and then reusable in further different consumers might be really done. The only KPI change is the removal of the function vm_page_splay() which is now reaped. The only KBI change, instead, is the removal of the left/right iterators from struct vm_page, which are now reaped. Further technical notes broken into mealpieces can be retrieved from the svn branch: http://svn.freebsd.org/base/user/attilio/vmcontention/ Sponsored by: EMC / Isilon storage division In collaboration with: alc, jeff Tested by: flo, pho, jhb, davide Tested by: ian (arm) Tested by: andreast (powerpc) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-18T01:11:52.756597Z K 7 svn:log V 64 Log some more information when the RX buffer allocation failed. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-18T01:12:36.085400Z K 7 svn:log V 77 Dump out information about the RX descriptor free list and FIFO information. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-18T01:20:11.635303Z K 7 svn:log V 162 MFS9->8 r248313: Add support for installation directly via HTTP. Submitted by: Rick Miller Reviewed by: jkh Approved by: re, jpaetzel END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-03-18T01:22:28.846155Z K 7 svn:log V 42 Add restrict keyword to realpath manpage. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-03-18T01:30:54.636191Z K 7 svn:log V 84 Update stable/8 to -BETA1 as part of 8.4-RELEASE cycle. Approved by: re (jpaetzel) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-18T02:29:57.244823Z K 7 svn:log V 99 Print out the current fifo queue depth correctly - not just the max queue depth. Silly hat to me. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-03-18T04:46:17.093228Z K 7 svn:log V 336 r119712 introduced SIS_TYPE_83816 but it was not actually set in driver such that checking against the type was always false. To detect NS DP83816, driver should have checked silicon revision register for NS controllers. While here, remove SIS_TYPE_83816 to not make the similar mistake again. Reported by: Brad Smith ( brad@openbsd ) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-03-18T05:30:18.926161Z K 7 svn:log V 365 Add FBT for PowerPC DTrace. Also, clean up the DTrace assembly code, much of which is not necessary for PowerPC. The FBT module can likely be factored into 3 separate files: common, intel, and powerpc, rather than duplicating most of the code between the x86 and PowerPC flavors. All DTrace modules for PowerPC will be MFC'd together once Fasttrap is completed. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-03-18T07:02:58.494898Z K 7 svn:log V 51 Add new USB ID. PR: usb/177013 MFC after: 1 week END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-18T07:41:08.213070Z K 7 svn:log V 359 Some ARM vmov similar to 'vmov.f32 s1, s2' will incorrectly have the second register added to the symbol table by the assembler. On further investigation it was found the problem was with the my_get_expression function. This is called by parse_big_immediate. Fix this by moving the call to parse_big_immediate to the end of the if, else if, ..., else block. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-18T08:22:35.861616Z K 7 svn:log V 179 Add support for the vmsr and vmrs instructions. This supports the system level version of the instructions. When used in userland the hardware only allows us to read/write FPSCR. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-18T09:32:29.350430Z K 7 svn:log V 132 Move common zfs ioctl compatibility functions (userland) into libzfs_compat.c Introduce additional constants for zfs ioctl versions END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-18T09:39:51.977909Z K 7 svn:log V 12 MFC @248461 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-18T09:45:10.926599Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-03-18T09:52:17.276313Z K 7 svn:log V 60 Update default FreeBSD version. Approved by: re (jpaetzel) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-03-18T10:50:50.979188Z K 7 svn:log V 345 Keep the default AuthorizedKeysFile setting. Although authorized_keys2 has been deprecated for a while, some people still use it and were unpleasantly surprised by this change. I may revert this commit at a later date if I can come up with a way to give users who still have authorized_keys2 files sufficient advance warning. MFC after: ASAP END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-03-18T15:14:36.326288Z K 7 svn:log V 56 do_vfp_vmrs and do_vfp_vmsr should not return anything. END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-18T15:18:55.828948Z K 7 svn:log V 181 o Switch to use physical addresses in rman for FDT. o Remove vtophys used to translate virtual address to physical in case rman carry virtual. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2013-03-18T15:27:59.070159Z K 7 svn:log V 67 MFH (r248465): revert upstream decommissioning of authorized_keys2 END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-18T15:38:15.241589Z K 7 svn:log V 13 MFC @r248468 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-03-18T17:23:58.963741Z K 7 svn:log V 311 Partially revert r195702. Deferring stops is now implemented via a set of calls to toggle TDF_SBDRY rather than passing PBDRY to individual sleep calls. - Remove the stop_allowed parameters from cursig() and issignal(). issignal() checks TDF_SBDRY directly. - Remove the PBDRY and SLEEPQ_STOP_ON_BDRY flags. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-03-18T18:04:09.883050Z K 7 svn:log V 21 Tweak some comments. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2013-03-18T19:22:51.057893Z K 7 svn:log V 340 Correct the definition for Exar XR17V258IV: we must use a config_function to specify the offset into the PCI memory spare at which each serial port will find its registers. This was already done for other Exar PCI serial devices; it was accidentally omitted for this specific device. Sponsored by: Sandvine Incorporated MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-18T20:22:40.462892Z K 7 svn:log V 54 Add missing zvol_create_mirrors() on zfs_ioc_create() END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-03-18T20:36:25.796308Z K 7 svn:log V 179 MFC r248279: Correct type for DIOCGSTRIPESIZE. Without this there would be a stack overflow which will crash the program later. PR: bin/176953 Submitted by: r4721 tormail org END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-18T21:11:31.636689Z K 7 svn:log V 20 Reduce stack usage. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-18T21:29:31.218233Z K 7 svn:log V 145 Revert the dance for skipping machine qualified dependfile. We just note when using non-machine qualified dependfile for "host" and skip update. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-03-18T22:38:30.131412Z K 7 svn:log V 690 Simplify the assignment of memory to virtual machines by requiring a single command line option "-m " to specify the memory size. Prior to this change the user needed to explicitly specify the amount of memory allocated below 4G (-m ) and the amount above 4G (-M ). The "-M" option is no longer supported by 'bhyveload' and 'bhyve'. The start of the PCI hole is fixed at 3GB and cannot be directly changed using command line options. However it is still possible to change this in special circumstances via the 'vm_set_lowmem_limit()' API provided by libvmmapi. Submitted by: Dinakar Medavaram (initial version) Reviewed by: grehan Obtained from: NetApp END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-03-18T23:22:47.089297Z K 7 svn:log V 182 Add preliminary support for IBM/Lenovo TrackPoint. PR: kern/147237 (based on the initial patch for 8.x) Tested by: glebius (device detection and suspend/resume) MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-03-18T23:31:22.243698Z K 7 svn:log V 45 List TrackPoint device before generic model. END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-18T23:35:01.080241Z K 7 svn:log V 249 Allow simplebus to attach in less strict way, when "simple-bus" listed on not first position of compatible property, so simplebus driver can be generic driver for any bus listed as compatible with "simple-bus". Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-18T23:38:15.306717Z K 7 svn:log V 132 Hide "no default resources for" warning under bootverbose. It's ok to use optional resources. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-18T23:41:19.320833Z K 7 svn:log V 86 Allow simplebus to attach to another simplebus. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-03-18T23:46:02.573246Z K 7 svn:log V 100 Prevent devel/subversion from being included in doc/ port dependencies. Approved by: re (jpaetzel) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-03-18T23:46:14.928175Z K 7 svn:log V 75 Add bhyve to examples. Requested by: alfred, julian Obtained from: NetApp END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-18T23:51:39.497561Z K 7 svn:log V 89 Don't hesitate to ask parent to setup IRQ finally. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-03-19T00:39:02.276605Z K 7 svn:log V 93 Fix the powerpc64 build. MACHINE_CPUARCH is common for powerpc/powerpc64, not MACHINE_ARCH. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-03-19T04:42:04.445319Z K 7 svn:log V 575 If dumpdev is AUTO but no dump device has been set -- i.e., there is no swap space configured for rc.d/dumpon to designate for dumping -- then exit silently rather than with a > realpath: /dev/dumpdev: No such file or directory error message. An argument could be made that we should print a (more informative) warning message; but given that under the same conditions the rc.d/dumpon script will already print a > No suitable dump device was found warning, it seems that printing an additional > Dump device does not exist. Savecore not run. warning would be superfluous. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-03-19T05:08:25.998955Z K 7 svn:log V 154 Fix typo in previous commit: Exit if */dev/dumpdev* does not exist, not if */bin/realpath* does not exist... Submitted by: markj Pointy hat to: cperciva END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-19T05:44:25.045063Z K 7 svn:log V 123 There are actually two different cases when mlock(2) returns ENOMEM. Clarify this, taking text from SUS. Reviewed by: kib END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-03-19T05:51:47.635516Z K 7 svn:log V 24 Fix style and comments. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-03-19T06:04:17.153613Z K 7 svn:log V 123 Separate the locking macros that are used in the packet flow path from others. This helps easy switch to use pfil(4) lock. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-19T07:25:58.623275Z K 7 svn:log V 42 mdoc: remove superfluous paragraph macro. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-19T07:47:51.936357Z K 7 svn:log V 120 Plug memory leak in dsl_check_snap_cb() This was unnoticed because the function is very rarely used. MFC after: 3 days END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-03-19T11:07:12.028508Z K 7 svn:log V 373 MFC r247279 The 5300 series ciss(4) board does not work in performant mode with our currnet initialization sequence. Set it to simple mode only so that systems can be updated from stable/7 to newer installations. At some point, we should figure out why we cannot initialize performant mode on this board. PR: kern/153361 Reviewed by: scottl Obtained from: Yahoo! Inc. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-19T11:09:15.962285Z K 7 svn:log V 12 MFC @248493 END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-19T12:35:33.543231Z K 7 svn:log V 57 Remove obsolete objformat information. Submitted by: db END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-03-19T12:42:14.289953Z K 7 svn:log V 115 MFC r247626. Fix callout expiring dynamic rules. PR: kern/175530 Submitted by: Vladimir Spiridenkov END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-19T12:51:18.215562Z K 7 svn:log V 225 MFV r247580: Merge synctask code restructuring from vendor. Modify forward and backward compatibility to support new change. Illumos ZFS issues: 3464 zfs synctask code needs restructuring Sponsored by: Hybrid Logic Ltd. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-03-19T12:52:13.225158Z K 7 svn:log V 51 Add new USB ID. PR: usb/177105 MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-03-19T13:06:11.837974Z K 7 svn:log V 242 Fix remainder calculation when biosize is not a power of 2 In common configurations biosize is a power of two, but is not required to be so. Thanks to markj@ for spotting an additional case beyond my original patch. Reviewed by: rmacklem@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T13:10:14.305112Z K 7 svn:log V 162 Assert that a ccb passed to cam_periph_mapmem() for XPT_SCSI_IO and XPT_ATA_IO holds virtual buffer address. Sponsored by: The FreeBSD Foundation Tested by: pho END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-19T13:13:26.934810Z K 7 svn:log V 138 Cast "start" to u_long. Temporary fix to unbreak tinderbox. We need here max possible storage or dynamic, depend on size of address cell. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-03-19T13:14:06.536628Z K 7 svn:log V 787 After careful evaluation decide for the setsockopt() method to TCP-AO key management. A description can be found in the comments to tcp_ao.h. The IPSEC key interface is only partially suited for use by TCP-AO. The concepts used by TCP-AO and IPSEC are very different. Requiring the IPSEC dependency for TCP-AO hinders deployment and considerably complicates the implementation and creates unnecessary inter-dependencies. The setsockopt() method to set TCP-AO keys is straight forward for the user/application and in implementation. It puts everything together at the socket the configuration applies to. Add netinet/tcp_ao.h to hold the TCP-AO specific structures. Parts of it may be move to netinet/tcp.h after the implementation has stabilized. Sponsored by: Juniper Networks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T13:21:39.821496Z K 7 svn:log V 216 Add a convenience macro bread_gb() to wrap a call to breadn_flags(). Comparing with bread(), it adds an argument to pass the flags to getblk(). Sponsored by: The FreeBSD Foundation Tested by: pho MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-03-19T13:29:01.334346Z K 7 svn:log V 386 Merge r247666, r247712, r247811. Fix ipfw table argument parsing/printing. Fix style. PR: kern/175909 Submitted by: Daniel Hagerty Implement buffer size checking in ipfw(8) add cmd. PR: bin/65961 Submitted by: Eugene Grosbein Do not suddenly fail on some rulesets if -n (syntax check only) is specified and ipfw(4) module is not loaded. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-03-19T13:36:19.332623Z K 7 svn:log V 51 Merge r248112. Document netstat -Q flags meaning. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-19T13:43:55.578650Z K 7 svn:log V 113 iwn(4) doesn't support adhoc mode. PR: misc/177106 Submitted by: Hiren Panchasara END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T14:13:12.616721Z K 7 svn:log V 2786 Implement the concept of the unmapped VMIO buffers, i.e. buffers which do not map the b_pages pages into buffer_map KVA. The use of the unmapped buffers eliminate the need to perform TLB shootdown for mapping on the buffer creation and reuse, greatly reducing the amount of IPIs for shootdown on big-SMP machines and eliminating up to 25-30% of the system time on i/o intensive workloads. The unmapped buffer should be explicitely requested by the GB_UNMAPPED flag by the consumer. For unmapped buffer, no KVA reservation is performed at all. The consumer might request unmapped buffer which does have a KVA reserve, to manually map it without recursing into buffer cache and blocking, with the GB_KVAALLOC flag. When the mapped buffer is requested and unmapped buffer already exists, the cache performs an upgrade, possibly reusing the KVA reservation. Unmapped buffer is translated into unmapped bio in g_vfs_strategy(). Unmapped bio carry a pointer to the vm_page_t array, offset and length instead of the data pointer. The provider which processes the bio should explicitely specify a readiness to accept unmapped bio, otherwise g_down geom thread performs the transient upgrade of the bio request by mapping the pages into the new bio_transient_map KVA submap. The bio_transient_map submap claims up to 10% of the buffer map, and the total buffer_map + bio_transient_map KVA usage stays the same. Still, it could be manually tuned by kern.bio_transient_maxcnt tunable, in the units of the transient mappings. Eventually, the bio_transient_map could be removed after all geom classes and drivers can accept unmapped i/o requests. Unmapped support can be turned off by the vfs.unmapped_buf_allowed tunable, disabling which makes the buffer (or cluster) creation requests to ignore GB_UNMAPPED and GB_KVAALLOC flags. Unmapped buffers are only enabled by default on the architectures where pmap_copy_page() was implemented and tested. In the rework, filesystem metadata is not the subject to maxbufspace limit anymore. Since the metadata buffers are always mapped, the buffers still have to fit into the buffer map, which provides a reasonable (but practically unreachable) upper bound on it. The non-metadata buffer allocations, both mapped and unmapped, is accounted against maxbufspace, as before. Effectively, this means that the maxbufspace is forced on mapped and unmapped buffers separately. The pre-patch bufspace limiting code did not worked, because buffer_map fragmentation does not allow the limit to be reached. By Jeff Roberson request, the getnewbuf() function was split into smaller single-purpose functions. Sponsored by: The FreeBSD Foundation Discussed with: jeff (previous version) Tested by: pho, scottl (previous version), jhb, bf MFC after: 2 weeks END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-19T14:15:41.773889Z K 7 svn:log V 129 Return "start" and "end" to u_long world. Because rman handle addresses as u_long too. Discussed with: ian@ Pointy hat to: ray@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T14:27:14.443496Z K 7 svn:log V 309 Add a helper function vfs_bio_bzero_buf() to zero the portion of the buffer, transparently handling mapped or unmapped buffers. Its intent is to replace the use of bzero(bp->b_data) in cases where the buffer might be unmapped, to avoid unneeded upgrades. Sponsored by: The FreeBSD Foundation Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T14:33:01.641312Z K 7 svn:log V 168 A flag for the filesystem to indicate to the upper levels that it accepts unmapped buffers for the VOP_STRATEGY(). Sponsored by: The FreeBSD Foundation Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T14:36:28.338583Z K 7 svn:log V 154 Pass unmapped buffers for page in requests if the filesystem indicated support for the unmapped i/o. Sponsored by: The FreeBSD Foundation Tested by: pho END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-03-19T14:39:19.326400Z K 7 svn:log V 14 MFC @r248511. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T14:39:27.580726Z K 7 svn:log V 154 Do not map the swap i/o pbufs if the geom provider for the swap partition accepts unmapped requests. Sponsored by: The FreeBSD Foundation Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T14:43:57.089470Z K 7 svn:log V 102 Do not remap usermode pages into KVA for physio. Sponsored by: The FreeBSD Foundation Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T14:49:15.506051Z K 7 svn:log V 140 A flag for the geom disk driver to indicate that it accepts the unmapped i/o requests. Sponsored by: The FreeBSD Foundation Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T14:50:24.065960Z K 7 svn:log V 180 The geom_part provider supports unmapped bio iff the underlying provider does so, since geom_part never inspects the bio_data. Sponsored by: The FreeBSD Foundation Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T14:53:23.872467Z K 7 svn:log V 356 Support unmapped i/o for the md(4). The vnode-backed md(4) has to map the unmapped bio because VOP_READ() and VOP_WRITE() interfaces do not allow to pass unmapped requests to the filesystem. Vnode-backed md(4) uses pbufs instead of relying on the bio_transient_map, to avoid usual md deadlock. Sponsored by: The FreeBSD Foundation Tested by: pho, scottl END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T15:01:50.876554Z K 7 svn:log V 356 Support unmapped i/o for the md(4). The vnode-backed md(4) has to map the unmapped bio because VOP_READ() and VOP_WRITE() interfaces do not allow to pass unmapped requests to the filesystem. Vnode-backed md(4) uses pbufs instead of relying on the bio_transient_map, to avoid usual md deadlock. Sponsored by: The FreeBSD Foundation Tested by: pho, scottl END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T15:05:21.916868Z K 7 svn:log V 462 Commit the removal of a whitespace to record the proper commit message for the r248519: For the cam-attached HBAs, allow the driver to specify that it accepts the unmapped bio by the PIM_UNMAPPED flag. The CAM passes the CAM_DATA_BIO data transfer type request for the unmapped bio, and the driver could use the bus_dmamap_load_ccb() as a helper to transparently handle the ccb. Sponsored by: The FreeBSD Foundation Reviewed by: scottl Tested by: pho, scottl END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T15:08:15.300329Z K 7 svn:log V 129 UFS support of the unmapped i/o for the user data buffers. Sponsored by: The FreeBSD Foundation Tested by: pho, scottl, jhb, bf END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-19T15:09:32.823229Z K 7 svn:log V 150 ahci(4) and siis(4) are ready to process the unmapped i/o requests Sponsored by: The FreeBSD Foundation Tested by: pho Submitted by: bf (siis patch) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-03-19T15:27:29.210545Z K 7 svn:log V 45 Return the p_emuldata as it is used by svr4. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-19T16:33:43.369809Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-03-19T16:57:04.382345Z K 7 svn:log V 135 Add a comment about why aout support is still here: We need it for compat2x, which is still in use, as evidence by recent bug reports. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-19T17:13:47.488428Z K 7 svn:log V 25 Merge from vmcontention. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-19T17:54:37.955588Z K 7 svn:log V 96 Now that the tx map field is correctly populated for both edma and legacy chips, just use that. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-19T17:55:36.486332Z K 7 svn:log V 21 Add more TODO items. END