Ħy269331 162 261 210 134 228 140 198 151 185 337 522 345 1577 1577 441 296 200 340 2294 157 334 310 158 670 139 126 554 817 190 816 156 808 247 295 154 396 222 130 153 598 313 200 187 180 165 157 223 221 150 157 127 137 228 743 743 144 547 275 250 106 1056 478 428 229 635 275 235 492 381 153 246 170 297 535 720 421 230 712 148 183 194 309 339 210 313 469 616 769 414 558 120 321 239 301 112 116 590 475 164 646 287 484 226 383 211 488 341 222 209 186 163 256 154 236 156 143 256 246 304 451 162 155 628 269 274 189 276 608 289 131 488 171 136 199 283 117 328 121 177 185 175 278 162 150 262 309 268 340 256 213 191 274 378 383 570 387 347 223 751 363 285 639 311 K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-07-31T13:02:56.206495Z K 7 svn:log V 165 Fix the attribute, we should now be using normal memory in pmap when backed by physical memory. While here add pmap_kenter_device to insert a page of device memory. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-07-31T14:47:26.709252Z K 7 svn:log V 114 Use arm/arm/devmap.c to get pmap_{un,}mapdev. As we don't yet need the rest of the code, for now, comment it out. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-07-31T14:48:35.494708Z K 7 svn:log V 39 Implement the map and unmap functions. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-07-31T14:53:07.057347Z K 7 svn:log V 132 MFC 268931: Correct spelling errors in ctld.8. While here, correct similar errors in ctl.conf.5 and fix a couple of contractions. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-07-31T15:12:56.194711Z K 7 svn:log V 45 Add pmap_{un,}mapdev to the required header. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-07-31T15:15:46.412794Z K 7 svn:log V 102 Add the start of support for FDT as it is likely it will be used for device enumeration on some SoCs. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-07-31T15:25:12.220965Z K 7 svn:log V 56 elfdump: add EM_AARCH64 64-bit ARM machine architecture END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-07-31T15:40:03.288525Z K 7 svn:log V 90 elfdump: use existing ELF constants where available Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-07-31T16:17:30.200026Z K 7 svn:log V 244 Correct a defect in r268591. In the implementation of the new function pmap_unwire(), the call to MOEA64_PVO_TO_PTE() must be performed before any changes are made to the PVO. Otherwise, MOEA64_PVO_TO_PTE() will panic. Reported by: andreast END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-07-31T16:43:56.076706Z K 7 svn:log V 429 Ensure that IP's added to CARP always use the CARP MAC Previously there was a race condition between the address addition and associating it with the CARP which resulted in the interface MAC, instead of the CARP MAC, being used for a brief amount of time. This caused "is using my IP address" warnings as well as data being sent to the wrong machine due to incorrect ARP entries being recorded by other devices on the network. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-07-31T16:54:54.815305Z K 7 svn:log V 252 Export an mmc or sd card's serial number from the mmc layer as an ivar. In the mmcsd layer use this value to populate disk->d_ident. Also set disk->d_descr to the full set of card identification info (includes vendor, model, manufacturing date, etc). END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-07-31T17:10:03.150761Z K 7 svn:log V 1481 MFC r264434: DTrace's pid provider works by inserting breakpoint instructions at probe sites and installing a hook at the kernel's trap handler. The fasttrap code will emulate the overwritten instruction in some common cases, but otherwise copies it out into some scratch space in the traced process' address space and ensures that it's executed after returning from the trap. In Solaris and illumos, this (per-thread) scratch space comes from some reserved space in TLS, accessible via the fs segment register. This approach is somewhat unappealing on FreeBSD since it would require some modifications to rtld and jemalloc (for static TLS) to ensure that TLS is executable, and would thus introduce dependencies on their implementation details. I think it would also be impossible to safely trace static binaries compiled without these modifications. This change implements the functionality in a different way, by having fasttrap map pages into the target process' address space on demand. Each page is divided into 64-byte chunks for use by individual threads, and fasttrap's process descriptor struct has been extended to keep track of any scratch space allocated for the corresponding process. With this change it's possible to trace all libc functions in a program, e.g. with pid$target:libc.so.*::entry {@[probefunc] = count();} Previously this would generally cause the victim process to crash, as tracing memcpy on amd64 requires the functionality described above. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-07-31T17:10:04.827913Z K 7 svn:log V 1481 MFC r264434: DTrace's pid provider works by inserting breakpoint instructions at probe sites and installing a hook at the kernel's trap handler. The fasttrap code will emulate the overwritten instruction in some common cases, but otherwise copies it out into some scratch space in the traced process' address space and ensures that it's executed after returning from the trap. In Solaris and illumos, this (per-thread) scratch space comes from some reserved space in TLS, accessible via the fs segment register. This approach is somewhat unappealing on FreeBSD since it would require some modifications to rtld and jemalloc (for static TLS) to ensure that TLS is executable, and would thus introduce dependencies on their implementation details. I think it would also be impossible to safely trace static binaries compiled without these modifications. This change implements the functionality in a different way, by having fasttrap map pages into the target process' address space on demand. Each page is divided into 64-byte chunks for use by individual threads, and fasttrap's process descriptor struct has been extended to keep track of any scratch space allocated for the corresponding process. With this change it's possible to trace all libc functions in a program, e.g. with pid$target:libc.so.*::entry {@[probefunc] = count();} Previously this would generally cause the victim process to crash, as tracing memcpy on amd64 requires the functionality described above. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-07-31T17:18:40.462467Z K 7 svn:log V 343 - Updated SYSCTL manual pages after recent changes to the kernel SYSCTL code. Added description of new macros and functions. - Merged dynamic and static SYSCTL related content into a single manual page, hence parameters and functionality is very much the same. - Uppercased all occurrences of "OID". - Updated all SYSCTL examples. PR: 192101 END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-07-31T18:02:38.820242Z K 7 svn:log V 203 Various style(9) and related fixes. Update the copyright to be more in line with the current version in our tree. Remove the ancient rcsid. Add a proper return from the main function Pointed out by: bz END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-07-31T18:54:40.705453Z K 7 svn:log V 104 Work around a bug with the Semihosting FS driver where it returns EFI_ABORTED there is no data to read. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-07-31T19:24:44.671723Z K 7 svn:log V 247 Do not generate 1000 unique lock names for nfsrc hash chain locks. It overflows witness. Shorten the names of some nfs mutexes. Reported and tested by: pho No objections from: rmacklem, mav Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-07-31T20:08:19.316510Z K 7 svn:log V 2195 * Add new "flow" table type to support N=1..5-tuple lookups * Add "flow:hash" algorithm Kernel changes: * Add O_IP_FLOW_LOOKUP opcode to support "flow" lookups * Add IPFW_TABLE_FLOW table type * Add "struct tflow_entry" as strage for 6-tuple flows * Add "flow:hash" algorithm. Basically it is auto-growing chained hash table. Additionally, we store mask of fields we need to compare in each instance/ * Increase ipfw_obj_tentry size by adding struct tflow_entry * Add per-algorithm stat (ifpw_ta_tinfo) to ipfw_xtable_info * Increase algoname length: 32 -> 64 (algo options passed there as string) * Assume every table type can be customized by flags, use u8 to store "tflags" field. * Simplify ipfw_find_table_entry() by providing @tentry directly to algo callback. * Fix bug in cidr:chash resize procedure. Userland changes: * add "flow table(NAME)" syntax to support n-tuple checking tables. * make fill_flags() separate function to ease working with _s_x arrays * change "table info" output to reflect longer "type" fields Syntax: ipfw table fl2 create type flow:[src-ip][,proto][,src-port][,dst-ip][dst-port] [algo flow:hash] Examples: 0:02 [2] zfscurr0# ipfw table fl2 create type flow:src-ip,proto,dst-port algo flow:hash 0:02 [2] zfscurr0# ipfw table fl2 info +++ table(fl2), set(0) +++ kindex: 0, type: flow:src-ip,proto,dst-port valtype: number, references: 0 algorithm: flow:hash items: 0, size: 280 0:02 [2] zfscurr0# ipfw table fl2 add 2a02:6b8::333,tcp,443 45000 0:02 [2] zfscurr0# ipfw table fl2 add 10.0.0.92,tcp,80 22000 0:02 [2] zfscurr0# ipfw table fl2 list +++ table(fl2), set(0) +++ 2a02:6b8::333,6,443 45000 10.0.0.92,6,80 22000 0:02 [2] zfscurr0# ipfw add 200 count tcp from me to 78.46.89.105 80 flow 'table(fl2)' 00200 count tcp from me to 78.46.89.105 dst-port 80 flow table(fl2) 0:03 [2] zfscurr0# ipfw show 00200 0 0 count tcp from me to 78.46.89.105 dst-port 80 flow table(fl2) 65535 617 59416 allow ip from any to any 0:03 [2] zfscurr0# telnet -s 10.0.0.92 78.46.89.105 80 Trying 78.46.89.105... .. 0:04 [2] zfscurr0# ipfw show 00200 5 272 count tcp from me to 78.46.89.105 dst-port 80 flow table(fl2) 65535 682 66733 allow ip from any to any END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-07-31T20:28:17.977860Z K 7 svn:log V 62 Nexus doesn't need machine/fdt.h remove the include and file. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-07-31T20:55:05.826320Z K 7 svn:log V 238 Pass the dtb from loader to the kernel. For now loader tries to load foundation.dtb from the disk and pass this to the kernel. The dtb is expected to be after the kernel and the data passed in is its offset from the start of the kernel. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-07-31T22:00:36.991048Z K 7 svn:log V 214 Define a setvar() function for platforms using a shell unlike FreeBSD's sh(1) for `/bin/sh' (e.g., bash(1) which lacks a setvar definition). This is to improve portability to other Operating Systems (e.g., Linux). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-07-31T22:05:18.251276Z K 7 svn:log V 63 Fix a syntax error when running under bash(1) for portability. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2014-07-31T22:09:50.494324Z K 7 svn:log V 575 Fix breakage introduced by r256843: removing the SA_CCB_WAITING bit left some of the decisions based on its counterpart, SA_CCB_BUFFER_IO being random. As a result, propagation of the residual information for the SPACE command was broken, so the number of filemarks encountered during a SPACE operation was miscalculated. Consequently, systems relying on properly tracked filemark counters (like Bacula) fell apart. The change also removes a switch/case in sadone() which r256843 degraded to a single remaining case label. PR: 192285 Approved by: ken MFC after: 2 weeks END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-07-31T22:13:31.755814Z K 7 svn:log V 44 Update command and add check for edge-case. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-07-31T22:32:39.929200Z K 7 svn:log V 34 Fix a typo in the example script. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-07-31T23:04:41.066994Z K 7 svn:log V 462 MFC r268971 and r269032. r268971: Simplify r267600, there's no need to distinguish between allocated and inlined mbufs. r269032: cxgbe(4): Keep track of the clusters that have to be freed by the custom free routine (rxb_free) in the driver. Fail MOD_UNLOAD with EBUSY if any such cluster has been handed up to the kernel but hasn't been freed yet. This prevents a panic later when the cluster finally needs to be freed but rxb_free is gone from the kernel. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-07-31T23:09:22.513319Z K 7 svn:log V 725 MFC r269106: Add a 'raw' parameter to the 'modinfo' subcommand. This is handy when trying to figure out why a QSFP+/SFP+ connector or cable wasn't identified correctly by cxgbe(4). Its output looks like this: # cxgbetool t5nex0 modinfo 0 raw 00: 03 04 21 00 00 00 00 00 ..!. .... 08: 04 00 00 00 67 00 00 00 .... g... 10: 00 00 05 00 41 6d 70 68 .... Amph 18: 65 6e 6f 6c 20 20 20 20 enol 20: 20 20 20 20 00 41 50 48 .APH 28: 35 37 31 35 34 30 30 30 5715 4000 30: 33 20 20 20 20 20 20 20 3 38: 4b 20 20 20 01 00 00 fa K .... 40: 00 00 00 00 41 50 46 31 .... APF1 48: 30 30 34 30 30 33 30 30 0040 0300 50: 30 33 20 20 31 30 30 31 03 1001 58: 33 30 20 20 00 00 00 97 30 .... END K 10 svn:author V 2 np K 8 svn:date V 27 2014-07-31T23:14:59.557441Z K 7 svn:log V 99 MFC r268971: Simplify r267600, there's no need to distinguish between allocated and inlined mbufs. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-07-31T23:17:59.947438Z K 7 svn:log V 724 MFC r269106: Add a 'raw' parameter to the 'modinfo' subcommand. This is handy when trying to figure out why a QSFP+/SFP+ connector or cable wasn't identified correctly by cxgbe(4). Its output looks like this: # cxgbetool t5nex0 modinfo 0 raw 00: 03 04 21 00 00 00 00 00 ..!. .... 08: 04 00 00 00 67 00 00 00 .... g... 10: 00 00 05 00 41 6d 70 68 .... Amph 18: 65 6e 6f 6c 20 20 20 20 enol 20: 20 20 20 20 00 41 50 48 .APH 28: 35 37 31 35 34 30 30 30 5715 4000 30: 33 20 20 20 20 20 20 20 3 38: 4b 20 20 20 01 00 00 fa K .... 40: 00 00 00 00 41 50 46 31 .... APF1 48: 30 30 34 30 30 33 30 30 0040 0300 50: 30 33 20 20 31 30 30 31 03 1001 58: 33 30 20 20 00 00 00 97 30 .... END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-07-31T23:19:01.890383Z K 7 svn:log V 64 Update shellsnoop to work on FreeBSD. Contributed by: skreuzer END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-07-31T23:25:13.930653Z K 7 svn:log V 712 Add pkgfs, a file system implementation for reading files out of a compressed tarball, aka package. The file system assumes that the files are layed-out in the same order as needed to allow for the package to be streamed. As such, it does not read an entire package into memory first. Some properties of the file system: o Files that start with '+' are silently skipped. These are found in FreeBSD package files. o Files smaller than or equal to 4KB will be cached in memory and as such allow for some flexibility in accessing files out of order. o Files with the .tgz suffix are assumed to be (sub-)packages and signal the end for a directory scan. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-01T00:00:46.482077Z K 7 svn:log V 154 Use rm -x only on FreeBSD 10 and newer. Many people still build from older hosts, which still works, so don't break that gratuitously. MFC After: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-01T00:00:54.191382Z K 7 svn:log V 202 NANO_OBJ shouldn't end with a '/', so remove it here. This makes the pathnames printed not have the dreaded // which makes it hard to cut and paste into an emacs find file command... MFC After: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-01T01:30:16.331556Z K 7 svn:log V 63 Improve compliance with style.Makefile(5). MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-01T01:48:41.419527Z K 7 svn:log V 303 Correct a long-standing problem in moea{,64}_pvo_enter() that was revealed by the combination of r268591 and r269134: When we attempt to add the wired attribute to an existing mapping, moea{,64}_pvo_enter() do nothing. (They only set the wired attribute on newly created mappings.) Tested by: andreast END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-01T01:53:39.521368Z K 7 svn:log V 130 List one file per line in the Makefiles. This makes it easier to read diffs when a file is added or removed. MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-01T04:05:13.474144Z K 7 svn:log V 38 MFC r269205: Simplify the expression. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-01T04:53:35.432258Z K 7 svn:log V 61 Retire PVO_EXECUTABLE. It's neither used nor set correctly. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-08-01T06:20:25.282463Z K 7 svn:log V 506 Add support for Chromebook2 -- next-generation 8-core (4 in operation), 4GB ram (3.5 usable) ARM machine. Support covers device drivers for: - Serial Peripheral Interface (SPI) - Chrome Embedded Controller (EC) - SPI-based version - XHCI and USB 3.0 dual-role device PHY Also: - Add support for Exynos5420 in Pad module - Move power-related functions to separate driver -- Power Management Unit (PMU) - Enable XHCI for Chromebook1 Special thanks to grehan@ for hardware, and to hselasky@ for r269139. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-01T07:35:17.984384Z K 7 svn:log V 215 * Use TA_FLAG_DEFAULT for default algorithm selection instead of exporting algorithm structures directly. * Pass needed state buffer size in algo structures as preparation for tables add/del requests batching. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-01T08:28:18.284846Z K 7 svn:log V 102 Simplify radix operations: use unified tei_to_sockaddr_ent() to generate keys for add/delete calls. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-01T08:39:47.739446Z K 7 svn:log V 90 Do not perform memset() on ta_buf in algo callbacks: it is already zeroed by base code. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-01T09:54:11.453931Z K 7 svn:log V 85 Allow us to set verbose boot, along with the other flags loaders boot command takes. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-01T10:32:39.320250Z K 7 svn:log V 69 Delete branch that was dedicated to pre-head counter(9) development. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-01T10:35:35.221993Z K 7 svn:log V 61 Create branch for light weight reference counting mechanism. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-01T12:42:37.953479Z K 7 svn:log V 127 Cleanup sctp_send_initiate() and sctp_send_initiate_ack() to be in sync as much as possible. This simplifies upcoming changes. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-01T13:33:47.094292Z K 7 svn:log V 124 Drop into subversion the proof-of-concept unfinished and dirty implementation of light weight reference counting mechanism. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-01T13:38:10.444627Z K 7 svn:log V 55 Adjust a comment to put the words in the correct order END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-01T13:39:49.018318Z K 7 svn:log V 62 Add entries for all bus_space functions, most are still NULL. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-01T13:44:33.632823Z K 7 svn:log V 32 Use the memmap_bus tag in nexus END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-01T13:54:58.885542Z K 7 svn:log V 42 Add FDT to the kernel now it's supported. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-01T14:10:10.791433Z K 7 svn:log V 132 Alos use the GICv2 driver on arm64. No interrupts are working yet as we are still missing the code to handle the correct exception. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-08-01T15:04:46.585253Z K 7 svn:log V 645 MFC r268780 Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the code. The consensus on arch@ is that this feature might have been useful in the distant past, but is now just unnecessary bloat. The int_rman_activate_resource() and int_rman_deactivate_resource() functions become trivial, so manually inline them. The special deferred handling of RF_ACTIVE is no longer needed in reserve_resource_bound(), so eliminate the associated code at the end of the function. These changes reduce the object file size by more than 500 bytes on i386. Update the rman.9 man page to reflect the removal of the RF_TIMESHARE feature. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-08-01T15:08:47.911397Z K 7 svn:log V 645 MFC r268780 Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the code. The consensus on arch@ is that this feature might have been useful in the distant past, but is now just unnecessary bloat. The int_rman_activate_resource() and int_rman_deactivate_resource() functions become trivial, so manually inline them. The special deferred handling of RF_ACTIVE is no longer needed in reserve_resource_bound(), so eliminate the associated code at the end of the function. These changes reduce the object file size by more than 500 bytes on i386. Update the rman.9 man page to reflect the removal of the RF_TIMESHARE feature. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-08-01T15:10:55.822026Z K 7 svn:log V 53 Rename files: keep codename only to make it shorter. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-01T15:17:46.019399Z K 7 svn:log V 449 * Permit limiting number of items in table. Kernel changes: * Add TEI_FLAGS_DONTADD entry flag to indicate that insert is not possible * Support given flag in all algorithms * Add "limit" field to ipfw_xtable_info * Add actual limiting code into add_table_entry() Userland changes: * Add "limit" option as "create" table sub-option. Limit modification is currently impossible. * Print human-readable errors in table enry addition/deletion code. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-01T16:53:04.292789Z K 7 svn:log V 179 Update the ARMv6 core clang targets to be an arm1176jzf-s. This brings us in line with gcc in base as this makes llvm generate code for the armv6k variant of the instruction set. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-01T17:09:50.274792Z K 7 svn:log V 157 Simplify the selection of the pvo_head and pvo allocation zone in moea_enter_locked() and moea64_enter(). Eliminate an unused variable from moea64_enter(). END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-08-01T17:24:36.834713Z K 7 svn:log V 14 merge @269363 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-01T18:24:44.561150Z K 7 svn:log V 963 Fix unwind-info errors in our hand-written arm assembler code. We have functions nested within functions, and places where we start a function then never end it, we just jump to the middle of something else. We tried to express this with nested ENTRY()/END() macros (which result in .fnstart and .fnend directives), but it turns out there's no way to express that nesting in ARM EHABI unwind info, and newer tools treat multiple .fnstart directives without an intervening .fnend as an error. These changes introduce two new macros, EENTRY() and EEND(). EENTRY() creates a global label you can call/jump to just like ENTRY(), but it doesn't emit a .fnstart. EEND() is a no-op that just documents the conceptual endpoint that matches up with the same-named EENTRY(). This is based on patches submitted by Stepan Dyatkovskiy, but I made some changes and added the EEND() stuff, so blame any problems on me. Submitted by: Stepan Dyatkovskiy END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-08-01T18:36:40.965221Z K 7 svn:log V 382 Fix byte ordering in default RSS key. The rss_key[] array in netinet/in_rss.c has the bytes in incorrect order. This results in the RSS test vectors in the Microsft RSS spec and Intel NIC specs giving incorrect results, and making it difficult to verify correct hash operation when RSS functionality is added to new NICs. CR: https://phabric.freebsd.org/D516 Reviewed by: adrian END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-01T19:32:20.035016Z K 7 svn:log V 333 Like with /usr/lib + /usr/lib/compat, add the optional /usr/lib32/compat to the ldconfig32 default path. /usr/lib32 is the 32 bit versions of *current* libraries, while old versions should be able to be in /usr/lib32/compat, like with /usr/lib/compat. The separation is meant to keep the compile time default search paths cleaner. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-01T20:21:41.375375Z K 7 svn:log V 136 Fix an bug in as(1) parsing of arm -march=arch+ext options. Compare the arch name to just the characters before the '+' in 'arch+ext'. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-01T20:30:24.125733Z K 7 svn:log V 542 Teach as(1) to handle the arm .arch_extension pseudo-op, which accepts the same values as the -march= command line option. Add support for the "sec" extension (security extensions). We've been getting away without support for the sec extension because it's bogusly enabled even on arches where its presence is optional. This support for .arch_extension is being added mainly so that we can use the right directives in our source code, and that helps folks using external toolchains (and will help us when we finally update our toolchain). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-01T20:32:29.350413Z K 7 svn:log V 182 Tell the assembler we're building for armv7a with security extensions, so that the 'smc' (secure monitor call) opcode is valid. Submitted by: Stepan Dyatkovskiy END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-01T20:49:27.132514Z K 7 svn:log V 139 Remove the asconf_auth_nochk sysctl. This was off by default and only existed to be able to test with non-compliant peers a long time ago. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-01T21:00:18.028540Z K 7 svn:log V 399 MFC 256657,257423,264837,267559: Sync vmrun.sh with HEAD: - Add -e option to vmrun.sh passed to bhyveload(8) to set loader environment variables. - Stop passing unused -I option to bhyve(8). - Reformat the usage to fit in 80 colums and other cleanups. - Add -C option to specify the console device. - Add -H option to pass a host path to bhyveload(8). - Support for multiple disk and tap devices. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-01T21:10:41.084000Z K 7 svn:log V 283 MFC: r268115 Merge the NFSv4.1 server code in projects/nfsv4.1-server over into head. The code is not believed to have any effect on the semantics of non-NFSv4.1 server behaviour. It is a rather large merge, but I am hoping that there will not be any regressions for the NFS server. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-01T21:14:02.108970Z K 7 svn:log V 58 MFC r266902: Add missing libexec/bsdconfig subdirectories END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-01T21:24:19.588336Z K 7 svn:log V 148 Bump __FreeBSD_version for r269398, since it changes the internal interfaces between the NFS related modules. This is a direct commit to stable/10. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-01T21:28:58.397137Z K 7 svn:log V 73 Add an UPDATING entry for the __FreeBSD_version bump related to r269398. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-01T21:40:42.283253Z K 7 svn:log V 201 MFC r258436: Refactor amd64 startup SMAP parsing Extracted from the projects/uefi branch, this change is a reasonable cleanup and will reduce the diffs to review when bringing in the UEFI work. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-01T22:28:36.316558Z K 7 svn:log V 442 Add 64-bit atomic ops for armv6. The only safe way to access a 64-bit value shared across multiple cores is with atomic_load_64() and atomic_store_64(), because the normal 64-bit load/store instructions are not atomic on 32-bit arm. Luckily the ldrexd/strexd instructions that are atomic are fairly cheap on armv6. Because it's fairly simple to do, this implements all the ops for 64-bit, not just load/store. Reviewed by: andrew, cognet END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-01T22:33:23.536638Z K 7 svn:log V 623 Split gethrtime() and gethrtime_waitfree() and make the former use nanouptime() instead of getnanouptime(). nanouptime(9) provides more precise result at expense of being slower. In r269223, gethrtime() is used as creation time of dbuf, which in turn acts as portion of lookup key to maintain AVL invariant where there can not be duplicate items. Before this change, gethrtime() have preferred better execution time by sacrificing precision, which may lead to panic on busy systems with: panic: avl_find() succeeded inside avl_add() Reported by: allanjude, mav PR: kern/192284 MFC after: 11 days X-MFC-with: r269223 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-01T22:56:41.397946Z K 7 svn:log V 328 Add 64-bit atomic ops for armv4, only for kernel code, mostly so that we don't need any #ifdef stuff to use atomic_load/store_64() elsewhere in the kernel. For armv4 the atomics are trivial to implement for kernel code (just disable interrupts), less so for user mode, so this only has the kernel mode implementations for now. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-01T23:06:38.120372Z K 7 svn:log V 137 Use atomic_load/store_64() in the arm implementation of counter(9), and remove the XXX comments about non-atomic access to the counters. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-08-01T23:16:48.631479Z K 7 svn:log V 619 Don't return ZIO_PIPELINE_CONTINUE from vdev_op_io_start methods This prevents recursion of vdev_queue_io_done as per r265321 but using a different method as recommended on the openzfs list. We now use zio_interrupt(zio) and return ZIO_PIPELINE_STOP instead of returning ZIO_PIPELINE_CONTINUE from vdev_*_io_start methods. zio_vdev_io_start now ASSERTS the that vdev_op_io_start returns ZIO_PIPELINE_STOP to ensure future changes don't reintroduce ZIO_PIPELINE_CONTINUE returns. Cleanup flow in vdev_geom_io_start while I'm here. Also fix some cases not using SET_ERROR(..) MFC after: 2 weeks X-MFC-With: r265321 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-08-01T23:28:21.671632Z K 7 svn:log V 53 Add kdump support for shm_open(). MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-08-01T23:29:04.625315Z K 7 svn:log V 88 In the shm_open() and shm_unlink() syscalls, export the path to KTR. MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-01T23:45:50.530192Z K 7 svn:log V 101 Use the 64-bit atomics now provided by arm machine/atomic.h instead of (conflicting) local versions. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-02T00:56:34.224015Z K 7 svn:log V 217 cxgbe(4): minor optimizations in ingress queue processing. Reorganize struct sge_iq. Make the iq entry size a compile time constant. While here, eliminate RX_FL_ESIZE and use EQ_ESIZE directly. MFC after: 2 weeks END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-08-02T01:28:01.852962Z K 7 svn:log V 245 Add Garrett Cooper (ngie@) as a src committer. Garrett will use his shiny new commit superpowers to continue working on the FreeBSD Test Suite (and probably/hopefully other things). Mentored by me and comentored by rpaulo@. Approved by: core END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-02T01:48:25.951268Z K 7 svn:log V 118 cxgbe(4): Fix an off by one error when looking for the BAR2 doorbell address of an egress queue. MFC after: 2 weeks END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-02T03:44:27.670151Z K 7 svn:log V 220 When arm 64-bit atomic ops are available, define ARM_HAVE_ATOMIC64. Use that symbol (which will be correct in both kernel and userland contexts) rather than just __arm__ to decide whether to use a local implementation. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-08-02T03:48:16.928711Z K 7 svn:log V 368 Add vt(4) support to sparc64. The only driver currently present (ofwfb) provides support for a variety of low-end graphics hardware (SBus adapters, Mach64, QEMU's framebuffer, XVR-100). A driver for at least the Creator3D cards will have to be present before this can become the default console driver. To test vt(4) on sparc64, set kern.vty=vt at the loader prompt. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-02T03:56:06.863141Z K 7 svn:log V 519 MFC r268855: MFV r268848: Instead of asserting all zio's be properly aligned, only assert on the logical ones. Cap uberblocks at 8k, otherwise with ashift=17, there would be only one uberblock. This fixes a problem that zdb would trip assert on pools with ashift >= 0xe (8k). While there, also change the code so it only attempt to condense space map unless the uncondensed size consumes greater than zfs_metaslab_condense_block_threshold blocks. Illumos issue: 4958 zdb trips assert on pools with ashift >= 0xe END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-02T03:59:35.793314Z K 7 svn:log V 672 MFC r268858: MFV r268850: Change the interaction between the DMU and ARC so that when the DMU is shutting down an objset, we do not evict the data from the ARC. Instead we simply coordinate the destruction of the DMU's data with the ARC. The only case where we actually need to explicitly evict from the ARC is when dbuf_rele_and_unlock() determines that the administrator has requested that it not be kept in memory, via the primarycache/secondarycache properties. In this case, we evict the data from the ARC by its blkptr_t, the same way as when a block is freed we explicitly evict it from the ARC. Illumos issue: 4631 zvol_get_stats triggering too many reads END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-02T04:01:44.452910Z K 7 svn:log V 317 MFC r268859: MFV r268851: When a sync task is waiting for a txg to complete, we should hurry it along by increasing the number of outstanding async writes (i.e. make vdev_queue_max_async_writes() return a larger number). Illumos issue: 4753 increase number of outstanding async writes when sync task is waiting END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-02T04:06:35.199298Z K 7 svn:log V 461 MFC r268865: MFV r268852: Reduce lock contention on the z_teardown_lock under heavily cached read workload by splitting the single teardown rrw lock into RRM_NUM_LOCKS (17) of them. Read acquisitions are randomly distributed among these locks based on curthread pointer. Write acquisitions are going to all the locks, which for the usage of this type of lock should be rare. Illumos issue: 5008 lock contention (rrw_exit) while running a read only load END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-02T05:05:05.360752Z K 7 svn:log V 28 Fix a minor style(9) issue. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-02T05:05:10.902016Z K 7 svn:log V 228 Follow the ufs practice for disallowing permission changes as well as writes to files for read-only file systems. Since there are already checks in nandfs_setattr that return an error, this moves detection of the error earlier. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-02T05:05:16.224376Z K 7 svn:log V 146 Set the erase block size properly in the case the underlying media doesn't advertise an erase block size. Submitted by: bjg@ Pointy hat to: imp@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-02T05:16:20.233176Z K 7 svn:log V 208 Add a new -K to suppress installing the kernel. Useful for creating chroots that may never boot (such as build environments), or for platforms that don't really need the kernel installed into the filesystem. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-02T05:17:59.549625Z K 7 svn:log V 20 Sort usage options. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-02T05:19:33.656404Z K 7 svn:log V 24 Sort switch statements. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-02T06:33:58.207504Z K 7 svn:log V 493 Author: Matthew Ahrens Date: Fri Aug 1 11:09:46 2014 -0800 5039 ztest should default to larger device sizes Reviewed by: George Wilson Reviewed by: Max Grossman Reviewed by: Christopher Siden Reviewed by: Saso Kiselkov Approved by: Richard Lowe illumos/illumos-gate@539eed8a409366837ae95576ca22df010f901134 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-02T06:49:16.174653Z K 7 svn:log V 378 Author: Justin T. Gibbs Date: Fri Aug 1 17:55:38 2014 -0800 5038 Remove "old-style" flexible array usage in ZFS. Reviewed by: Matthew Ahrens Reviewed by: Josef 'Jeff' Sipek Approved by: Richard Lowe illumos/illumos-gate@7f18da4c54210b682e105b0e7be5195c60f98d20 END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-02T06:55:36.202352Z K 7 svn:log V 73 cxgbe(4): some optimizations in freelist handling. MFC after: 2 weeks. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-02T06:56:00.003084Z K 7 svn:log V 553 MFC r269123: Implement separate I/O dispatch method for ZVOLs in "dev" mode. Unlike disk devices ZVOLs process all requests synchronously. That makes impossible sending multiple requests to them from single thread. From the other side ZVOLs have real d_read/d_write methods, which unlike d_strategy can handle uio scatter/gather and have no strict I/O size limitations. So, if ZVOL in "dev" mode is detected, use of d_read/d_write methods instead of d_strategy allows to avoid pointless splitting of large requests into MAXPHYS (128K) sized chunks. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-02T07:47:52.977798Z K 7 svn:log V 190 MFV r269426: Double test device size for ztest(1). Illumos issue: 5039 ztest should default to larger device sizes Author: Matthew Ahrens MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-02T08:34:22.173727Z K 7 svn:log V 387 MFV r269427: In dnode_children_t, use C99's "[]" idiom for declaring the variable sized array dnc_children at the end of the structure. This prevents the compiler from mistakenly optimizing away accesses beyond the array's defined size. Illumos issue: 5038 Remove "old-style" flexible array usage in ZFS. Author: Justin T. Gibbs MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-02T15:05:23.350249Z K 7 svn:log V 130 Define both ttyu0 and ttyu1 as onifconsole. This is ideal for ia64 where the console can be on either, depending on the platform. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-02T16:10:24.846762Z K 7 svn:log V 290 Handle wiring failures in vm_map_wire() with the new functions pmap_unwire() and vm_object_unwire(). Retire vm_fault_{un,}wire(), since they are no longer used. (See r268327 and r269134 for the motivation behind this change.) Reviewed by: kib Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-02T16:45:55.665171Z K 7 svn:log V 117 Add myself to calendar.freebsd and committers-src.dot Phabric: D522 Reviewed by: jmmv Approved by: jmmv (co-mentor) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-02T17:18:47.415293Z K 7 svn:log V 390 * Fix case when returning more that 4096 bytes of data * Use different approach to ensure algo has enough space to store N elements: - explicitly ask algo (under UH_WLOCK) before/after insertion. This (along with existing reallocation callbacks) really guarantees us that it is safe to insert N elements at once while holding UH_WLOCK+WLOCK. - remove old aflags/flags approach END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-02T17:35:13.455912Z K 7 svn:log V 245 Cleanup the ECN configuration handling and provide an SCTP socket option for controlling ECN on future associations and get the status on current associations. A simialar pattern will be used for controlling SCTP extensions in upcoming commits. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-08-02T17:45:08.102441Z K 7 svn:log V 121 Don't assume that the framebuffer driver is using vt_fb_blank() when blanking the screen during init. MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-02T17:58:20.230559Z K 7 svn:log V 116 Rewrite a loop in vm_map_wire() so that gcc doesn't think that the variable "rv" is uninitialized. Reported by: bz END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-02T18:37:08.712566Z K 7 svn:log V 89 - Spelling corrections Suggested by: Garrett Cooper PR: 192101 END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-02T18:37:22.240346Z K 7 svn:log V 72 cxgbe(4): Remove an unused version of t4_enable_vi. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-02T19:51:10.401881Z K 7 svn:log V 163 Add missing comparisons to make list IDs in EXTENDED COPY per-initiator, as they should be. Wrap it into a function to not duplicate the code. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-02T19:59:19.247750Z K 7 svn:log V 62 Fix some bugs in RECEIVE COPY STATUS data. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-02T20:06:36.685485Z K 7 svn:log V 138 MFC: r268866 r243637 changed the default number of nfsd threads created, but the man page did not reflect this. This is a content change. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-02T20:15:00.156529Z K 7 svn:log V 64 Plug EXTENDED COPY request data memory leak. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-02T20:37:02.971718Z K 7 svn:log V 48 Fix a copy and paste error. X-MFC with: 269436 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-02T20:58:46.667431Z K 7 svn:log V 158 Partial MFC of r267961, r267973, r267985, r267992, r267993 and r268005: Backport some macro definitions to make backporting code from FreeBSD current easier. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-02T21:01:58.402158Z K 7 svn:log V 148 MFC r269139: Split the XHCI TRB allocations into smaller parts, so that we don't end up allocating contiguous busdma buffers above PAGE_SIZE bytes. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-02T21:36:40.701233Z K 7 svn:log V 208 Add support for the SCTP_PR_SUPPORTED socket option as specified in http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-prpolicies Add also a sysctl controlling the default of the end-points. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-02T22:25:24.109759Z K 7 svn:log V 355 MFC 259910, 260023, 260028, 260600 & 260701: o Fix "kptdir is itself virtual" error, caused by having the kptdir in PBVM. o Allow building a cross libkvm for ia64. o Add support for virtual cores (aka minidumps). o We don't have to worry about page sizes when working on virtual cores. o Handle truncation of the size returned by _kvm_kvatop(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-02T23:20:43.363776Z K 7 svn:log V 70 Rework r269444 to work also for lists without IDs. MFC after: 3 days END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-08-03T00:29:03.687253Z K 7 svn:log V 61 Add myself to committers-src.dot. Better late than never :-) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-03T00:35:10.697630Z K 7 svn:log V 530 MFC: r268273 The new NFSv3 server did not generate directory postop attributes for the reply to ReaddirPlus when the server failed within the loop that calls VFS_VGET(). This failure is most likely an error return from VFS_VGET() caused by a bogus d_fileno that was truncated to 32bits. This patch fixes the server so that it will return directory postop attributes for the failure. It does not fix the underlying issue caused by d_fileno being uint32_t when a file system like ZFS generates a fileno that is greater than 32bits. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-03T01:51:48.432377Z K 7 svn:log V 173 MFC 264161: Handle the fact that the getlogin_basic() function can return a 0 status with a NULL pointer for the login name (result). Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-03T02:24:52.137249Z K 7 svn:log V 178 MFC 264162: Accept RFC 2292 option values so that RFC 2292 compliant programs that are unaware of RFC 3542 can construct control messages. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-03T02:37:33.790485Z K 7 svn:log V 94 MFC 264164: Convert while copying in control messages. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-03T03:06:00.228645Z K 7 svn:log V 180 MFC 268986; fix file system corruption by creating as many BIOs as needed to satisfy the original request -- in other words: no short reads. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-03T03:27:54.409474Z K 7 svn:log V 515 Remove Giant acquisition from the mount and unmount pathes. It could be claimed that two things were reasonable protected by Giant. One is vfsconf list links, which is converted to the new dedicated sx vfsconf_sx. Another is vfsconf.vfc_refcount, which is now updated with atomics. Note that vfc_refcount still has the same races now as it has under the Giant, the unload of filesystem modules can happen while the module is still in use. Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-03T03:51:33.939269Z K 7 svn:log V 193 Do the iwn(4) panic reinitialisation under IWN_LOCK(). I've checked each of the functions being called and there's either a _locked version or it's supposed to be called with IWN_LOCK() held. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-03T05:00:43.861507Z K 7 svn:log V 39 Make the witness lock limit an option. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-08-03T05:02:00.180403Z K 7 svn:log V 392 Add required `exec' before Xdialog(1) invocation for the case where we expect (require) data on stdin. The effect of this is that, when backgrounded, $! returns the pid of an Xdialog(1) instance instead of an sh(1) instance -- the difference being a later kill of $! will reach the Xdialog(1) instance whereas without the exec the kill succeeds on the sh(1) instance leaving Xdialog(1) open. END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-08-03T05:53:53.256840Z K 7 svn:log V 79 Added a new tmpfs test scenario. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-08-03T07:59:19.002243Z K 7 svn:log V 40 vn_path_to_global_path: update comment. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-03T08:32:54.889484Z K 7 svn:log V 101 Store entry value back in @tei on entry update/deletion as another step to batched atomic updates. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-03T09:04:36.333288Z K 7 svn:log V 185 * Move all algo-specific structures to the top of algo definition. * Be consistent on naming variables in different algos. * Use exponential array grow in iface:array and number:array. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-03T09:40:50.941587Z K 7 svn:log V 20 Whitespace changes. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-03T09:47:51.210368Z K 7 svn:log V 231 Revert r269404 and use cpu_ticks() for dbuf allocation. Encode CPU's number by XOR'ing the CPU ID against the 64-bit cpu_ticks(). Reviewed by: mav, gibbs Differential Revision: https://phabric.freebsd.org/D521 MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-03T09:48:54.571373Z K 7 svn:log V 24 Remove unneded headers. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-03T09:53:34.784195Z K 7 svn:log V 80 Be consistent on cidr:radix function naming: use algo name instead of "cidr". END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-03T10:02:14.718982Z K 7 svn:log V 93 Do not retry token errors. They are not going to disappear by themselves. MFC after: 1 week END K 10 svn:author V 5 joerg K 8 svn:date V 27 2014-08-03T10:47:45.164168Z K 7 svn:log V 81 Avoid a divide-by-zero panic when setting the baudrate to 0. MFC after: 2 weeks END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-08-03T11:01:35.946384Z K 7 svn:log V 185 Fix vt_vga driver to draw not-8-bit-aligned fonts correctly. Still one bug here: mouse left some gaps on track when moving left. MFC after: 1 week Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-03T11:43:14.031952Z K 7 svn:log V 70 Do not retry on set of non-transient XCOPY errors. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-03T12:19:45.381453Z K 7 svn:log V 53 Show algorithm-specific data in "table info" output. END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-08-03T13:07:25.293320Z K 7 svn:log V 169 Allow to disable some special key combinations handled by vt(4), like debug request, reboot request. Requested by: Claude Buisson Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-03T14:10:10.171822Z K 7 svn:log V 213 Add SCTP socket option SCTP_NRSACK_SUPPORTED to control the NRSACK extension. The default will still be off, since it it not an RFC (yet). Changing the sysctl name will be in a separate commit. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-03T15:09:13.323333Z K 7 svn:log V 172 Use consistent names for SCTP sysctls. Rename nr_sack_on_off to nrsack_enable. Please note that this extension is off by default since it is not specified in an RFC (yet). END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-03T15:49:03.394202Z K 7 svn:log V 242 Implement O(1) skipto using indexed array. This adds 512K (2 * sizeof(u32) * 65k) bytes to the memory footprint. This feature is optionaly and may be turned on in any time (however it starts immediately in this commit. This will be changed.) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-03T16:22:14.347306Z K 7 svn:log V 158 * Move "talist" and "iflist" cmds into newly-create "internal" ipfw(8) cmd. * Add "table X detail" cmd and show detailed algo info there instead of "info". END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-03T16:45:07.751456Z K 7 svn:log V 117 Fix multicast, broken by the conversion of the nfe(4) driver to the driver API. Submitted by: Mikhail END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-03T18:03:00.091981Z K 7 svn:log V 99 MFC r268867, r268878: Use more consistent type for optlen in getsourcefilter() Proposed by: bde END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-03T18:12:55.189405Z K 7 svn:log V 178 Add support for the SCTP_PKTDROP_SUPPORTED socket option and the corresponding sysctl variable. The default is off, since the specification is not an RFC yet. MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-03T18:28:10.161081Z K 7 svn:log V 285 MFC r268926, r268930, r268983: Use a correct errno in freopen. Use EBADF instead of EINVAL when working around incorrect O_ACCMODE. Adjust errno on failed prepwrite. rewind: always clear error indicator as required by POSIX. Obtained from: Apple Inc. (Libc 997.90.3) Phabric: D442 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-03T18:31:52.006797Z K 7 svn:log V 290 MFC r269124: strftime() xlocale cleanups. Replace fprintf_l with fputs when output is unformatted. Use locale_t in _conv() since it was using sprintf (now sprintf_l) Use locale_t on _yconv() since it calls _conv() Obtained from: Apple Inc. (Libc 997.90.3) CR: D482 Reviewed by: theraven END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-03T18:39:11.848913Z K 7 svn:log V 477 MFC r268066: regex(3): Add support for \< and \> word delimiters Solaris and other OSs have support for \< and \> as word delimiters in utilities like sed(1). These are useful to have for general compatiblity with Solaris but should be avoided for portability with other systems, including the traditional BSDs. Bump __FreeBSD_version as this is likely to affect some userland utilities. Reference: https://www.illumos.org/issues/516 PR: bin/153257 Obtained from: Illumos END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-03T20:40:51.979886Z K 7 svn:log V 294 Retire pmap_change_wiring(). We have never used it to wire virtual pages. We continue to use pmap_enter() for that. For unwiring virtual pages, we now use pmap_unwire(), which unwires a range of virtual addresses instead of a single virtual page. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-03T21:37:12.204197Z K 7 svn:log V 249 Implement atomic ipfw table swap. Kernel changes: * Add opcode IP_FW_TABLE_XSWAP * Add support for swapping 2 tables with the same type/ftype/vtype. * Make skipto cache init after ipfw locks init. Userland changes: * Add "table X swap Y" command. END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2014-08-03T21:54:22.506713Z K 7 svn:log V 127 Add generic list, status, load and unload docs to gpart(8) - In the style of gmirror(8). PR: docs/191534 Reviewed by: gavin END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-08-03T21:56:53.775279Z K 7 svn:log V 656 For reasons which are not clear, r254263 broke some PCMCIA and CardBus bridges in strange ways, either rendering them unable to detect insertion and removal events, or possibly unable to read from the device behind the bridge. This fixes at least one laptop, a Toshiba Tecra M5 with a Texas Instruments PCxx12 (d=0x8039 v=0c104c) bridge. The very similar Tecra M9 has the same bridge, but worked fine without this change. The bridge chip has no I/O port BAR, and there is nothing in the spec to suggest I/O decoding should be enabled; however enabling it fixes the issue. Add an XXX comment to this effect. Discussed with: jhb, imp MFC after: 2 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-03T22:37:21.297410Z K 7 svn:log V 268 Partial revert of r262867. r262867 was described as fixing socket buffer checks for SOCK_SEQPACKET, but also changed one of the SOCK_DGRAM code paths to use the new sbappendaddr_nospacecheck_locked() function. This lead to SOCK_DGRAM bypassing socket buffer limits. END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-03T22:59:47.381021Z K 7 svn:log V 190 Insta-MFC r269489: partial revert of r262867 which was MFC'ed as r263820. Don't ignore sndbuf/rcvbuf limits for SOCK_DGRAM sockets. This appears to be an edit error or patch fuzz mismatch. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-04T00:51:57.125089Z K 7 svn:log V 546 MFC r268945: Fix hdestroy() compliance issue. The hcreate(3) implementation and related functions we inherited from NetBSD used to free() the key value, something that is not supported by the standard implementation. This would cause a segmentation fault when attempting to run the examples from the opengroup and linux manpages. There is no need to bump the __FreeBSD_version as we have always claimed XPG4.2 compliance but if some reference is required, the bump for r269484 can be used. Reference: http://bugs.dragonflybsd.org/issues/1398 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-04T00:58:12.421044Z K 7 svn:log V 218 Improve locking of multicast addresses in VLAN and LAGG interfaces. This fixes several scenarios of reproducible panics, cause by races between multicast address changes and interface destruction. MFC after: 2 weeks END