ƒ·U251172 139 288 161 145 256 219 104 232 942 309 142 167 340 138 99 337 250 1352 99 980 189 132 414 300 712 294 149 161 326 212 1565 384 150 311 305 293 199 594 133 166 145 614 449 435 206 872 168 143 548 146 326 188 160 402 299 2407 226 1284 422 240 937 226 129 627 435 1849 568 1674 147 247 472 1814 118 532 188 1343 323 147 176 179 287 157 321 304 1626 271 295 183 180 185 120 190 123 1900 1787 136 141 170 145 166 154 136 444 171 609 466 339 220 178 997 198 482 215 361 578 261 216 165 163 173 190 148 326 422 141 996 499 143 160 129 165 143 178 178 149 168 332 332 157 171 K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-05-31T03:14:49.972629Z K 7 svn:log V 192 xpt_create_path() requires mfi_io_lock to be held, so do it. mfi(4) doesn't panic on host startup now. MFC this if svn 249468-242726 is shoveled back to stable/9 Obtained from: Yahoo! Inc. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-05-31T04:19:13.194112Z K 7 svn:log V 66 Allow building with clang (which is being really stupid here...). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-05-31T04:27:41.100122Z K 7 svn:log V 50 Different approach to making all compilers happy. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-05-31T04:43:19.944993Z K 7 svn:log V 161 Apply the ad* => ada* IDE device name transition to the Xen block front driver. Submitted by: Bei Guan Reviewed by: gibbs MFC after: 1 week END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-05-31T04:45:59.563195Z K 7 svn:log V 124 Make netif_free() safe to call on a partially initialized softc. Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-05-31T09:37:33.366958Z K 7 svn:log V 12 MFH@251176. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-05-31T11:41:01.711068Z K 7 svn:log V 139 MFC r250966: Fix the data corruption on the swap-backed md. Assign the rv variable a success code if the pager was not asked for the page. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-05-31T14:36:09.430796Z K 7 svn:log V 849 MFC 250219: Fix two bugs in the current NUMA-aware allocation code: - vm_phys_alloc_freelist_pages() can be called by vm_page_alloc_freelist() to allocate a page from a specific freelist. In the NUMA case it did not properly map the public VM_FREELIST_* constants to the correct backing freelists, nor did it try all NUMA domains for allocations from VM_FREELIST_DEFAULT. - vm_phys_alloc_pages() did not pin the thread and each call to vm_phys_alloc_freelist_pages() fetched the current domain to choose which freelist to use. If a thread migrated domains during the loop in vm_phys_alloc_pages() it could skip one of the freelists. If the other freelists were out of memory then it is possible that vm_phys_alloc_pages() would fail to allocate a page even though pages were available resulting in a panic in vm_page_alloc(). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-31T14:45:25.246402Z K 7 svn:log V 213 sh: Add test cases for break outside a loop. In most shells (including our sh), break outside a loop does nothing with status 0, or at least does not abort. Therefore, scripts sometimes (buggily) depend on this. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-31T14:48:37.080322Z K 7 svn:log V 47 fork(2): #include is not needed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-05-31T15:19:00.649022Z K 7 svn:log V 75 MFC 241611: Fix aha(4) build with i386 LINT (which includes 'device mca'). END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-05-31T16:00:42.297481Z K 7 svn:log V 247 Simplify the definition of vm_page_lock_assert(). There is no compelling reason to inline the implementation of vm_page_lock_assert() in the !KLD_MODULES case. Use the same implementation for both KLD_MODULES and !KLD_MODULES. Reviewed by: kib END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-05-31T16:15:22.221759Z K 7 svn:log V 46 Style fixes to vn_ioctl(). Suggested by: bde END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-05-31T17:01:53.383483Z K 7 svn:log V 4 MFC END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-05-31T17:23:38.473921Z K 7 svn:log V 243 Fix a long standing logic bug introduced in r167814. The code was added to get RSDP from loader(8) hint via kenv(2) but the bug nullified the new code and we always fell back to the previous method, i. e., sysctlbyname(3). MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-05-31T17:27:44.838412Z K 7 svn:log V 153 Explicitly use a pair of parentheses to ensure correct evaluation ordering for bitwise operation. Submitted by: swildner (DragonFly) MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-05-31T17:30:12.099112Z K 7 svn:log V 1255 Fix "automatic" login, broken by revision 69825 (12 years, 5 months ago). The "automatic" login feature is described as follows: The USER environment variable holds the name of the person telnetting in. This is the username of the person on the client machine. The traditional behaviour is to execute login(1) with this username first, meaning that login(1) will prompt for the password only. If login fails, login(1) will retry, but now prompt for the username before prompting for the password. This feature got broken by how the environment got scrubbed. Before the change in r69825 we removed variables that we deemed dangerous. Starting with r69825 we only keep those variable we know to be safe. The USER environment variable fell through the cracks. It suddenly got scrubbed (i.e. removed from the environment) while still being checked for. It also got explicitly removed from the environment to handle the failed login case. The fix is to obtain the value of the USER environment variable before we scrub the environment and used the "cached" in subsequent checks. This guarantees that the environment does not contain the USER variable in the end, while still being able to implement "automatic" login. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-05-31T18:27:21.391135Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-05-31T19:07:17.148753Z K 7 svn:log V 884 Improve portion of the dialog(1) API in dialog.subr responsible for calculating widget sizes. Instead of forking a sub-shell to calculate the optimum size for a widget, use a byRef style call-out to set variables in the parent namespace. For example, instead of: size=$( f_dialog_buttonbox_size title btitle msg ) $DIALOG --title title --backtitle btitle --msgbox msg $size The new API replaces the above with the following: f_dialog_buttonbox_size height width title btitle msg $DIALOG --title title --backtitle btitle --msgbox msg $height $width This reduces the number of forks, improves performance, and makes the code more readable by revealing the argument-order for widget sizing. It also makes performing minor adjustments to the calculated values easier as you no longer have to split-out the response (which required knowledge of ordering so was counter-intuitive). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-05-31T19:13:22.699464Z K 7 svn:log V 97 MFC 246805: Make VM_NDOMAIN a kernel option so that it can be enabled from a kernel config file. END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-05-31T20:07:26.506139Z K 7 svn:log V 41 Fix misspelling of structure field name. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-05-31T20:11:07.521386Z K 7 svn:log V 321 MFC r251066: Fix warnings from newer clang versions about constexpr member functions not being implicitly const in libc++'s header. The warnings have been introduced because of new language rules recently adopted by the C++ WG. More info: END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-31T20:46:08.224072Z K 7 svn:log V 204 fork(2): Add information about fork() in multi-threaded processes. There is nothing about pthread_atfork(3) or extensions like calling malloc(3) in the child process as this may be unreliable or broken. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-05-31T21:05:07.526568Z K 7 svn:log V 617 Style cleanups. No intended functional changes. o This driver is the "xbd" driver, not the "blkfront", "blkif", "xbf", or "xb" driver. Use the "xbd_" naming conventions for all functions, structures, and constants. o The prevailing convention for structure fields in this driver is to prefix them with an abreviation of the structure type. Update "recently added" fields to match this style. o Remove unused data structures. o Remove superfluous casts. o Make a pass over the whole driver and bring it closer to style(9) conformance. Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-31T21:25:51.094718Z K 7 svn:log V 198 sigaction(2): Extend description of async-signal safe functions: * Improve description when unsafe functions are unsafe. * Add various safe functions from POSIX.1-2008 and Austin Group issue #692. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-31T21:31:38.260653Z K 7 svn:log V 54 sigaction(2): *at system calls are async-signal safe. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-05-31T21:43:17.825977Z K 7 svn:log V 66 Add a "kern.features" MIB for 32bit support under a 64bit kernel. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-05-31T21:54:52.766130Z K 7 svn:log V 230 Disable the deferred raw transmit path until I figure out why it isn't working. It works when using ath(4), but not when using iwn(4). I'll dig deeper into it soon but I'd like to bring over some other changes before I do that. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-05-31T21:55:50.853674Z K 7 svn:log V 116 Add in the missing deferred transmit pieces - this adds support for an mbuf tag to contain the transmit parameters. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-05-31T22:07:28.122106Z K 7 svn:log V 1468 Bring over the initial cut of the "teach the PHY code about 11n" work. This gets a bit odd because the 11n rate representation and the basic rate representation involves the same bit (0x80) being set. In theory (hah!) the net80211 stack shouldn't ever have the MCS rates show up in code that's tinkering with legacy rates, but this won't hold true inside drivers. There's also the question of how one represents turbo mode rates (ie 108mbit) given it will exist with the basic rate bit set (as it will be represented as a value > 127.) So, the changes made: * Add in 11n aware rate tables, up to MCS23 * Modify the rate table setup code to not store basic rate entries, because doing so means we have an overlap between the basic rate tagged legacy rates (which have the 0x80 bit set) and the 11n rates (which, sadly, also have the 0x80 bit set.) * Add a routine to look up the rate table index given a rate value. Since it's for a legacy rate, we strip the basic rate bit. (The caller should do this anyway, so I may end up adding an assertion at some point to ensure this doesn't happen.) A few drivers implement some direct prodding of the net80211 rate table; something that we really should discourage. It also turns out that the rate table is global rather than per-VAP; again something that should be discouraged moving forward. A follow-up commit will fix the direct prodding of the net80211 rate table for rate code -> rate index lookups. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-05-31T22:08:25.761562Z K 7 svn:log V 288 Remove the direct fondling of the net80211 rate table; replace it with a method call. Since this is all legacy pre-11n rate fiddling, make sure we clear the basic rate bit before we do the lookup. Tested: * iwn(4) Not testeD: * RAL - I don't currently have any hardware for this. :( END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-31T22:09:31.905282Z K 7 svn:log V 55 dup(2): Clarify return value, in particular of dup2(). END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-05-31T22:21:37.859632Z K 7 svn:log V 216 Style cleanups. No intended functional changes. o Group functions by by their functionality. o Remove superfluous declarations. o Remove more unused (#ifdef'd out) code. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-05-31T22:23:17.647787Z K 7 svn:log V 209 Assert if the high bit in the passed in rate value is set for these routines. Since MCS rates will trip these routines up, let's just enforce for now that the caller strip out the high bit of any basic rate. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-05-31T22:33:28.551073Z K 7 svn:log V 198 Style changes. No intended functional changes. o rename flush_requests => xbd_flush_requests o rename xbd_setup_ring => xbd_alloc_ring Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-05-31T22:53:44.320263Z K 7 svn:log V 102 Apply vendor commit 654f1b3fc5, this is slight different from our version as discussed with upstream. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-31T22:54:20.435716Z K 7 svn:log V 498 test: Remove -ntXY and -otXY primaries. This reverts commit r247274. As maintainer of sh, I disapprove of this feature addition. It is too specific and can be done without easily using find(1) or stat(1). I will add some hints to the test(1) man page shortly. In general, FreeBSD sh is not the place to invent new shell language features. This is how it has been maintained and adding features randomly does not work with that. The new syntax (e.g. [ FILE1 -ntca FILE2 ]) looks cryptic to me. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-31T22:55:21.101780Z K 7 svn:log V 38 test(1): List non-standard primaries. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-05-31T22:55:23.963817Z K 7 svn:log V 70 MFV: Redo the fixup using the submitted version accepted by upstream. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-05-31T22:57:04.460023Z K 7 svn:log V 50 test(1): Add information about replacing -nt/-ot. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-01T01:02:24.505792Z K 7 svn:log V 521 GCC: bring back experimental support for amdfam10/barcelona CPUs. Initial support for the AMD amdfam10 chipsets has been available in the gcc43 branch under GPLv2. AMD and some linux distributions (OpenSUSE) did a backport of the amdfam10 support and made it available. This is a revised subset of the support initially brought in in r236962 and later reverted. The collateral efects seem to have disappeared but it is still recommended to set the CPUTYPE with caution. Reviewed by: jkim (ages ago) MFC after: 3 weeks END K 10 svn:author V 2 np K 8 svn:date V 27 2013-06-01T02:07:37.766053Z K 7 svn:log V 357 cxgbe(4): Some more debug sysctls. These work on both T4 and T5 based cards. dev.t5nex.0.misc.cim_ma_la: CIM MA logic analyzer dev.t5nex.0.misc.cim_pif_la: CIM PIF logic analyzer dev.t5nex.0.misc.mps_tcam: MPS TCAM entries dev.t5nex.0.misc.tp_la: TP logic analyzer dev.t5nex.0.misc.ulprx_la: ULPRX logic analyzer Obtained from: Chelsio MFC after: 1 week END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-06-01T04:02:51.500773Z K 7 svn:log V 340 sys/dev/xen/blkfront/blkfront.c: Remove local, and incorrect, definition for the value of an invalid grant reference. Extract ring cleanup code into xbd_free_ring() function for symetry with xbd_alloc_ring(). This process also eliminated an initialized but unused variable. Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-06-01T04:07:56.781381Z K 7 svn:log V 111 sys/dev/xen/blkfront/blkfront.c: Remove dead code. Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-06-01T08:07:09.082927Z K 7 svn:log V 780 Pull in r183033 and r183036 from LLVM trunk: Add support for optimized (non-generic) atomic libcalls. For integer types of sizes 1, 2, 4 and 8, libcompiler-rt (and libgcc) provide atomic functions that pass parameters by value and return results directly. libgcc and libcompiler-rt only provide optimized libcalls for __atomic_fetch_*, as generic libcalls on non-integer types would make little sense. This means that we can finally make __atomic_fetch_* work on architectures for which we don't provide these operations as builtins (e.g. ARM). This should fix the dreaded "cannot compile this atomic library call yet" error that would pop up once every while. This should make it possible for me to get C11 atomics working on all of our platforms. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-01T10:57:25.637415Z K 7 svn:log V 76 Document SA-12:01 to :08 and SA-13:02 to :05. Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-01T11:10:40.963963Z K 7 svn:log V 51 Trim copyright year. Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-01T11:14:35.167780Z K 7 svn:log V 455 Update relnotes item: kernel thread CPU affinity configuration bug fixed, run(4) Logitec LAN-W300NU2 support, IPv6 multi-FIB support, SO_PROTOCOL/SO_PROTOTYPE sockopt added, isci(4) more Intel C600 chip ids added, mpt(4) and mfi(4) attach conflict issue fixed, nullfs(5) panic fixed, rc.d scripts' ^T output goes to stderr, and tcsh updated to 6.18.01. Approved by: re (implicitly) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-01T11:31:09.714002Z K 7 svn:log V 54 Remove an unused macro we originally got from BSD/OS. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-01T11:42:47.615555Z K 7 svn:log V 230 Move an assertion to the right spot; only bus_dmamap_load_mbuf(9) requires a pkthdr being present but that's not the case for either _bus_dmamap_load_mbuf_sg() or bus_dmamap_load_mbuf_sg(9). Reported by: sbruno MFC after: 1 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2013-06-01T12:21:59.696409Z K 7 svn:log V 95 MFi386: revision 251039 Use slightly more idiomatic expression to get the address of array. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2013-06-01T12:27:48.481611Z K 7 svn:log V 67 MFi386: revision 245848 Always update the hw.uart.console hint. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-01T13:10:24.969520Z K 7 svn:log V 306 MFC: r249203 (partial) - Make ata_str2mode() static, it's not used outside of ata-all.c. - Move ata_timeout() to ata-all.c so we don't need to expose both this function and ata_cam_end_transaction() but only the former. - Move ata_cmd2str() from ata-queue.c to ata-all.c. - Add some missing prototypes. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-01T14:16:51.652285Z K 7 svn:log V 206 BFD: Use time_t instead of long for archive timestamps. This basically follows the suggestion in the binutils code and is more in line with what BSD ar(1) does. Obtained from: OpenBSD MFC after: 2 weeks. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-01T15:02:15.258552Z K 7 svn:log V 2313 Update relnotes item: vnet context bug fixed, dirty pages flushing issue fixed, pathname-only boot.config(5) problem fixed, UFS1 handling in boot loader on big endian platforms fixed, gptboot altlba handling changed, zfsboot -q option issue fixed, workaround for AMD CPU 10h/12h erratum 721 added, atkbdc(4) PNP0320 support added, cpufreq(4) frequency tuning calculation fixed, hwpmc(4) deadlock fixed, pci(4) HT-MSI mapping support, uart(4) serial over LAN on Intel 4 serries chipset support, usb(4) suspend handling improved, ale(4) link state handling improved, flow control support, bge(4) watchdog timeout issue fixed, if_ierrors handling fixed, cas(4),gem(4),hme(4) have been added to GENERIC for amd64/i386, fxp(4) extra media change issue fixed, iwn(4) Intel Centrino 6150 support, re(4)/rl(4) RTL8139 support improved, re(4) intermittent link up/down issue on RTL8169 fixed, rl(4) WoL support is disabled by default, run(4) firmware initinalization changed, run(4) updated to 0.236, sf(4) system load issue fixed, u3g(4) new Qualcomm modems added as supported devices, if_bridge(4) the number of forwarding cache entries bumped, ipfw(4) table arg improved, ipfw(4) net.inet.ip.fw.tables_max added, vlan(4) EUI64 part of an IPv6 address fixed, a panic in multicast routing on vimage kernel fixed, a panic in ng_patch(4) fixed, SCTP stack now supports ng_iface(4) and stf(4), SCTP stack now supports net.inet.udp.checksum sysctl for encap, new sysctl kern.features.ata_cam added, cam(4) now tries READ CAPACITY(16), isci(4) READ CAPACITY(16) bug fixed, PART_LDM geom class added, tmpfs(5) is not experimental anymore, xen(4) blkfront driver attach issue fixed, NFS stale name cache issue fixed, NFS nametimeo parameter added, daemon(8) -r, devfs(5) ruleset=number mount option and -u support added, libpmc more PMCs support, libradius rad_bind_to(3) added, libutil priority class capability bug fixed, pam_unix(8) passwordtime capability support, procstat(1) osreldate support, remquo(3) bug fixed, rtld(1) performance improved, sh(1) arithmetic expansion improved, unzip(1) -Z zfs list -t snapshot improved in performance, zfs get -t datatype added, ISC BIND 9.6-ESV-R6, tz2012a, and pkg_create(1) -p option improved. Approved by: re (implicitly) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-01T18:03:01.986776Z K 7 svn:log V 133 Revert: Use time_t instead of long for archive timestamps. Back out for now: this breaks the i386 build and requires some revision. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-01T19:07:03.626010Z K 7 svn:log V 1190 Update relnotes item: debug.kdb.breack_to_debugger, debug.kdb.alt_break_to_debugger added, kern.stop_scheduler_on_panic added, usb(4) multi-TT hub support, wbwd(4) added, bce(4) jumbo frame fixed, bce(4) remote PHYs support, iwn(4) Intel Centrino Wireless-N 100/130 support, igb(4) CPU binding on an SMP machine changed, ixgbe(4) TSO issue fixed, u3g(4) SIM5218 support, FIB handling improved: locking removal, net.fibs tunable, TCP host cache issue fixed, ATA_CAM compat shims added, da(4) subsequent BIO_DELETE request gathering, da(4) new device support, mfi(4) LSI MegaRAID SAS ThuderBolt support, GEOM_MULTIPATH improvements, GEOM_RAID DDF metadata support, NFS: a workaround for a non-FreeBSD server implemented, vfs.zfs.txg.timeout is now writable, dot.cshrc changed, fetch(1) percent-encoded user and password support, PROFIL_USE_PID variable for gprof profiling data generation, lastcomm(1) +format option added, libusb_get_max_iso_packet_size(3) added, pam_exec(8) return_prog_exit_status option added, setbuf(1) and libstdbuf library added, traceroute(8) bugfix, usbdump(8) filtering support, and usbhidctl(1) -z flag. Approved by: re (implicitly) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-01T20:32:34.490849Z K 7 svn:log V 329 Now that access to the page's "act_count" field is synchronized by the page lock instead of the object lock, there is no reason for vm_page_activate() to assert that the object is locked for either read or write access. (The "VPO_UNMANAGED" flag never changes after page allocation.) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-06-01T21:02:26.213443Z K 7 svn:log V 148 Move into sys/sys/. This will allow us to use C11 atomics in kernelspace, although it will need to be included as . END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-01T21:28:43.821113Z K 7 svn:log V 844 Update relnotes item: shm_map(9) and shm_unmap(9) added, sparc64 loader heap command, sparc64 zfsboot and zfsloader, amd64 extended FPU states and AVX, pcf8563(4) added, puc(4) Sun 1040 PCI Quad Serial support, snd_hda(4) updated, bce(4) IPMI fix, bge(4) bugfix, mxge(4) updated to 1.4.55, ral(4) RT2800/3000 support, if_bridge(4) duplicate ID issue fixed, linkstate and carp(4) support, net.link.bridge.* as loader tunables, IPv6 refcount fixes, if_lagg(4) lagghash option added, amr(4) bugfix, kern.cam.pmp.hide_special sysctl added, isci(4) bugfix, NFS over ZFS memory leak fixed, inetd(8) time handling fixed, procstat(1) and fstat(1) pathname for shared memory object support, ps(1) cow keyword added, zfs(8) send displays transmitted data size, and ISC BIND updated to 9.6-ESV-R7-P1. Approved by: re (implicitly) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-01T21:29:53.884597Z K 7 svn:log V 130 Fix a regression in the packages module introduced by recent r251190. I somehow neglected this module in merging that API change. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-01T22:12:53.969689Z K 7 svn:log V 34 Fix a typo introduced by r251190. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-01T22:16:43.328902Z K 7 svn:log V 534 Update relnotes item: zfsboot and zfsloader filesystem support in zpool, acpi(4) Processor object listing now uses MADT, uftdi(4) BeagleBone and egnite Turtelizer support, tap(4) VIMAGE support, ahci(4) Marvell 88SE9220/9230/9235 support, mps(4) updated to 14.00.00.01-fbsd, kdump(1) -p option, libedit updated to snapshot as of 2009/12/28, pciconf(8) -e option, sockstat(1) -j option, zfs(8) canmount property handling, netcat updated to OpenBSD 5.1, and OpenSSL updated to version 0.9.8x. Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-01T22:53:11.281381Z K 7 svn:log V 342 Update relnotes item: puc(4) Moxa PCIe multiport serial boards support, snd_emu10kx(4) on PAE kernel fixed, IPv6 atomic fragment handling, if_lagg(4) interface renaming issue fixed, ng_netflow(4) NetFlow version 9 support, mps(4) in GENERIC on sparc64 and powerpc, and procstat(1) superpage flag support. Approved by: re (implicitly) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-01T23:58:44.004258Z K 7 svn:log V 1752 Improve portion of the dialog(1) API in dialog.subr responsible for retrieving stored data (for the --menu, --calendar, --timebox, --checklist, and --radiolist widgets). When we (Ron McDowell and I) developed the first version of bsdconfig, it used temporary files to store responses from dialog(1). That hasn't been true for some very long time, so the need to always store the return status of dialog(1) and then call some function to clean-up is long-deprecated. The function that used to do the clean-up was f_dialog_menutag(). We really don't need f_dialog_menutag() for its originally designed purpose, as all dialog invocations (even when in a sub-shell) do not use temporary files anymore. However, we do need to keep f_dialog_menutag() around because it still fills the need of being able to abstract the procedure for fetching stored data provided by functions that display the aforementioned widgets. In re-designing f_dialog_menutag(), four important changes are made: 1. Rename f_dialog_menutag() to f_dialog_menutag_fetch() 2. Introduce the new first-argument of $var_to_set to reduce number of forks 3. Create a corresponding f_dialog_menutag_store() to abstract the storage 4. Offload the sanitization to a new function, f_dialog_data_sanitize() NOTE: That last one is important. Not all functions need to store their data for later fetching, meanwhile every invocation of dialog should be sanitized (as we learned early-on in the i18n-effort -- underlying libraries will spit warnings to stderr for bad values of $LANG and since dialog outputs its responses to stderr, we need to sanitize every response of these warnings). These changes greatly improve readbaility and also improve performance by reducing unnecessary forking. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-06-02T00:33:36.104508Z K 7 svn:log V 473 Port the SDT test now that it's possible to create SDT probes that take seven arguments. The original test uses Solaris' uadmin system call to trigger the test probe; this change adds a sysctl to the dtrace_test module and gets the test program to trigger the test probe via the sysctl handler. The test is currently failing on amd64 because of some bugs in the way that probe arguments beyond the first five are obtained - these bugs will be fixed in a separate change. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-06-02T01:05:36.908567Z K 7 svn:log V 1578 SDT probes can directly pass up to five arguments as arguments to dtrace_probe(). Arguments beyond these five must be obtained in an architecture-specific way; this can be done through the getargval provider method, and through dtrace_getarg() if getargval isn't overridden. This change fixes two off-by-one bugs in the way these arguments are fetched in FreeBSD's DTrace implementation. First, the SDT provider must set the aframes parameter to 1 when creating a probe. The aframes parameter controls the number of frames that dtrace_getarg() will step over in order to find the frame containing the extra arguments. On FreeBSD, dtrace_getarg() is called in SDT probe context via dtrace_probe()->dtrace_dif_emulate()->dtrace_dif_variable->dtrace_getarg() so aframes must be 3 since the arguments are in dtrace_probe()'s frame; it was previously being called with a value of 2 instead. illumos uses a different aframes value for SDT probes, but this is because illumos SDT probes fire by triggering the #UD fault handler rather than calling dtrace_probe() directly. The second bug has to do with the way arguments are grabbed out dtrace_probe()'s frame on amd64. The code currently jumps over the first stack argument and retrieves the rest of them using a pointer into the stack. This works on i386 because all of dtrace_probe()'s arguments will be on the stack and the first argument is the probe ID, which should be ignored. However, it is incorrect to ignore the first stack argument on amd64, so we correct the pointer used to access the arguments. MFC after: 2 weeks END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-06-02T01:07:38.881301Z K 7 svn:log V 53 This test is working now, so remove it from NOTWORK. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-06-02T01:10:49.529889Z K 7 svn:log V 152 We want to stat the archived log file rather than the logfile itself. PR: bin/179122 Submitted by: Oliver Fromme MFC after: 3 days END K 10 svn:author V 3 das K 8 svn:date V 27 2013-06-02T04:30:03.025422Z K 7 svn:log V 379 Factor out some common code from the libm tests. This is a bit messy because different tests have different ideas about what it means to be "close enough" to the right answer, depending on the properties of the function being tested. In the process, I fixed some warnings and added a few more 'volatile' hacks, which are sufficient to make all the tests pass at -O2 with clang. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T05:45:25.736779Z K 7 svn:log V 1717 Similar to r251236, improve the portion of dialog(1) API in dialog.subr responsible for retrieving stored input (for the --inputbox and --password widgets). When we (Ron McDowell and I) developed the first version of bsdconfig, it used temporary files to store responses from dialog(1). That hasn't been true for a very long time, so the need to always execute some clean-up function is long-deprecated. The function that used to perform these clean- up routines for these widgets was f_dialog_inputstr(). We really don't need f_dialog_inputstr() for its originally designed purpose as all dialog invocations no longer require temporary files. Just as in r251236, redesign f_dialog_inputstr() in the following four ways: 1. Rename f_dialog_inputstr() to f_dialog_inputstr_fetch() 2. Introduce the new first-argument of $var_to_set to reduce forking 3. Create a corresponding f_dialog_inputstr_store() to abstract storage 4. Offload the sanitization to a new function, f_dialog_line_sanitize() It should be noted that f_dialog_line_sanitize() -- unlike its cousin from SVN r251236, f_dialog_data_sanitize() -- trims leading/trailing whitespace from the user's input. This helps prevent errors and common mistakes caused by the fact that the new cdialog implementation allows the right-arrow cursor key to go beyond the last byte of realtime input (adding whitespace at the end of the typed value). While we're centralizing the sanitization, let's rewrite f_dialog_input() while we're here to likewise reduce forking. The f_dialog_input() function now expects the first argument of $var_to_set instead of producing results on standard-out. These changes greatly improve readability and also improve performance. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-06-02T05:57:45.686434Z K 7 svn:log V 21 Fix build for mambo. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T09:02:12.153797Z K 7 svn:log V 436 Improve the dialog(1) API in dialog.subr by adding f_dialog_default_store() and f_dialog_default_fetch(). Operating similar to functions introduced by SVN r251236 and r251242, these functions operate as a pair for helping track the default-item data (for the --menu, --checklist, and --radiolist widgets). This replaces the direct usage of a global to store the data with an abstract method for readability and to centralize the code. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-06-02T09:43:48.673877Z K 7 svn:log V 94 - Update Oleg Moskalenko's email address Requested by: Oleg Moskalenko END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-02T10:19:14.276881Z K 7 svn:log V 1249 Update relnotes item: F_DUP{,2}FD_CLOEXEC implemented for fcntl(2), filemon(4) added, kern.*siz writable sysctl, random(4) PADLOCK_RNG and RDRAND_RND, Danish keymap for MacBook added, uchcom(4) CH341/CH340 USB-Serial Bridge support, ukbd(4) Microsoft Natural Egronomic Keyboard 4000 issue fixed, uplcom(4) Motorola cable support, uslcom(4) CP2103/CP2104/CP2105 support, virtio drivers added, em(4), lem(4), igb(4) stat counter bugfix, ipheth(4) iPhone 5 support, arcmsr(4) updated to 1.20.00.25, hptiop(4) updated to 1.8, isci(4) SCSI UNMAP to ATA DSM translation, GEOM_RAID kern.geom.raid.* tunables, tws(4) updated to 10.80.00.005, NFS security configuration issue in exports(5) fixed, crontab(1) one second wait added, fetch(1) max number of HTTP redirections increased, fetch(1) 305 and 308 status code supported, make(1) :tu and :tl modifiers added, mv(1) -h added, ppp(8) lqr/echo issue fixed, ps(1) dsiz and ssiz keywords added, NO_FOO overrides WITH_FOO in src.conf, syslogd(8) IPv6 support in dest addr, top(1) ZFS ARC stats support, rc.d/jail jail_parameters variable added, ISC BIND 9.6-ESV-R7-P4, LESS v451, pkg(8) command added, and pkg_add(1) PACKAGESUFFIX support added. Approved by: re (implicitly) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-06-02T10:32:57.524740Z K 7 svn:log V 225 Correct some XHCI streams mode transfer handling found by code inspection. The existing streams mode support is not working and has not been tested due to lack of hardware which supports the given feature. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-06-02T10:35:08.439069Z K 7 svn:log V 52 Use LIST_EMPTY when appropriate. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-06-02T10:54:47.451426Z K 7 svn:log V 79 Don't set the start ISOC ASAP bit for non-isochronous TRBs. MFC after: 1 week END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-06-02T11:44:23.493312Z K 7 svn:log V 86 Convert old make variable modifiers :U and :L to bmake :tu and :tl. Reviewed by: sjg END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-06-02T11:58:31.447768Z K 7 svn:log V 189 Block event interrupts when we don't need it as soon as possible. Typically this feature is used for isochronous transfers. This reduces the amount of XHCI interrupting. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-06-02T12:00:16.149519Z K 7 svn:log V 60 Use the correct constant for 8000 IRQ/s. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-06-02T12:16:58.909438Z K 7 svn:log V 223 Correct TRB type for multi TRB transfers of non-NORMAL type, like isochronous. Only the first TRB should be markes as special. Subsequent ones should be marked as NORMAL. Optimise away TD first variable. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-06-02T12:28:29.962060Z K 7 svn:log V 206 Correct the TD size computation. npkt should reflect the number of packets remaining after the current TRB has been executed. Refer to section 4.11.2.4 of the XHCI specification for USB. MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-02T15:36:29.798388Z K 7 svn:log V 1532 Update relnotes item: comconsole_port and _pcidev loader variable, hw.broken_txfifo tunable, ule(4) SMT logical CPU selection improved, atkbdc(4) Synaptics touchpad v7.5, puc(4) more devices, syscons(4) mouse detach handling fixed, uart(4) more devices, virtio(4) in GENERIC, xhci(4) port routing, more devices, snd_uaudio(4) USB Audio v2.0, more devices, age(4) jumbo frame bugfix, bge(4) more devices, cxgbe(4) 1.8.4, em(4) 7.3.7 and lem(4) 2.3.9, ixgbe(4) 1.1.4, oce(4) 4.6.95.0, rl(4) more devices, u3g(4) more devices, bpf(4) performance improvement, IP_RECVTOS sockopt, net.inet.tcp.rexmit_drop_options added, arcmsr(4) 1.20.00.26, ata(4) more devices, ata(4) SATA revision tunables, kern.cam.da.da_send_ordered rename, hpt27xx(4) in GENERIC, mfi(4) hw.mfi.allow_cam_disk_passthrough, GEOM_RAID Intel RRT, GEOM_RAID BIO_DELETE support, linprocfs(5) /proc/filesystems, msdosfs(5) bugfix, ZFS SPA v5000, ZFS import bugfix, atrun(8) loadavg fix, chkgrp(8) -q flag, cut(1) -w flag, devd(8) ! operator, du(1) -g flag, workaround for CVE-2010-2632, ifconfig state for carp(4), inetd(8) listen queue fix, ip6addrctl(8) policy updated to RFC 6724, rarpd(8) -P flag, systat(1) fractional number support, tcpdrop(8) colon-separated list support, zfs(8) jail/unjail name/id support, service(8) -R flag, AWK 20121220, ISC BIND 9.8.4-P2, BZIP2 1.0.6, libexpat 2.1.0, netcat 5.2, OpenSSH 6.1, OpenSSL 0.9.8y, sendmail 8.14.7, tzdata2012j, and XZ 5.0.4. Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-02T15:47:22.223597Z K 7 svn:log V 178 Update description of logical CPU handling in the latest releases and remove obsolete sysctl variable machdep.hlt_logical_cpus. Pointed out by: mav Approved by: re (implicitly) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-02T16:18:03.636382Z K 7 svn:log V 202 Reduce the scope of the VM object locking in brelse(). In my tests, this change reduced the total number of VM object lock acquisitions by brelse() by 74%. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-02T16:21:02.776309Z K 7 svn:log V 91 - Remove an empty section. - Add version number of x11/kde4. Approved by: re (implicitly) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-06-02T16:54:42.430374Z K 7 svn:log V 88 Copy releng/8.4 to release/8.4.0 as part of the 8.4-RELEASE Approved by: re (jpaetzel) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-06-02T17:03:11.915017Z K 7 svn:log V 93 Since release/8.4.0 tag is created, make stable/8 -STABLE again. Approved by: re (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-06-02T17:55:00.801030Z K 7 svn:log V 25 Add 'static' where able. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-06-02T18:10:07.499668Z K 7 svn:log V 95 Correct check to see if file changes. Reported by: swildner@DragonFlyBSD.org Reviewed by: des END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-02T18:10:16.312738Z K 7 svn:log V 31 Remove unnecessary #include's. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T20:02:50.356203Z K 7 svn:log V 1803 Standardize the way functions build their arguments leading up to a dialog invocation. Specifically, "top-load" your arguments and in the order in- which they will be displayed. For example, many [if not all] widgets display information in the following order, top-to-bottom (visually): + backtitle (displayed behind the widget at top-left) + title (at the top of the `window') + prompt text (just below the title and above whatever widget you choose) + Depending on widget, _one_ of the following: - menu list - radio list - check list - text input box with initial text - [Xdialog(1)] 2x or 3x text input boxes - [dialog(1)] a multi-part form - progress bar - etc. (many more widget choices) + buttons (right below the selected widget) + [dialog(1)] the hline (displayed at bottom of `window') NOTE: Xdialog(1) accepts and silently ignores --hline When building local arguments for your dialog invocation, if the value can't be cleanly loaded into a local, add "# Calculated below" to the end of the local declaration while retaining the block order of argument declarations. Move other local declarations that are not associated with this top-loading the dialog arguments to right-above where they are first-used. Also, standardize on the names of the arguments. For example, always use $prompt (instead of sometimes $msg and sometimes $prompt); use $menu_list or $shell_list or $radio_list for those respective widgets; ad nauseum. While we're doing this, flush-out full arguments for many invocations that were passing NULL strings (making it unapparent if you were staring at this one invocation what argument that NULL string was supposed to represent). Last, while we're in startup/rcconf let's remove the unnecessary use of a GLOBAL (RCCONF_MENU_LIST) for the menu_list. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T22:04:39.928826Z K 7 svn:log V 1690 Fix option processing from the library layer to address unexpected behavior(s); e.g., `-Xd' versus `-dX' did not produce the same results. The libraries common.subr and dialog.subr automatically process the arguments passed to the program and enable/disable functionality without the need to process the arguments within your program. For example, if "$@" contains `-d', common.subr will see this and enable debugging regardless of whether you process "$@" yourself or not (this automatic processing can easily be disabled for custom scripts that don't want it; see the afore- mentioned scripts for additional details). NOTE: common.subr stores a copy of "$@" in $ARGV for convenient (and repeated) processing by libraries such as dialog.subr which provide such transparent functionality for the consuming script(s). However, the libraries don't know if a program wants to accept `extra' options. Flags are not really a problem, because the library can be programmed to silently ignore unknown flags. The trouble comes into play when the program wants to define an option that takes an argument. For example: bsdconfig -D logfile -X In the above example, the library uses getopts to process $ARGV and if it doesn't know that `-D' takes an argument, the option processing will prematurely terminate on `logfile' (this is standard/correct behavior for getopts but is undesired in our situation where we have partially off-loaded main argument processing). The problem is solved by allowing the program to define an extra set of options to be included in each library's handling of $ARGV. Only options that require arguments are truly necessary to be pre-specified in this new manner. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T22:34:40.204938Z K 7 svn:log V 41 Improvements to whitespace and comments. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T22:45:54.264983Z K 7 svn:log V 46 Make proper use of locals in f_dialog_init(). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T22:54:36.747423Z K 7 svn:log V 75 Use f_isset() (introduced by r250317) instead of `f_quietly f_getvar ...'. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:02:56.287662Z K 7 svn:log V 50 Standardize NULL initialization to be consistent. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:05:01.493382Z K 7 svn:log V 71 Make some obvious consolidations in local declaration for readability. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:06:33.949454Z K 7 svn:log V 59 Add some additional debugging to the common media library. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:08:21.041248Z K 7 svn:log V 41 Fix a copy/paste error within a comment. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:12:32.616484Z K 7 svn:log V 348 Change the name of a couple of functions in `usermgmt/user_input.subr' to make their purpose more clear by their names: f_dialog_input_change() and f_dialog_input_expire() Are now (respectively): f_dialog_input_expire_password() and f_dialog_input_expire_account() Upon revisit to this portion of code, the former names were too confusing. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:15:12.493282Z K 7 svn:log V 76 Fix a bug in which the user's choice to Cancel was not properly recognized. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:18:27.665941Z K 7 svn:log V 513 Fix a bug that would cause a spurious warning to appear to appear in an edge-case. The case was that you have been through the FTP setup once before and on the second time through, you cancel at the re-selection of a new FTP server. The spurious warning was "device_media: not found" and was caused because the underlying call to f_device_network_down() did not check to see if the network device existed before attempting to shut it down. Add checks to make sure we don't forge ahead unless the device exists. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:20:46.392053Z K 7 svn:log V 370 Fix a bug in which the user's choice to Cancel was not recognized. This was caused by the standard (and correct) behavior of the shell to discard the return status of lvalue-operands in a pipe-chain. The solution is to not pipe the file-acquisition directly into sort(1) but instead store the output (allowing immediate testing of the return status) and later sort it. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:23:29.998272Z K 7 svn:log V 243 Fix a typo. In this case, the typo caused the f_noyes() invocation to display a global instead of the passed-argument; however since the global always has the same value as the passed argument, it made no difference in the realtime operation. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-02T23:25:27.777031Z K 7 svn:log V 124 Like r250701, introduce another handy function for truncating variables to a specific byte-length. Works like vsnprintf(3). END K 10 svn:author V 5 brian K 8 svn:date V 27 2013-06-02T23:56:38.974688Z K 7 svn:log V 84 Move ppp.8.m4 back to ppp.8 and de-ifdef it. Requested by: joel MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-03T01:22:54.465754Z K 7 svn:log V 904 Require that the page lock is held, instead of the object lock, when clearing the page's PGA_REFERENCED flag. Since we are typically manipulating the page's act_count field when we are clearing its PGA_REFERENCED flag, the page lock is already held everywhere that we clear the PGA_REFERENCED flag. So, in fact, this revision only changes some comments and an assertion. Nonetheless, it will enable later changes to object locking in the pageout code. Introduce vm_page_assert_locked(), which completely hides the implementation details of the page lock from the caller, and use it in vm_page_aflag_clear(). (The existing vm_page_lock_assert() could not be used in vm_page_aflag_clear().) Over the coming weeks, I expect that we'll either eliminate or replace the various uses of vm_page_lock_assert() with vm_page_assert_locked(). Reviewed by: attilio Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:11:42.617797Z K 7 svn:log V 105 The vm_page lock is not needed around the call to vm_page_insert(). Submitted by: alc MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:16:48.450509Z K 7 svn:log V 389 When auto-sizing the buffer cache, limit the amount of physical memory used as the estimation of size, to 32GB. This provides around 100K of buffer headers and corresponding KVA for buffer map at the peak. Sizing the cache larger is not useful, also resulting in the wasting and exhausting of KVA for large machines. Reported and tested by: bdrewery Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:19:21.253228Z K 7 svn:log V 122 MFamd64: when printing the trap information, show the %esp value. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:22:42.897917Z K 7 svn:log V 268 Since the cause of the problems with the __fillcontextx() was identified, unify the code of check_deferred_signal() for all architectures, making the variant under #ifdef x86 common. Tested by: marius (sparc64) Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:32:53.782578Z K 7 svn:log V 485 Do not map the shared page COW. If the process wired its address space, fork(2) would cause shadowing of the physical object and copying of the shared page into private copy, effectively preventing updates for the exported timehands structure and stopping the clock. Specify the maximum allowed permissions for the page to be read and execute, preventing write from the user mode. Reported and tested by: Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:48:09.017878Z K 7 svn:log V 168 MFC r251033: When handling an exception from the attempt from loading the faulting context on return from the trap handler, re-enable the interrupts on i386 and amd64. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:50:21.907214Z K 7 svn:log V 123 MFC r251035: When reporting the fault details, also print %rsp.r251035: When reporting the fault details, also print %rsp. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:52:31.500189Z K 7 svn:log V 73 MFC r251037: The ia32_get_mcontext() does not need to set PCB_FULL_IRET. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:55:03.594275Z K 7 svn:log V 71 MFC r251038: Use _MC_IA32_HASFPXSTATE name instead of _MC_HASFPXSTATE. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:57:15.223843Z K 7 svn:log V 81 MFC r251039: Use slightly more idiomatic expression to get the address of array. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T04:58:12.999526Z K 7 svn:log V 98 MFC r251040: Partially apply the capitalization of the heading word of the sequence and fix typo. END K 10 svn:author V 3 das K 8 svn:date V 27 2013-06-03T09:14:31.781742Z K 7 svn:log V 56 Add logl, log2l, log10l, and log1pl. Submitted by: bde END K 10 svn:author V 3 das K 8 svn:date V 27 2013-06-03T09:15:15.642823Z K 7 svn:log V 233 Add more tests for log functions. A few are commented out because the long double versions don't pass yet. (They are rather nit-picky cases, so there's ongoing discussion with Bruce about whether it is worth the performance cost.) END K 10 svn:author V 3 das K 8 svn:date V 27 2013-06-03T09:33:51.478861Z K 7 svn:log V 329 Bump __FreeBSD_version for the addition of the following functions to libm: cacos, cacosf, cacosh, cacoshf, casin, casinf, casinh, casinhf, catan, catanf, catanh, catanhf, logl, log2l, log10l, log1pl I am hoping kargl@ will commit expl and expm1l soon, in which case this bump will cover those, too. Requested by: danfe END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-06-03T12:43:09.350835Z K 7 svn:log V 46 Switch to 2-clause license Approved by: bms@ END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-06-03T12:55:13.597301Z K 7 svn:log V 901 Allow drivers to specify a maximum TSO length in bytes if they are limited in the amount of data they can handle at once. Drivers can set ifp->if_hw_tsomax before calling ether_ifattach() to change the limit. The lowest allowable size is IP_MAXPACKET / 8 (8192 bytes) as anything less wouldn't be very useful anymore. The upper limit is still at IP_MAXPACKET (65536 bytes). Raising it requires further auditing of the IPv4/v6 code path's as the length field in the IP header would overflow leading to confusion in firewalls and others packet handler on the real size of the packet. The placement into "struct ifnet" is a bit hackish but the best place that was found. When the stack/driver boundary is updated it should be handled in a better way. Submitted by: cperciva (earlier version) Reviewed by: cperciva Tested by: cperciva MFC after: 1 week (using spare struct members to preserve ABI) END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-06-03T13:00:33.107910Z K 7 svn:log V 404 Specify a maximum TSO length limiting the segment chain to what the Xen host side can handle after defragmentation. This prevents the driver from throwing away too long TSO chains and improves the performance on Amazon AWS instances with 10GigE virtual interfaces to the normally expected throughput. Submitted by: cperciva (earlier version) Reviewed by: cperciva Tested by: cperciva MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-06-03T13:11:48.783936Z K 7 svn:log V 48 Switch to 2-clause license Approved by: luigi@ END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-03T14:33:10.147551Z K 7 svn:log V 68 MFC r246146: Format CDB output as 2 digit hex correcting the length END K 10 svn:author V 6 jasone K 8 svn:date V 27 2013-06-03T14:36:28.548001Z K 7 svn:log V 34 Update jemalloc to version 3.4.0. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-03T15:48:25.667582Z K 7 svn:log V 73 MFC r248922: Add the ability to enable / disable sorting of BIO requests END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-03T16:05:34.622867Z K 7 svn:log V 51 MFC r248992: Added ATA Pass-Through support to CAM END K 10 svn:author V 2 jh K 8 svn:date V 27 2013-06-03T16:09:23.605372Z K 7 svn:log V 87 MFC r250868: Remove an extra semicolon from the DOT language output. PR: kern/178540 END K 10 svn:author V 2 jh K 8 svn:date V 27 2013-06-03T16:10:30.801545Z K 7 svn:log V 87 MFC r250868: Remove an extra semicolon from the DOT language output. PR: kern/178540 END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-03T16:14:24.624521Z K 7 svn:log V 57 MFC r249929: Removed unneeded tests in dadeletemethodset END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-03T16:22:19.359948Z K 7 svn:log V 76 MFC r249930: Added a sysctl to control the maximum size of a delete request END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-03T16:46:37.601462Z K 7 svn:log V 238 MFC: r251186 Fix a long standing logic bug introduced in r167814. The code was added to get RSDP from loader(8) hint via kenv(2) but the bug nullified the new code and we always fell back to the previous method, i. e., sysctlbyname(3). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-03T16:47:46.987266Z K 7 svn:log V 238 MFC: r251186 Fix a long standing logic bug introduced in r167814. The code was added to get RSDP from loader(8) hint via kenv(2) but the bug nullified the new code and we always fell back to the previous method, i. e., sysctlbyname(3). END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-03T16:50:16.502408Z K 7 svn:log V 65 MFC r249931: Added Dataset Management defines to be used by TRIM END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-03T16:54:56.904910Z K 7 svn:log V 79 MFC r249933: Added the ability to send ATA identify and TRIM commands via SCSI END