ƒ°238367 193 117 114 176 146 393 153 287 272 109 515 420 495 329 200 116 299 131 148 113 267 99 120 274 195 267 179 264 131 102 216 450 114 269 99 99 239 155 217 147 129 214 113 143 278 154 183 109 207 250 109 236 692 249 244 394 558 755 745 503 148 255 114 664 463 128 549 246 110 196 486 231 380 191 138 153 171 238 120 370 151 184 235 186 1788 181 235 519 178 178 175 297 199 165 213 336 306 153 150 184 306 128 986 142 133 2270 534 242 219 199 300 271 167 290 144 354 323 208 165 174 219 435 197 132 99 229 419 155 274 267 115 132 142 303 1636 186 522 391 148 369 175 355 193 301 244 302 206 216 243 356 570 267 152 268 244 221 208 127 140 118 155 191 729 182 166 156 300 226 160 189 509 179 175 261 218 186 130 160 146 430 139 323 306 211 226 253 173 777 682 234 224 365 551 306 K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-11T16:51:47.299622Z K 7 svn:log V 24 Import ACPICA 20120711. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-11T16:52:25.537014Z K 7 svn:log V 21 Tag ACPICA 20120711. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-11T17:11:07.477480Z K 7 svn:log V 84 at91$DEV->at91_$DEV to match other Atmel drivers. Also, export at91_rst_cpu_reset. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-11T17:11:54.361175Z K 7 svn:log V 54 at91pit->at91_pit for consistnecy with other drivers. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-07-11T18:16:54.084166Z K 7 svn:log V 297 When an MFI command fails, the driver needs to set bio->bio_resid so that the upper levels notice. Otherwise we see commands silently failing leading to data corruption. This mirrors dadone() Submitted by: Andrew Boyer aboyer@averesystems.com Reviewed by: scottl@freebsd.org MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-11T18:50:50.647435Z K 7 svn:log V 61 Fix build for kernels with dtrace hooks. MFC after: 1 month END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-07-11T19:08:23.693857Z K 7 svn:log V 191 sys/dev/mfivar.h contains references to MFI_DEBUG, but it never gets turned on unless the file also includes opt_mfi.h. Submitted by: Andrew Boyer aboyer@averesystems.com MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-11T19:12:10.551918Z K 7 svn:log V 179 Add a test program, written by Stephan Uphoff, which demonstrates the deadlock due to i/o performed over the buffers backed by file mappings. MFC after: 2 weeks Approved by: ups END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-07-11T19:54:21.239174Z K 7 svn:log V 14 IFC @ r238370 END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-11T20:17:14.670715Z K 7 svn:log V 422 Make the SoC stuff a little more modular, and start to move away from having the CPU device that's a child of atmelarm that does stuff. o Create a linker_set for the support fucntions for the SoCs. o Rename soc_data to soc_info. o Move the delay and reset function pointers to new soc_data struct o Create elements for all known SoCs o Add lookup of the SoC we found, and print a warning if it isn't one we know about. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-11T22:17:58.714945Z K 7 svn:log V 327 Merge libedit adjustment from NetBSD. On recent versions of NetBSD's libedit, el_gets now sets el_len to -1 on error so we can distinguish between a NULL string and an error. This fixes sh from exiting with newer versions of libedit now allowing EINTR to return. Obtained from: NetBSD Reviewed by: jilles MFC after: 3 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-11T22:20:19.405880Z K 7 svn:log V 402 Re-merge a couple of changes from NetBSD's libedit. bin/sh has been taught about el_gets setting the count to -1 on error, so now we can partially revert r238173 to reduce differences with NetBSD's implementation. Unfortunately NetBSD's libedit handling of EINTR (Revision 1.44 in read.c + SIGWINCH fixes) still causes trouble in bin/sh and other utilities and has to be avoided. MFC after: 1 month END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-11T23:00:26.673972Z K 7 svn:log V 231 Renamed the kern.cam.da.da_send_ordered sysctl and tunable to kern.cam.da.send_ordered, more in line with the other da sysctls/tunables. PR: 169765 Submitted by: Steven Hartland Reviewed by: mav END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-07-11T23:12:17.145228Z K 7 svn:log V 104 BHyVe's vmm.ko can now be built with the in-tree binutils. Many thanks to jhb@ for making this happen. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-11T23:18:35.459401Z K 7 svn:log V 23 Merge ACPICA 20120711. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-11T23:22:09.402111Z K 7 svn:log V 201 Apply similar same change as in r238379: Renamed the kern.cam.ada.ada_send_ordered sysctl and tunable to kern.cam.ada.send_ordered, more in line with the other da sysctls/tunables. Suggested by: kib END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-11T23:30:35.590136Z K 7 svn:log V 38 Add myself for OpenSSL 1.0.1c import. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-11T23:31:36.687996Z K 7 svn:log V 55 Import OpenSSL 1.0.1c. Approved by: benl (maintainer) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-11T23:32:30.198957Z K 7 svn:log V 20 Tag OpenSSL 1.0.1c. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-07-12T00:27:33.351349Z K 7 svn:log V 171 Add --get-all option to dump all readable parameters. Submitted by: Takuya Asada syuu at dokukino dot com Reviewed by: grehan, neel Obtained from: GSoC 12 bhyve project END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T02:07:21.220700Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T02:15:06.138273Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-12T02:58:45.598792Z K 7 svn:log V 181 Export the interrupt status vector via soc_data. Set the interrupt priorities in the AIC in the atmelarm driver before attaching the children. Delete redunant copies of the code. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-12T04:23:11.917944Z K 7 svn:log V 102 Create the children devices for the SoC in atmelarm bus node, not in the identify routine of the CPU. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-12T06:29:54.764856Z K 7 svn:log V 175 Change behavior introduced in r237119 to vendor solution References: https://www.illumos.org/issues/2883 PR: 167905 Obtained from: illumos (issue #2883) MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-12T07:34:09.122594Z K 7 svn:log V 82 Document the sysctl/tunable changes in r238379 and r238382. Suggested by: mjacob END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-12T10:09:34.367725Z K 7 svn:log V 166 Add and utilize defines for the ATA device register. PR: 169764 Submitted by: Steven Hartland Reviewed by: mav MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T11:02:04.590199Z K 7 svn:log V 35 Remove unused iterating functions. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T11:02:57.550788Z K 7 svn:log V 7 Style. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-07-12T12:11:32.083678Z K 7 svn:log V 121 Update for new core team. Looks like this file was not updated two years ago for the last core team. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-12T13:45:58.735228Z K 7 svn:log V 357 Complete the transition away from newbus to populate the children to the linker set of CPU modules. The newbus method, although clever, had many flaws: it didn't really support multiple SoC, many of the comments about order were just wrong, and it did a few things far too late to be useful. delay and cpu_reset now work much earlier in the boot process. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-12T13:54:24.726235Z K 7 svn:log V 22 Fix whitespace divot. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-12T15:20:20.202490Z K 7 svn:log V 173 Document the behavior of mount with failok specified. PR: docs/163742 Submitted by: gcooper Discussion by: gcooper Discussion by: bjk Approved by: gabor MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T16:02:26.774258Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T16:24:58.960370Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T16:47:18.439533Z K 7 svn:log V 142 Import FUSE implementation based on a contribution of IlyaPutsikau during GSoC 2011 and further developed by gnn recently. Submitted by: gnn END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-12T19:11:37.902337Z K 7 svn:log V 63 Remember where we found the DBGU and use that for our console. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-12T19:15:38.534892Z K 7 svn:log V 124 This file is no longer AT91RM9200 specific, but now is generic to all Atmel AT91 SoC's we support. Rename to reflect that. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-12T19:30:53.746055Z K 7 svn:log V 54 Merge OpenSSL 1.0.1c. Approved by: benl (maintainer) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-12T19:34:30.545130Z K 7 svn:log V 36 Remove myself after OpenSSL import. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-12T21:31:53.683592Z K 7 svn:log V 120 Sort ASM definitions by crypto module for slightly easier maintenance. Specifically, GHASH_ASM belongs to crypto/modes. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T22:47:28.348984Z K 7 svn:log V 17 Fix compilation. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T22:54:32.332312Z K 7 svn:log V 47 fuse doesn't really belong to CSCOPEDIRECTORY. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T22:55:48.847152Z K 7 svn:log V 181 - Make the ability to specify the option FUSE directly in the kernel config file and have FUSE be part of the kernel static image. - Correctly add fuse among the building modules END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-12T23:00:35.990114Z K 7 svn:log V 58 Avoid to put in the mntqueue only half-constructed vnode. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-12T23:11:30.084574Z K 7 svn:log V 90 Fix the previous commit. Obsolete libraries must be added to OLD_LIBS. Pointyhat to: me END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-07-13T01:25:11.160049Z K 7 svn:log V 13 IFC @238412. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-13T04:10:41.243674Z K 7 svn:log V 114 Wring a few cycles out of pmap_enter(). In particular, on a user-space pmap, avoid walking the page table twice. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-13T04:22:08.001828Z K 7 svn:log V 157 For our at91rm9200 boards, register which subtype of SoC is on the board. We'll use this later to control the differences between these two variants' pins. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-07-13T06:46:09.324386Z K 7 svn:log V 15 Whitespace nit END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-13T08:02:58.192469Z K 7 svn:log V 144 Update vendor/illumos to illumos-gate revision 13750:6c5d0718e821 Source URL: ssh://anonhg@hg.illumos.org/illumos-gate Obtained from: illumos END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-07-13T08:11:55.998245Z K 7 svn:log V 599 acpi_cpu: separate a notion of current deepest allowed+available Cx level ... from a user-set persistent limit on the said level. Allow to set the user-imposed limit below current deepest available level as the available levels may be dynamically changed by ACPI platform in both directions. Allow "Cmax" as an input value for cx_lowest sysctls to mean that there is not limit and OS can use all available C-states. Retire global cpu_cx_count as it no longer serves any meaningful purpose. Reviewed by: jhb, gianni, sbruno Tested by: sbruno, Vitaly Magerya MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-13T09:38:56.847883Z K 7 svn:log V 157 * Use printf() instead pager_output() for debugging. * Remove unused GEOM_MAGIC macro. * Fix the sectors count usage where it should be used as LBA address. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-13T09:43:45.056116Z K 7 svn:log V 152 Add simple test program that uses the partition tables handling code. It is useful to test and debug how boot loader handles partition tables metadata. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-13T11:08:37.016413Z K 7 svn:log V 297 Remove UMA init method for key zone, and instead do all initialization after uma_zalloc(). If a key was first allocated for IPv6 state, then freed and reallocated for IPv4, then we'd got non-zero values in not used for IPv4 fields, this bcmp() would fail on key lookup. Reported & tested by: flo END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-13T12:37:34.478701Z K 7 svn:log V 466 Merge illumos commit 13749:df4cd82e2b60 1796 "ZFS HOLD" should not be used when doing "ZFS SEND" froma read-only pool 2871 support for __ZFS_POOL_RESTRICT used by ZFS test suite 2903 zfs destroy -d does not work 2957 zfs destroy -R/r sometimes fails when removing defer-destroyed snapshot References: https://www.illumos.org/issues/1796 https://www.illumos.org/issues/2871 https://www.illumos.org/issues/2903 https://www.illumos.org/issues/2957 MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-13T13:23:48.540296Z K 7 svn:log V 662 The etcupdate utility is a tool for managing updates to files that are not updated as part of `make installworld' such as files in /etc. It manages updates by doing a three-way merge of changes made to these files against the local versions. It is also designed to minimize the amount of user intervention with the goal of simplifying upgrades for clusters of machines. The primary difference from mergemaster is that etcupdate requires less manual work. The primary difference from etcmerge is that etcupdate updates files in-place similar to mergemaster rather than building a separate /etc tree. Requested by: obrien, kib, theraven, joeld (among others) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-13T13:24:33.845304Z K 7 svn:log V 652 Make the interval timings for EVFILT_TIMER more accurate. tvtohz() always adds an extra tick to account for the current partial clock tick. However, that is not appropriate for a repeating timer when the exact tvtohz() value should be used for subsequent intervals. Fix repeating callouts for EVFILT_TIMER by subtracting 1 tick from the tvtohz() result similar to the fix used in realitexpire() for interval timers. While here, update a few comments to note that if the EVFILT_TIMER code were to move out of kern_event.c, it should move to kern_time.c (where the interval timer code it mimics lives) rather than kern_timeout.c. MFC after: 1 month END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-07-13T14:02:05.075029Z K 7 svn:log V 407 Fix an issue related to old periodic timers. The code in kern_clocksource.c uses interrupt to keep track of time, and this time may not match with binuptime(). In order to address such incoerency, switch periodic timers to binuptime(). While here, modify callout_process() so that it takes present time as argument avoiding to call binuptime() twice even though it's not strictly needed. Reviewed by: mav END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-07-13T15:25:10.933867Z K 7 svn:log V 55 Minor mdoc, spelling and end of line whitespace fixes. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-07-13T20:10:59.729627Z K 7 svn:log V 159 MFP4 214344: Tighten the regular expression that checks for an md /tmp such that no /tmp mount and an md / isn't improperly matched. Sponsored by: DARPA/AFRL END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-07-13T21:27:18.611605Z K 7 svn:log V 21 Add HISTORY section. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-07-13T21:48:01.798575Z K 7 svn:log V 571 Pull in r159895 from upstream clang trunk: When marking virtual functions as used for a class' vtable, mark all functions which will appear in the vtable as used, not just those ones which were declared within the class itself. Fixes an issue reported as comment#3 in PR12763 -- we sometimes assert in codegen if we try to emit a reference to a function declaration which we've not marked as referenced. This also matches gcc's observed behavior. This should fix clang assertions when building certain components of the LibreOffice port. MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-13T22:29:02.117006Z K 7 svn:log V 367 sh: Add tests where "export" does not parse differently. It is planned to expand variable assignments as assignments (no word splitting, different tilde expansion) when they follow a "declaration utility" (export, readonly or local). However, a quoted character cannot be part of a "name" so things like \v=~ are not assignments, and the existing behaviour applies. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-07-14T01:45:35.025668Z K 7 svn:log V 33 Fix domain. Approved by: emaste END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-14T02:07:51.698275Z K 7 svn:log V 453 Fix EDMA RX to actually work without panicing the machine. I was setting up the RX EDMA buffer to be 4096 bytes rather than the RX data buffer portion. The hardware was likely getting very confused and DMAing descriptor portions into places it shouldn't, leading to memory corruption and occasional panics. Whilst here, don't bother allocating descriptors for the RX EDMA case. We don't use those descriptors. Instead, just allocate ath_buf entries. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-14T02:22:17.036257Z K 7 svn:log V 150 Create an RX queue lock. Ideally these locks would go away and there'd be a single driver lock, like what iwn(4) does. I'll worry about that later. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-07-14T02:45:44.358130Z K 7 svn:log V 15 MFC to r238432 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-14T02:47:16.289305Z K 7 svn:log V 100 Don't free the descriptor allocation/map if it doesn't exist. I missed this in my previous commit. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-14T02:52:48.219339Z K 7 svn:log V 390 Change the RX EDMA path to first complete the FIFO, then re-populate it with fresh descriptors, before handling the frames. Wrap it all in the RX locks. Since the FIFO is very shallow (16 for HP, 128 for LP) it needs to be drained and replenished very quickly. Ideally, I'll eventually move this RX FIFO drain/fill into the interrupt handler, only deferring the actual frame completion. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-07-14T02:59:11.898198Z K 7 svn:log V 135 The call to disk_resize causes a panic if DIAGNOSTIC is set. Coping with that while the finest minds of our generation figure out why. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-07-14T03:16:57.825755Z K 7 svn:log V 284 Import bsdconfig(8) as a replacement for the post-install abilities of deprecated sysinstall(8). NOTE: WITH_BSDCONFIG is currently required. Submitted by: Devin Teske (dteske), Ron McDowell Reviewed by: Ron McDowell Approved by: Ed Maste (emaste) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-14T05:46:52.498519Z K 7 svn:log V 99 Create common routines for configuring the serial ports and use them on all the at91rm9200 boards. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-14T05:51:54.296146Z K 7 svn:log V 43 Ensure that error is set. Noticed by: rui END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-14T05:53:03.902557Z K 7 svn:log V 58 Make sure that 'rs' is pointing to the correct RX status. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-14T06:00:37.670021Z K 7 svn:log V 79 uboot should be telling us it is an ETHERNUT5 for this board. Tag it as such. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-14T06:13:23.192028Z K 7 svn:log V 145 Add preliminary support for Atmel SAM9260-EK evaluation kit. Initially identical to the Ethernut5, but will diverge shortly before I refactor... END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-07-14T06:17:17.217010Z K 7 svn:log V 27 Mdoc and whitespace fixes. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-14T07:56:47.534756Z K 7 svn:log V 274 Merge in some other features from the legacy RX path: * wrap the RX proc calls in the RX refcount; * call the DFS checking, fast frames staging and TX rescheduling if required. TODO: * figure out if I can just make "do TX rescheduling" mean "schedule TX taskqueue" ? END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-14T08:40:26.250869Z K 7 svn:log V 60 Copy vendor-sys/opensolaris/dist to vendor-sys/illumos/dist END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-14T08:54:42.333301Z K 7 svn:log V 93 Revert r237927 and remove accidentially added kernel part This belongs to vendor-sys/illumos END K 10 svn:author V 7 zeising K 8 svn:date V 27 2012-07-14T10:17:47.832680Z K 7 svn:log V 138 Change language in WITH_BSDCONFIG to match other options, and regen src.conf(5), which was missed in r238438. Approved by: joel (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-14T12:15:20.790350Z K 7 svn:log V 91 Fix build breakage when one isn't building with IEEE80211_SUPPORT_SUPERG. Noticed by: mav END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-14T15:48:30.348091Z K 7 svn:log V 1694 Add support for the XSAVEOPT instruction use. Our XSAVE/XRSTOR usage mostly meets the guidelines set by the Intel SDM: 1. We use XRSTOR and XSAVE from the same CPL using the same linear address for the store area 2. Contrary to the recommendations, we cannot zero the FPU save area for a new thread, since fork semantic requires the copy of the previous state. This advice seemingly contradicts to the advice from the item 6. 3. We do use XSAVEOPT in the context switch code only, and the area for XSAVEOPT already always contains the data saved by XSAVE. 4. We do not modify the save area between XRSTOR, when the area is loaded into FPU context, and XSAVE. We always spit the fpu context into save area and start emulation when directly writing into FPU context. 5. We do not use segmented addressing to access save area, or rather, always address it using %ds basing. 6. XSAVEOPT can be only executed in the area which was previously loaded with XRSTOR, since context switch code checks for FPU use by outgoing thread before saving, and thread which stopped emulation forcibly get context loaded with XRSTOR. 7. The PCB cannot be paged out while FPU emulation is turned off, since stack of the executing thread is never swapped out. The context switch code is patched to issue XSAVEOPT instead of XSAVE if supported. This approach eliminates one conditional in the context switch code, which would be needed otherwise. For user-visible machine context to have proper data, fpugetregs() checks for unsaved extension blocks and manually copies pristine FPU state into them, according to the description provided by CPUID leaf 0xd. MFC after: 1 month END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-14T16:34:17.033607Z K 7 svn:log V 85 Fix the format strings and u/intmax_t casts for the printed types. Reported by: pho END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-14T18:10:44.433852Z K 7 svn:log V 142 Move kmem_alloc_{attr,contig}() to vm/vm_kern.c, where similarly named functions reside. Correct the comment describing kmem_alloc_contig(). END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-07-14T19:39:53.401911Z K 7 svn:log V 423 Change the sleepqueue(9) and condvar(9) KPI so that functions which take a timeout as argument have variants that take an additional 'flags' argument that can be used to specify precision interval. Modify a couple of comments that aren't valid anymore after changes. Now sleepq_set_timeout_bt() and cv_timedwait_bt_sig() takes as time argument a pointer to struct bintime rather than a struct bintime. Reviewed by: mav END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-14T19:44:39.240794Z K 7 svn:log V 83 Use case for selecting the address family (as in other places). MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-14T20:08:03.453916Z K 7 svn:log V 83 Use case for selecting the address family (as in other places). MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-14T20:14:03.771472Z K 7 svn:log V 83 If vm_contig_grow_cache() is allowed to sleep, then invoke the vm_lowmem handlers. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-14T20:24:00.683054Z K 7 svn:log V 204 Merge illumos commit 13455:7205f7794835 1458 D compiler fails to generate error on sizeof() an undefined struct Reference: https://www.illumos.org/issues/1458 Tested by: Fabian Keil MFC after: 3 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-14T21:25:14.223067Z K 7 svn:log V 103 Provide the correct notification type (SCTP_SEND_FAILED_EVENT) for unsent messages. MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-14T21:28:11.232433Z K 7 svn:log V 69 Fix format strings for a further DEBUG. Partially submitted by: pho END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-07-15T03:43:56.893624Z K 7 svn:log V 115 9.1-BETA1 builds done, shift back to PRERELEASE for the rest of the 9.1 release cycle. Approved by: re (implicit) END K 10 svn:author V 3 kan K 8 svn:date V 27 2012-07-15T04:15:27.453574Z K 7 svn:log V 243 Make pkg bootstrap program ask for confirmation before proceeding. The previous behaviour was to silently download and install the pkg package, without ever telling user about what it was doing and why. Discussed with: bapt Reviewed by: kib END K 10 svn:author V 2 np K 8 svn:date V 27 2012-07-15T05:24:19.994187Z K 7 svn:log V 214 MFC r238313: Fix a bug in code that calculates the number of the first interrupt vector for a port. This affected the gigabit ports of T422 cards (the ones with 2x10G ports and 2x1G ports). Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-15T05:35:14.534716Z K 7 svn:log V 61 Use the pin number rather than the hybrid pin number + name. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-15T05:38:43.343448Z K 7 svn:log V 58 Force overwrite of gz file, to make NO_CLEAN builds work. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-15T05:41:43.685563Z K 7 svn:log V 92 Configure the peripheral pins for MCI devices. Eliminate the now-unused at91_pio_rm9200.h. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-07-15T05:49:02.616378Z K 7 svn:log V 210 The JP1082 device doesn't respond to the MII_BMSR command and it turns out that it has an unusable PHY. It still works, although very slowly, without a PHY, so I implemented non-PHY support in the udav driver. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-15T06:08:11.729211Z K 7 svn:log V 36 These were never used, remove them. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-15T10:19:43.300123Z K 7 svn:log V 890 sh: Expand assignment-like words specially for export/readonly/local. Examples: export x=~ now expands the tilde local y=$1 is now safe, even if $1 contains IFS characters or metacharacters. For a word to "look like an assignment", it must start with a name followed by an equals sign, none of which may be quoted. The special treatment applies when the first word (potentially after "command") is "export", "readonly" or "local". There may be quoting characters but no expansions. If "local" is overridden with a function there is no special treatment ("export" and "readonly" cannot be overridden with a function). If things like local arr=(1 2 3) are ever allowed in the future, they cannot call a "local" function. This would either be a run-time error or it would call the builtin. This matches Austin Group bug #351, planned for the next issue of POSIX.1. PR: bin/166771 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-15T10:22:13.819522Z K 7 svn:log V 47 sh: Add a simple test for the "local" builtin. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-15T10:49:16.881030Z K 7 svn:log V 38 sh: Remove unused variable in_dowait. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-15T10:53:48.740530Z K 7 svn:log V 2176 Import the DragonFly BSD commit 4f0bc915b65fcf5a23214f6d221d65c80be68ad4 by John Marino , with the following (edited) commit message Date: Sat, 24 Mar 2012 06:40:50 +0100 Subject: [PATCH 1/1] rtld: Implement DT_RUNPATH and -z nodefaultlib DT_RUNPATH is incorrectly being considered as an alias of DT_RPATH. The purpose of DT_RUNPATH is to have two different types of rpath: one that can be overridden by the environment variable LD_LIBRARY_PATH and one that can't. With the currently implementation, LD_LIBRARY_PATH will always trump any embedded rpath or runpath tags. Current path search order by rtld: ================================== LD_LIBRARY_PATH DT_RPATH / DT_RUNPATH (always the same) ldconfig hints file (default: /var/run/ld-elf.so.hints) /usr/lib New path search order by rtld: ============================== DT_RPATH of the calling object if no DT_RUNPATH DT_RPATH of the main binary if no DT_RUNPATH and binary isn't calling obj LD_LIBRARY_PATH DT_RUNPATH ldconfig hints file /usr/lib The new path search matches how the linux runtime loader works. The other major added feature is support for linker flag "-z nodefaultlib". When this flag is passed to the linker, rtld will skip all references to the standard library search path ("/usr/lib" in this case but it could handle more color delimited paths) except in DT_RPATH and DT_RUNPATH. New path search order by rtld with -z nodefaultlib flag set: ============================================================ DT_RPATH of the calling object if no DT_RUNPATH DT_RPATH of the main binary if no DT_RUNPATH and binary isn't calling obj LD_LIBRARY_PATH DT_RUNPATH ldconfig hints file (skips all references to /usr/lib) FreeBSD notes: - we fixed some bugs which were submitted to DragonFly and merged there as commit 1ff8a2bd3eb6e5587174c6a983303ea3a79e0002; - we added LD_LIBRARY_PATH_RPATH environment variable to switch to the previous behaviour of considering DT_RPATH a synonym for DT_RUNPATH; - the FreeBSD default search path is /lib:/usr/lib and not /usr/lib. Reviewed by: kan MFC after: 1 month MFC note: flip the ld_library_path_rpath default value for stable/9 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-15T10:54:10.885674Z K 7 svn:log V 441 Pass --enable-new-dtags to the linker invocation by default. If desired, one can turn off the generation of post-ELF standard dtags by overriding it with --disable-new-dtags after the default switch. Immediate effect of the change is that -rpath path is now stored both in DT_RPATH and DT_RUNPATH tags, which is the right way to provide rpath for dynamic linker supporting DT_RUNPATH per specification. Reviewed by: kan MFC after: 1 month END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-15T10:55:43.063244Z K 7 svn:log V 144 MFC: r237921 Similar to all.log, mention that /var/log/console.log has to be created and chmod'ed to make logging work. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-15T11:04:35.357936Z K 7 svn:log V 121 MFC: r237921 Similar to all.log, mention that /var/log/console.log has to be created and chmod'ed to make logging work. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-15T11:04:49.222547Z K 7 svn:log V 103 #ifdef INET and INET6 consistently. This also fixes a bug, where it was done wrong. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-15T11:13:09.400898Z K 7 svn:log V 208 MFC r238222: As mentioned in the commit message of r237571 (copied from a prototype patch of mine) also check if the 2nd in6_setscope() failed and return the error in that case. Approved by: re (kib) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-15T11:18:52.605562Z K 7 svn:log V 175 sh: Reset pendingsigs before checking pending traps, not after. Otherwise, a signal arriving at exactly the right moment might not be processed until another signal arrived. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-15T11:26:24.447714Z K 7 svn:log V 70 MFC: r234577 Remove duplicate -l description. Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-15T11:27:15.223634Z K 7 svn:log V 198 MFC r238248: Implement handling of "atomic fragements" as outlined in draft-gont-6man-ipv6-atomic-fragments to mitigate one class of possible fragmentation-based attacks. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-15T11:28:03.462970Z K 7 svn:log V 47 MFC: r234577 Remove duplicate -l description. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-15T11:39:35.581492Z K 7 svn:log V 261 MFH r236751: document sha256 / sha512 support MFH r236892: remove mention of auth.conf from programs that don't use it MFH r236963: remove dead code relating to auth.conf MFH r236965 r236966 r236967 r237005 r237006 r237011: retire auth.conf Approved by: re END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-07-15T11:39:56.341355Z K 7 svn:log V 227 MFC r237573: Add more locale-specific functions to the relevant man pages and Makefiles: - libc/stdtime/strftime.3 - libc/stdtime/strptime.3 - libc/stdlib/strfmon.3 Approved by: gabor (mentor) Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-15T11:52:24.398729Z K 7 svn:log V 110 Jump to the failed label instead of doing cleanup ourselves. Obtained from: DragonFly BSD MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-15T12:00:47.620677Z K 7 svn:log V 73 MFH r237269: switch default password hash to sha512. Approved by: re END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-15T12:13:15.736307Z K 7 svn:log V 82 MFH r237270: no need to specify passive mode, it is the default. Approved by: re END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-15T14:40:49.548831Z K 7 svn:log V 121 Fix typo in a message. Obtained from: DragonFly BSD (change 7a817ab191e4898404a9037c55850e47d177308c) MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-15T15:00:28.844894Z K 7 svn:log V 338 - Don't acquire the vnode locks in the vfs_hash_* functions with LK_RETRY as we cannot deal with reclaimed vnode. - insmntque() and vfs_hash_insert() vput() the source vnode in case of error, so we must not unlock there. - TODO: handle the case where there as an hash collision in vfs_hash_insert() Reported by: pho Tested by: pho END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-15T15:22:13.412703Z K 7 svn:log V 101 ps: Fix memory leak when showing start/lstart for swapped-out process. Spotted by: scan-build (uqs) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-15T15:22:18.503523Z K 7 svn:log V 36 Merge head r236710 through r238467. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-15T15:23:31.684794Z K 7 svn:log V 4 MFC END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-15T15:50:12.465328Z K 7 svn:log V 131 Save a bzero() by using M_ZERO. Obtained from: Dragonfly BSD (change 4faaf07c3d7ddd120deed007370aaf4d90b72ebb) MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-07-15T17:44:27.714637Z K 7 svn:log V 321 Permit changing MTU in 6to4 relay. This behavior is recommended by RFC 4213 clause 3.2. Sometimes fragmentation is the least evil. For example, some Linux IPVS kernels forwards ICMPv6 checksums to real servers incorrectly. Reviewed by: hrs(previous version) Approved by: kib(mentor) MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-07-15T18:12:09.772004Z K 7 svn:log V 58 Add new USB device ID. PR: usb/169789 MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-15T18:14:04.727324Z K 7 svn:log V 182 MFC r238222: As mentioned in the commit message of r237571 (copied from a prototype patch of mine) also check if the 2nd in6_setscope() failed and return the error in that case. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-15T18:20:09.378011Z K 7 svn:log V 175 MFC r238248: Implement handling of "atomic fragements" as outlined in draft-gont-6man-ipv6-atomic-fragments to mitigate one class of possible fragmentation-based attacks. END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-07-15T19:04:12.152766Z K 7 svn:log V 20 MFC as per r238495. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-07-15T19:05:58.999679Z K 7 svn:log V 41 MFC r230642: Remove trailing whitespace. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-15T19:10:00.956349Z K 7 svn:log V 46 Use M_NOWAIT while holding the pf giant lock. END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-07-15T19:32:02.100973Z K 7 svn:log V 207 Enable execution of callout from hw interrupt context rather than sw interrupt context for kern_nanosleep() and seltdwait(). This change improves precision for select()/poll()/usleep()/nanosleep() services. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-15T19:52:23.343245Z K 7 svn:log V 1538 Merge r237929, r237930 from head: ------------------------------------------------------------------------ r237929 | glebius | 2012-07-01 19:30:43 +0400 (вс, 01 июл 2012) | 6 lines In g_mirror_regular_request() upon successful delivery treat BIO_DELETE requests same way as BIO_WRITE removing them from queue. This fixes panic with BIO_DELETE operations on geom_mirror. Reviewed by: pjd ------------------------------------------------------------------------ r237930 | glebius | 2012-07-01 19:43:52 +0400 (вс, 01 июл 2012) | 20 lines Make geom_mirror more friendly to SSDs. To properly support TRIM, we need to pass BIO_DELETE requests down to providers that support it. Also, we need to announce our support for BIO_DELETE to upper consumer. This requires: - In g_mirror_start() return true for "GEOM::candelete" request. - In g_mirror_init_disk() probe below provider for "GEOM::candelete" attribute, and mark disk with a flag if it does support BIO_DELETE. - In g_mirror_register_request() distribute BIO_DELETE requests only to those disks, that do support it. Note that we announce "GEOM::candelete" as true unconditionally of whether we have TRIM-capable media down below or not. This is made intentionally, because upper consumer (usually UFS) requests the attribite only once at mount time. And if user ever migrates his mirror from HDDs to SSDs, then he/she would get TRIM working without remounting filesystem. Reviewed by: pjd Approved by: re (kib) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-15T20:16:17.538102Z K 7 svn:log V 91 Changes which improve compilation if neither INET nor INET6 is defined. MFC after: 3 days END K 10 svn:author V 3 mdf K 8 svn:date V 27 2012-07-15T20:29:48.340183Z K 7 svn:log V 429 Fix a bug with memguard(9) on 32-bit architectures without a VM_KMEM_MAX_SIZE. The code was not taking into account the size of the kernel_map, which the kmem_map is allocated from, so it could produce a sub-map size too large to fit. The simplest solution is to ignore VM_KMEM_MAX entirely and base the memguard map's size off the kernel_map's size, since this is always relevant and always smaller. Found by: Justin Hibbits END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-07-15T20:38:02.252390Z K 7 svn:log V 298 MFC r238168,238169: further dtrace disassembler fixes for long nop decoding - segment-override prefixes are not invalid in long mode - fix nopw (0f 1f) behavior with respect to modifiers Reported by: emaste Tested by: emaste Obtained from: Illumos commit 13442:4adbe6de60c8 Approved by: re (kib) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-15T20:39:21.891086Z K 7 svn:log V 53 libc: Remove some unused strings from getaddrinfo(). END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-07-15T20:40:10.772050Z K 7 svn:log V 276 MFC r238168,238169: further dtrace disassembler fixes for long nop decoding - segment-override prefixes are not invalid in long mode - fix nopw (0f 1f) behavior with respect to modifiers Reported by: emaste Tested by: emaste Obtained from: Illumos commit 13442:4adbe6de60c8 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-15T20:48:21.470565Z K 7 svn:log V 80 Log the number of handled decsriptors and valid descriptors when hitting RXEOL. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-15T20:51:41.882069Z K 7 svn:log V 259 Handle RX Keymiss events. The AR9003 series NICs implement a separate RX error to signal that a Keycache miss occured. The earlier NICs would not set the key index valid bit. I'll dig into the difference between "no key index bit set" and "keycache miss". END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-15T21:12:22.306577Z K 7 svn:log V 98 stty: Mark usage() __dead2. This reduces code size a little and should fix a scan-build warning. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-15T21:20:31.499667Z K 7 svn:log V 208 Use libc's strndup() instead of Dtrace's reimplementation. Corresponds partially to OpenSolaris change: PSARC 2010/299 GNU/Linux/BSD compatibility functions 6901783 strndup would be nice MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-15T21:46:19.706261Z K 7 svn:log V 151 Correct an off-by-one error in vm_reserv_alloc_contig() that resulted in the last reservation of a multi-reservation allocation not being initialized. END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-07-16T00:14:25.950757Z K 7 svn:log V 206 Make the interval timings for EVFILT_TIMER more accurate. Differently from what happens in HEAD, here we can take advantage of the new callout(9) KPI and of the better precision allowed. Reviewed by: mav END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-07-16T00:21:05.993512Z K 7 svn:log V 110 Refactor a comment in kern_clocksource.c to explain the need of an apparently duplicate check on event times. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-16T02:10:26.095544Z K 7 svn:log V 119 MFC r238328: Executing CPUID with EAX set to 1 to actually get feature flags. PR: 169730 Approved by: re (kib) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-16T06:43:04.858846Z K 7 svn:log V 147 Allow netstat to be build if INET is not defined in the kernel. Thanks to Garrett Cooper for reporting the issue. MFC after: 3 days X-MFC: 238501 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-07-16T06:56:46.328067Z K 7 svn:log V 258 MFC r237479, r238265 Finally fix lookup (account remaining '\0') and deletion (provide valid key length for radix lookup). Submitted by: Ihor Kaharlichenko (prev version) Approved by: kib(mentor) Sponsored by: Shtorm ISP END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-16T07:08:34.071884Z K 7 svn:log V 473 If ip_output() returns EMSGSIZE to tcp_output(), then the latter calls tcp_mtudisc(), which in its turn may call tcp_output(). Under certain conditions (must admit they are very special) an infinite recursion can happen. To avoid recursion we can pass struct route to ip_output() and obtain correct mtu. This allows us not to use tcp_mtudisc() but call tcp_mss_update() directly. PR: kern/155585 Submitted by: Andrey Zonov (original version of patch) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-16T07:22:22.648123Z K 7 svn:log V 175 MFC r238248: Implement handling of "atomic fragements" as outlined in draft-gont-6man-ipv6-atomic-fragments to mitigate one class of possible fragmentation-based attacks. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-16T08:06:13.851487Z K 7 svn:log V 61 Add userdisk_info structure to keep information about disks. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-16T08:13:30.524118Z K 7 svn:log V 176 Remove DISK_SECSIZE macro, since it is no longer needed. Also remove assumptions about 512-bytes sectorsize from the comments, we use sectorsize obtained from the disk driver. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-16T08:16:41.552030Z K 7 svn:log V 152 MFC r238281: We don't need to check the result of sending signal when R flag is specified. Submitted by: Ilya A. Arkhipov Approved by: re (kib) END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-16T08:17:30.644933Z K 7 svn:log V 129 MFC r238281: We don't need to check the result of sending signal when R flag is specified. Submitted by: Ilya A. Arkhipov END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-16T08:42:57.017341Z K 7 svn:log V 111 Restore assigning/clearing of pflogifs[] which was accidentially removed in r234307,r234640. Reported by: flo END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-16T08:48:44.303619Z K 7 svn:log V 31 Remove useless NPFLOG defines. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-16T08:55:26.774510Z K 7 svn:log V 44 Remove unused argument from PFLOG_PACKET(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-16T09:02:43.007260Z K 7 svn:log V 22 Remove unused struct. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-07-16T09:35:47.938597Z K 7 svn:log V 58 Add new USB device ID. PR: usb/169789 MFC after: 1 week END K 10 svn:author V 3 pgj K 8 svn:date V 27 2012-07-16T09:38:19.133040Z K 7 svn:log V 99 - Add support for displaying process stack memory regions. Approved by: rwatson MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-16T09:50:29.586350Z K 7 svn:log V 634 Minor tweaks/fixes ================== * Do not use variables where they are not needed * Do not duplicate the same test * Unset multiple variables with the same command instead of 2 * When deleting empty DISTDIR subdirs use -mindepth 1 so that it will not error out if the directory is totally empty. * Unset more stuff after it is no longer needed * Update some comments to match the current state of the code * Remove some stuff that cannot be reached any longer Performance enhancement ======================= * In read_distinfos*() use while read instead of grep. Avoids the fork and cuts the total time for that feature 25% END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-07-16T10:12:07.188100Z K 7 svn:log V 85 Add new USB device ID. PR: usb/169789 Submitted by: Ruslan Bukin MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-16T10:53:49.564562Z K 7 svn:log V 72 Remove some more unnecessary temporary variables related to pm_mktemp() END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-16T11:22:33.435194Z K 7 svn:log V 65 Preserve indents in the style of entire file. Requested by: avg END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-16T11:58:44.480862Z K 7 svn:log V 205 Turns out there are a non-zero number of distinfo files that have SIZE listed first, so in the code that parses them for the data to put into /var/db/pkg/$port/distfiles, handle this situation gracefully. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-16T16:50:28.568299Z K 7 svn:log V 131 Add back spare fields reused in r238213. According to Attilio, the rule is to use reuse spares only when MFC-ing, not in CURRENT. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-16T17:41:38.445320Z K 7 svn:log V 66 The resize GEOM event has no references, thus cannot be canceled. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-07-16T17:48:43.274282Z K 7 svn:log V 97 Add a script that traces NFS attribute cache accesses. Submitted by: rwatson MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-16T18:13:43.354372Z K 7 svn:log V 416 Various improvements to vm_contig_grow_cache(). Most notably, even when it can't sleep, it can still move clean pages from the inactive queue to the cache. Also, when a page is cached, there is no need to restart the scan. The "next" page pointer held by vm_contig_launder() is still valid. Finally, add a comment summarizing what vm_contig_grow_cache() does based upon the value of "tries". MFC after: 3 weeks END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-07-16T20:17:19.751459Z K 7 svn:log V 87 Add support for walltimestamp in DTrace. Submitted by: Fabian Keil MFC after: 2 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-16T20:43:28.477186Z K 7 svn:log V 79 Metaflush on/off values don't need quotes. Reviewed by: pjd MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-16T22:07:29.984258Z K 7 svn:log V 163 Simply error handling by moving the allocation of np down to where it is actually used. While here, improve style a little. Submitted by: mjg MFC after: 2 weeks END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-07-16T22:15:30.021547Z K 7 svn:log V 122 In ipfw(8), make the text about dynamic rules consistent. PR: docs/120539 Approved by: gabor (mentor) MFC after: 5 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-17T02:02:40.106135Z K 7 svn:log V 90 MFC r238328: Executing CPUID with EAX set to 1 to actually get feature flags. PR: 169730 END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-07-17T02:05:39.520571Z K 7 svn:log V 36 Put parenthesis around sizeof args. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-17T02:36:59.759299Z K 7 svn:log V 68 Correct vm_page_alloc_contig()'s implementation of VM_ALLOC_NODUMP. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-17T03:02:11.077982Z K 7 svn:log V 51 Convert to the busdma_sync API, previously missed. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-07-17T03:18:12.887544Z K 7 svn:log V 335 Move unmask IRQ function call up to nexus device level. FDT-enabled targets were broken after r238043 that relies on device up the hierarchy to properly setup interrupt. nexus device for ARM platforms did job only partially: setting handler but not unmasking interrupt. Unmasking was performed by platform code. Reviewed by: andrew@ END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-07-17T09:31:05.451506Z K 7 svn:log V 48 Remove trailing whitespace. MFC after: 2 weeks END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-07-17T09:34:52.324522Z K 7 svn:log V 231 Make sure that arraysz is initialized to a value larger than zero. arraysz could get initialized to zero on ZFS because ZFS reports directory sizes differently compared to UFS. PR: bin/169493 Tested by: swills MFC after: 2 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-17T11:18:39.361932Z K 7 svn:log V 210 MFC r238454: Bugfix: Send up a COMM UP notification for active 1-to-1 style sockets also in the case where the assoc comes up due to a remotely started handshake (collision case). Approved by: re@ END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-17T11:33:24.297319Z K 7 svn:log V 115 MFC r238458: Provide the correct notification type (SCTP_SEND_FAILED_EVENT) for unsent messages. Approved by: re@ END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-17T13:03:47.514481Z K 7 svn:log V 130 Fix a refcount bug when freeing an association. While there: Change code to be consistent. Discussed with rrs@. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-17T14:03:04.627731Z K 7 svn:log V 160 For Intel Panther/Lynx Point USB 3.0 xHCI controllers enable SuperSpeed USB capability and reroute USB 2.0 ports to the xHCI controller. Reviewed by: hselasky END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-07-17T14:36:40.820658Z K 7 svn:log V 81 Change UL to ULL since time is 32 bits. Pointed out by: avg@ MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-07-17T17:34:48.832041Z K 7 svn:log V 680 MFC the following revisions per request from gleb@: r197953: Add locking around access to parent node, and bail out when the parent node is already freed rather than panicking the system. r227822: Avoid panics from recursive rename operations. Not a perfect patch but good enough for now. r232959: Don't enforce LK_RETRY to get existing vnode in tmpfs_alloc_vp(). Doomed vnode is hardly of any use here, besides all callers handle error case. vfs_hash_get() does the same. Don't mess with vnode holdcount, vget() takes care of it already. r232960: Prevent tmpfs_rename() deadlock in a way similar to UFS Unlock vnodes and try to lock them one by one. Relookup fvp and tvp. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-07-17T18:04:34.690138Z K 7 svn:log V 589 MFC r238429: Pull in r159895 from upstream clang trunk: When marking virtual functions as used for a class' vtable, mark all functions which will appear in the vtable as used, not just those ones which were declared within the class itself. Fixes an issue reported as comment#3 in PR12763 -- we sometimes assert in codegen if we try to emit a reference to a function declaration which we've not marked as referenced. This also matches gcc's observed behavior. This should fix clang assertions when building certain components of the LibreOffice port. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-17T19:00:46.754797Z K 7 svn:log V 141 MFC r237203,r237223 (by phk): Fix writes to the video memory of the VGA to always use half-word sized writes. Approved by: re (hrs), phk END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-17T19:14:12.621790Z K 7 svn:log V 131 MFC r237203,r237223 (by phk): Fix writes to the video memory of the VGA to always use half-word sized writes. Approved by: phk END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-07-17T19:29:32.597069Z K 7 svn:log V 267 MFC r237479, r238265 Finally fix lookup (account remaining '\0') and deletion (provide valid key length for radix lookup). Submitted by: Ihor Kaharlichenko (prev version) Approved by: re(hrs), kib(mentor) Sponsored by: Shtorm ISP END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-17T19:57:34.741523Z K 7 svn:log V 458 Dtrace: improve handling of library paths. Merge changes from illumos 906 dtrace depends_on pragma should search all library paths, not just the current one 949 dtrace should only include the first instance of a library found on its library path Illumos Revisions: 13353:936a1e45726c 13354:2b2c36a81512 Reference: https://www.illumos.org/issues/906 https://www.illumos.org/issues/949 Tested by: Fabian Keil Obtained from: Illumos MFC after: 3 weeks END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-07-17T22:16:10.891835Z K 7 svn:log V 213 Add back spare fields consumed in r237545. It seems that these should only be consumed to maintain backward compatibility in stable, but should not be consumed in head. Submitted by: trasz, attilio (indirectly) END