summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* MFC r289913,r289916:ngie2015-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | r289913: Use 't' (bits) not 'i' (bytes) for describing MRIE (aka "Method of Reporting Informational Exceptions") in the SCSI mode database as the field described in X3T10/94-190 (revision 4; page 2, table 1) [1.] is 4 bits wide, not 4 bytes wide 1. http://ftp.t10.org/ftp/t10/document.94/94-190r4.pdf Bug 200619 Reported by: Michael Baptist <mbaptist@isilon.com> Submitted by: Lars Skodje <lskodje@isilon.com> Sponsored by: EMC / Isilon Storage Division r289916: Limit RESOLUTION_MAX to INT_MAX, not UINT_MAX (all spelled out) so the mode value isn't always clipped to -1 when (resolution * size) == 32, which would have been the case with values => {4i,32b,32t}. This seems to have been broken in r64382. PR: 200619 Reported by: Michael Baptist Submitted by: Lars Skodje Sponsored by: EMC / Isilon Storage Division
* MFC r289229:ngie2015-11-011-3/+3
| | | | | | | | | Replace references to /dev/acd0 with /dev/cd0 atapicd(4) was replaced by cd(4) with the atacam work done by mav@ and then removed in r249083 X-MFC to: stable/10
* MFC r289038,r289041:delphij2015-10-296-78/+78
| | | | | | | | | | | | | | | | | | | | | | | | | Add encoding for mime-types. Fix short month names and replace %b with %_m in date_fmt for Chinese locales. When using a Chinese locale, such as zh_TW.UTF-8 or zh_CN.UTF-8, nl_langinfo(ABMON_*) only returned numbers. For instance, nl_langinfo(ABMON_1) returns 1, nl_langinfo(ABMON_2) returns 2, and so on. This causes problems in applications that put the short month name and the day of the month together. For example, 'Apr 14' in English becomes '414日' in Chinese on the top bar of GNOME Shell. This problem may be resolved by appending '月' to all short month names and replacing %b with %_m in date_fmt. ja_JP.UTF-8 already does this, and this matches the en_US.ISO8859-1 behavior, which returns 'Oct'. The GNU C Library also returns values with '月' appended. PR: 199441 Submitted by: Ting-Wei Lan <lantw44 gmail com>
* MFC: r288419brueffer2015-10-261-5/+3
| | | | Join excessive split lines.
* Disable SSE in libthrvangyzen2015-10-261-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang emits SSE instructions on amd64 in the common path of pthread_mutex_unlock. If the thread does not otherwise use SSE, this usage incurs a context-switch of the FPU/SSE state, which reduces the performance of multiple real-world applications by a non-trivial amount (3-5% in one application). Instead of this change, I experimented with eagerly switching the FPU state at context-switch time. This did not help. Most of the cost seems to be in the read/write of memory--as kib@ stated--and not in the #NM handling. I tested on machines with and without XSAVEOPT. One counter-argument to this change is that most applications already use SIMD, and the number of applications and amount of SIMD usage are only increasing. This is absolutely true. I agree that--in general and in principle--this change is in the wrong direction. However, there are applications that do not use enough SSE to offset the extra context-switch cost. SSE does not provide a clear benefit in the current libthr code with the current compiler, but it does provide a clear loss in some cases. Therefore, disabling SSE in libthr is a non-loss for most, and a gain for some. I refrained from disabling SSE in libc--as was suggested--because I can't make the above argument for libc. It provides a wide variety of code; each case should be analyzed separately. https://lists.freebsd.org/pipermail/freebsd-current/2015-March/055193.html Suggestions from: dim, jmg, rpaulo Sponsored by: Dell Inc.
* MFC r289451:ngie2015-10-261-1/+1
| | | | | | | | | | | Install share/zoneinfo in a deterministic way by sorting the results from find This helps produce deterministic METALOG output PR: 200674 Submitted by: Fabian Keil <fk@fabiankeil.de> Reviewed by: emaste Obtained from: ElectroBSD
* MFC r288295,r288298:ngie2015-10-252-7/+0
| | | | | | | | | | | | | | | | r288295: Posthumously remove all references to MFREE(9) The macro was removed in r90227 Sponsored by: EMC / Isilon Storage Division r288298: Remove MLINKS to more non-existent mbuf(9) macros Sponsored by: EMC / Isilon Storage Division
* Regen src.conf(5) after r289959ngie2015-10-251-7/+2
|
* MFC r286822:ngie2015-10-251-1/+0
| | | | | | | Reap MK_SYSINSTALL It's no longer in use in the tree (most likely missed when sade/sysinstall were removed)
* MFC r284405:ngie2015-10-251-83/+1
| | | | | | Remove ALLOW_DEPRECATED_ATF_TOOLS/ATFFILE support from atf.test.mk The legacy atf tools were removed in atf 0.20
* MFC r289146:mav2015-10-251-11/+20
| | | | | | | | | Make delete method set via kern.cam.da.X.delete_method persistent. This allows to set delete method via tunable, before device capabilities are known. Also allow ZERO method for devices not reporting LBP, if user explicitly requests it -- it may be useful if storage supports compression and WRITE SAME, but does not support UNMAP.
* MFC r288273:hselasky2015-10-131-3/+4
| | | | | | Fix spelling. PR: 203249
* Revert r289043.bdrewery2015-10-081-4/+0
| | | | | r284408 was marked for MFC but is not safe for stable/10 yet due to failing in bin/sh/tests.
* MFC r288201:bdrewery2015-10-081-1/+1
| | | | Don't recurse with cleanobj.
* MFC r288160:bdrewery2015-10-082-2/+18
| | | | Document bsd.progs.mk and add more variables overrides.
* MFC r288158:bdrewery2015-10-083-25/+12
| | | | Fix most cases of bsd.progs.mk running duplicate or missing commands.
* Direct commit to fix usage with fmake.bdrewery2015-10-082-0/+13
| | | | | | fmake does not have :tW, so use some clever :Q tricks to achieve the same result. This won't work if PATH actually contains spaces, but it's better than not working at all.
* MFC r288271:bdrewery2015-10-082-0/+95
| | | | Document bus_get_resource(9).
* MFC r284408:bdrewery2015-10-081-0/+4
| | | | Ensure TESTSDIR is defined before bsd.test.mk is .include'd
* MFC r288179:bdrewery2015-10-081-0/+7
| | | | | Fix running make in src directories without a Makefile giving confusing errors.
* MFC r284915:hselasky2015-10-082-24/+78
| | | | | | | | | | | | | | | | | Make the system queue header file fully usable within C++ programs by adding macros to define class lists. This change is backwards compatible for all use within C and C++ programs. Only C++ programs will have added support to use the queue macros within classes. Previously the queue macros could only be used within structures. The queue.3 manual page has been updated to describe the new functionality and some alphabetic sorting has been done while at it. Differential Revision: https://reviews.freebsd.org/D2745 PR: 200827 (exp-run)
* MFC r288180:hselasky2015-10-081-2/+55
| | | | | | | | | Implement support for reading USB quirks from the kernel environment. Refer to the usb_quirk(4) manual page for more details on how to use this new feature. Submitted by: Maxime Soule <btik-fbsd@scoubidou.com> PR: 203249
* MFC r287821: Document NGM_PPPOE_SETMAXP.mav2015-10-061-2/+16
| | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov gmail.com>
* MFC r288310: Add to CTL initial support for CDROMs and removable devices.mav2015-10-051-2/+2
| | | | Relnotes: yes
* MFC r287707: CTL documentation update, mostly for HA.mav2015-10-051-4/+57
|
* MFC r281785vangyzen2015-10-021-1/+2
| | | | | | | | | | | | | | Always send log(9) messages to the message buffer. It is truer to the semantics of logging for messages to *always* go to the message buffer, where they can eventually be collected and, in fact, be put into a log file. This restores the behavior prior to r70239, which seems to have changed it inadvertently. Submitted by: Eric Badger <eric@badgerio.us> Obtained from: Dell Inc.
* MFC r288278:markj2015-09-301-1/+4
| | | | Document the interface for applying advice up to the end of a file.
* MFC r287978:bdrewery2015-09-291-1/+1
| | | | Fix LIBRARIES_ONLY
* MFC r286513, r286784alc2015-09-271-53/+76
| | | | | | | | | | | | | | | Revise the text about the atomicity of the defined operations across multiple processors. In particular, clearly state that the operations are always atomic when they are applied to the default memory type that is used by the kernel (and applications). Stop describing an acquire operation as a read barrier and a release operation as a write barrier. That description has never been correct, and it has caused confusion. Also, explicitly say that a thread doesn't see its own accesses being reordered. The reordering of a thread's accesses is only (potentially) visible to another thread.
* MFC r274349: Add /usr/lib/debug directory to hier(7)emaste2015-09-241-1/+3
| | | | | | The canonical standalone debug directory established by the GNU toolchain is /usr/lib/debug, and we use it when WITH_DEBUG_FILES is set. Mention it in the file system hierarchy page.
* MFC r287436:bdrewery2015-09-172-0/+8
| | | | Avoid sub-shell for realpath(1) for bmake by using its built-in :tA.
* MFC 287607:hrs2015-09-131-30/+1
| | | | | - Remove GIF_{SEND,ACCEPT}_REVETHIP. - Simplify EADDRNOTAVAIL and EAFNOSUPPORT conditions.
* MFC 272159,272161,272386,272446,272547,272548,273210:hrs2015-09-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make lagg protos a enum. - When reconfiguring protocol on a lagg, first set it to LAGG_PROTO_NONE, then drop lock, run the attach routines, and then set it to specific proto. This removes tons of WITNESS warnings. - Make lagg protocol attach handlers not failing and allocate memory with M_WAITOK. - Virtualize lagg(4) cloner. This change fixes a panic when tearing down if_lagg(4) interfaces which were cloned in a vnet jail. Sysctl nodes which are dynamically generated for each cloned interface (net.link.lagg.N.*) have been removed, and use_flowid and flowid_shift ifconfig(8) parameters have been added instead. Flags and per-interface statistics counters are displayed in "ifconfig -v". - Separate option handling from SIOC[SG]LAGG to SIOC[SG]LAGGOPTS for backward compatibility with old ifconfig(8). - Move L2 addr configuration for the primary port to a taskqueue. This fixes LOR of softc rmlock in iflladdr_event handlers. - Call if_delmulti_ifma() after LACP_UNLOCK(). This fixes another LOR. - Fix a panic in lacp_transit_expire(). - Fix a panic in lagg_input() upon shutting down a port. - Use printb() for boolean flags in ro_opts and actor_state for LACP. - Fix lladdr configuration which could prevent LACP mode from working. - Fix LORs when a laggport interface has an IPv6 LLA.
* MFC r287021:delphij2015-09-081-1/+1
| | | | Fix build when LEAPSECONDS is enabled.
* MFC r272282,r272363,r272383:bdrewery2015-08-312-2/+26
| | | | | | | | | | | | | | r272282: Search for the nearest PORTSDIR where Mk/bsd.ports.mk exists, from .CURDIR. This will only take effect if PORTSDIR is not set, as previously supported. r272363: Always resolve PORTSDIR to absolute paths using realpath(1). r272383: Revise r272363 by collapsing the tests into a for loop. Relnotes: yes
* MFC r286966:bdrewery2015-08-271-0/+1
| | | | Add link for rw_unlock(9) to rwlock(9).
* MFC r286701:ian2015-08-231-4/+10
| | | | | | | | | | | If a specific timecounter has been chosen via sysctl, and a new timecounter with higher quality registers (presumably in a module that has just been loaded), do not undo the user's choice by switching to the new timecounter. Document that behavior, and also the fact that there is no way to unregister a timecounter (and thus no way to unload a module containing one).
* MFC r286469, r286591, r286595, r286596, r286613:ian2015-08-231-1/+34
| | | | | | | | | | | | | | | | | Provide the tty-layer mutex when initializing the pps api. This allows time_pps_fetch() to be used in blocking mode. Allow the choice of PPS signal captured by uart(4) to be runtime-configured, eliminating the need to build a custom kernel to use the CTS signal. Correct the polarity of the PPS assert and clear events with respect to the electrical signals on the serial port. Document the change in polarity of the uart(4) PPS capture. Style fix -- do the braces for switches correctly. Relnotes: yes
* MFC r264394, r286382, r286385, r286389:ian2015-08-231-7/+64
| | | | | | | | | Add support to the uftdi driver for reading and writing the serial eeprom that can be attached to the chips, via ioctl() calls. Return the current ftdi bitbang mode with the UFTDIIOC_GET_BITMODE ioctl. Document the recently added get-bitmode and eeprom read/write functionality.
* MFC r280451:mav2015-08-224-47/+10
| | | | | | | Remove from legacy ata(4) driver support for hardware, supported by newer and more functional drivers ahci(4), siis(4) and mvs(4). This removes about 3400 lines of code, unused since FreeBSD 9.0 release.
* MFC: r286805bapt2015-08-221-1897/+7660
| | | | Update to use the latest version of the PCI IDs Repository.
* MFC r286516: Document kern.cam.ctl.debug sysctl.mav2015-08-161-1/+12
|
* MFC r273081sbruno2015-08-121-9/+17
| | | | | | | | | | | brueffer: New sentence -> new line; use macros where appropriate. MFC r276345 Mikhail <mp@lenta.ru Correct naming of sysctl pmtud_blackhole_activated_min_mss. Clarify some statements around PMTUD blackhole detection to make the behavior more clear in the man page.
* MFC r284611:delphij2015-08-033-13/+15
| | | | Fix markups and change e.g./eg. to e.g.,.
* MFC r284607:delphij2015-08-031-5/+15
| | | | Document kern.cam.ada.legacy_aliases, while I'm there also fix some typos.
* MFC r285873:trasz2015-08-0211-98/+11
| | | | | | | Update Capsicum and Mandatory Access Control manual pages to no longer claim they are experimental. Sponsored by: The FreeBSD Foundation
* MFC r285676:trasz2015-08-022-3/+11
| | | | | | Expand sysctl descriptions in iscsi(4) and ctl(4). Sponsored by: The FreeBSD Foundation
* MFC r285100:trasz2015-08-021-2/+2
| | | | | | Make ctl(4) appear in "man -k iscsi" results. Sponsored by: The FreeBSD Foundation
* MFC r284682:trasz2015-08-022-5/+17
| | | | | | Expand sysctls descriptions for iscsi(4) and ctl(4). Sponsored by: The FreeBSD Foundation
* MFC r283286:trasz2015-08-021-1/+17
| | | | | | Start documenting ctl(4) sysctls. Differential Revision: The FreeBSD Foundation
OpenPOWER on IntegriCloud