summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update license.pfg2014-07-211-7/+2
| | | | | | NetBSD has removed the advertisement clause from this file. Obtained from: NetBSD (CVS rev. 1,8)
* Add re-entrant versions of the hash functions based on the GNU api.pfg2014-07-215-43/+171
| | | | | | | While testing this I found a conformance issue in hdestroy() that will be fixed in a subsequent commit. Obtained from: NetBSD (hcreate.c, CVS Rev. 1.7)
* Fixed fallout from previous change.pluknet2014-07-211-1/+1
|
* [mdoc] cleanuppluknet2014-07-211-13/+20
|
* Add the PCBGROUPS manpage.adrian2014-07-212-0/+229
| | | | Thanks to wblock for helping me with this manpage.
* Correct spelling errors in ctld.8. While here, correct similar errorswblock2014-07-202-10/+10
| | | | | | | | in ctl.conf.5 and fix a couple of contractions. PR: 191984 Submitted by: olgeni MFC after: 1 week
* Adjust errno on failed prepwrite.pfg2014-07-203-3/+10
| | | | | | Obtained from: Apple Inc. (Libc 997.90.3) Phabric: D442 MFC after: 1 week
* Add new device ID.hselasky2014-07-202-0/+2
| | | | | MFC after: 1 week PR: 191959
* Const-ify a character string.pfg2014-07-201-1/+1
| | | | | Obtained from: Apple Inc. (Libc 997.90.3) MFC after: 3 days
* sh: Allow arbitrarily large numbers in break and continue.jilles2014-07-203-1/+18
| | | | The argument is capped to loopnest, so strtol()'s [ERANGE] can be ignored.
* Use a correct errno in freopen.pfg2014-07-201-1/+1
| | | | | | | | | Use EBADF instead of EINVAL when working around incorrect O_ACCMODE. Phabric: D442 Obtained from: Apple Inc. (Libc 997.90.3) Reviewed by: jilles MFC after: 1 week
* In "procstat -v" (VM), spell out 'FL' to 'FLAG' since there are two extrarwatson2014-07-202-3/+3
| | | | | | | | | columns available anyway. Also left align as we tend to do for flags fields, although you can't see that currently as the string fully fills that available columns. MFC after: 3 days Sponsored by: DARPA, AFRL
* Update fflush(3) to return success on a read-only stream.pfg2014-07-201-9/+16
| | | | | | | | | | This has small changes to what Apple uses for compliance with SUSv3. The changes cause no secondary effects in the gnulib tests (we pass them). Obtained from: Apple Inc. (Libc 997.90.3 with changes) Reviewed by: bde Phabric: D440
* Fix the build when DTrace isn't enabled.markj2014-07-201-0/+2
| | | | | Reported by: stefanf X-MFC-With: r268600
* Fix build without INVARIANTS defined by getting rid of unused variable 'exc'.neel2014-07-201-2/+1
| | | | Reported by: adrian, stefanf
* Older versions of flex (like the one used in FreeBSD <= 9) expect thedes2014-07-201-1/+1
| | | | | | | | output file name to follow the -o flag immediately, with no intervening whitespace. Reported by: ian@ MFC after: 1 week
* sh: Remove prefix() function. Use strncmp() instead.jilles2014-07-204-18/+5
|
* Add the UDP hash -> RSS mbuf hash type for the ixgbe(4) driver.adrian2014-07-201-6/+9
|
* Teach ixgbe(4) about rss_gethashconfig().adrian2014-07-201-0/+30
| | | | | | | | | | | | | If RSS is enabled, ixgbe(4) will query the RSS API for the types of hashes which should be used. It'll then only enable hashes that are exposed via the RSS layer. This way it won't try to do things like enable UDP hashing if RSS explicitly states that it isn't supported in lookups. Tested: * 82599EB ixgbe(4) NIC
* Disable the ixgbe(4) UDP 4-tuple hashing for the time being.adrian2014-07-201-1/+11
| | | | | | | | | | A mix of fragmented and non-fragmented UDP in a single stream will end up being hashed differently, resulting in out-of-order behaviour in the receive path. This was done in the linux e1000 driver in 2011. Discussed with: jfv
* When it's time to do 4-tuple UDP IPv6 hashing, make sure this is a knownadrian2014-07-201-0/+2
| | | | type.
* Make the PCBGROUPS code aware of IPv4 UDP 4-tuple.adrian2014-07-201-0/+2
|
* Add hash awareness of the IPv4 and IPv6 UDP 4-tuple.adrian2014-07-201-0/+4
| | | | Note: it would be nice if the supported hash check would be used here!
* Implement rss_gethashconfig() - return the currently supported hash methodsadrian2014-07-202-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | by the stack. Right now the stack isn't really setup for RSS with 4-tuple UDP hashing for either IPv4 and IPv6. The specifics: * The UDP init path udp_init() and udplite_init() specify the hash as 2-tuple, so the PCBGROUPS code only tries a 2-tuple check; * The PCBGROUPS and RSS code doesn't know about the UDP hash types just yet, so they're never treated as valid hashes. * For correctness, 4-tuple can't be enabled in the general case because UDP datagrams can be more fragmented than IP datagrams may be. Strictly speaking, TCP datagrams may also be fragmented and this could cause issues with PCBGROUPS/RSS until the IP defragment path grows some code to re-calculate the RSS hash. I'll follow this commit up with awareness of the UDP 4-tuple for those who wish to configure it, but for now it'll stay disabled. No drivers (yet) know to use this function when RSS is enabled.
* Update the comment to be more concise.adrian2014-07-201-3/+2
|
* Correctly program the RSS redirection table entries.adrian2014-07-201-3/+9
| | | | | | | Without this, the RSS bucket assignments aren't correct - they're DCBA instead of ABCD in each DWORD. Tested: 82599EB ixgbe(4), TCP and UDP RSS
* Fix allocation of 128MB extended memory region, broken since some carelessnwhitehorn2014-07-201-8/+5
| | | | | | modifications in December. MFC after: 3 days
* Enable X11 via xf86-video-scfb on the Playstation 3. This commit made fromnwhitehorn2014-07-191-0/+3
| | | | an xterm running for the first time on said Playstation.
* Add dl_unwind_find_exidx() for ARM EABI, required for C++ exceptionian2014-07-195-1/+118
| | | | | | | | | | | | | | | | handling. For statically linked apps this uses the __exidx_start/end symbols set up by the linker. For dynamically linked apps it finds the shared object that contains the given address and returns the location and size of the exidx section in that shared object. The dl_unwind_find_exidx() name is used by other BSD projects and Android, and is mentioned in clang 3.5 comments as "the BSD interface" for finding exidx data. GCC (in libgcc_s) expects the exact same API and functionality to be provided by a function named __gnu_Unwind_Find_exidx(), so we provide that with an alias ("strong reference"). Reviewed by: kib@ MFC after: 1 week
* Add support for the "account" facility.des2014-07-192-5/+25
| | | | | PR: 115164 MFC after: 1 week
* Handle nested exceptions in bhyve.neel2014-07-1910-77/+424
| | | | | | | | | | | | | | | | A nested exception condition arises when a second exception is triggered while delivering the first exception. Most nested exceptions can be handled serially but some are converted into a double fault. If an exception is generated during delivery of a double fault then the virtual machine shuts down as a result of a triple fault. vm_exit_intinfo() is used to record that a VM-exit happened while an event was being delivered through the IDT. If an exception is triggered while handling the VM-exit it will be treated like a nested exception. vm_entry_intinfo() is used by processor-specific code to get the event to be injected into the guest on the next VM-entry. This function is responsible for deciding the disposition of nested exceptions.
* Check if the specified group is the user's primary group beforedes2014-07-191-6/+4
| | | | | | | | | | | iterating over the (possibly empty) list of members. Otherwise, we get a false negative when the target group has no members listed in /etc/group. This went mostly unnoticed because root is explicitly listed as a member of wheel, so the bug is never triggered in the most common use case, which is su(8). PR: 109416 MFC after: 1 week
* Clean up the libunbound build to avoid accidentally regenerating thedes2014-07-198-6217/+50
| | | | | | | | | configuration lexer and parser during buildworld. Instead of being included in the source as it is in the upstream distribution, the code is now always generated (in ${.OBJDIR}) at build time. PR: 190739 MFC after: 1 week
* Allow mappings of memory not previously direct-mapped by the kernel whennwhitehorn2014-07-192-17/+16
| | | | | | | | | | calling mmap on /dev/mem and add a handler for the possible userland machine checks that may result. Remove some pointless and wrong copy/paste that has been in here for a decade as well. This results in a /dev/mem with identical semantics to the x86 version. MFC after: 1 week
* Better align headers and data for 'procstat -f' with and without '-C'.rwatson2014-07-191-2/+3
| | | | | MFC after: 3 days Sponsored by: DARPA, AFRL
* Clean r268867.pfg2014-07-191-1/+1
| | | | Proposed by: bde
* Use -o (output to file) instead of -t (print to stdout) and a redirect.des2014-07-191-1/+1
| | | | MFC after: 1 week
* Merge libucl 20140718 (fixes a bug in the parser)bapt2014-07-193-0/+10
|\
| * Import libucl 20140718 (fixes a bug in the parser)bapt2014-07-193-0/+10
| |
* | sh: Deduplicate some code in ulimit builtin.jilles2014-07-191-27/+25
| |
* | Use a C wrapper for trap() instead of checking and calling the DTrace trapmarkj2014-07-194-24/+24
| | | | | | | | | | | | | | | | hook in assembly. Suggested by: kib Reviewed by: kib (original version) X-MFC-With: r268600
* | Use unsigned optlen in getsourcefilter()pfg2014-07-191-1/+2
| | | | | | | | | | | | | | | | Sizes can not be negative and the functions that use it expect an unsigned value anyways. Obtained from: Apple (Libc-997.90.3) MFC after: 1 week
* | r243637 changed the default number of nfsd threads created,rmacklem2014-07-191-2/+2
| | | | | | | | | | | | | | | | but the man page did not reflect this. This is a content change. Reported by: bde MFC after: 2 weeks
* | Reduce lock contention on the z_teardown_lock under heavily cacheddelphij2014-07-197-17/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | read workload by splitting the single teardown rrw lock into RRM_NUM_LOCKS (17) of them. Read acquisitions are randomly distributed among these locks based on curthread pointer. Write acquisitions are going to all the locks, which for the usage of this type of lock should be rare. Illumos issue: 5008 lock contention (rrw_exit) while running a read only load MFC after: 2 weeks
* | Document the need to regenerate the local_unbound configuration.des2014-07-191-0/+8
| |
* | Oops, forgot to bump manual date/copyright in r268860.dteske2014-07-181-2/+2
| | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10, stable/9, ports X-MFC-with: r268860
* | Add libsbuf.so.6 to obsolete libraries since it has been bumped to .so.7bapt2014-07-181-0/+2
| |
* | Improve timeout(1) man pagebapt2014-07-181-9/+53
| | | | | | | | | | | | | | | | | | | | Document the exit values and the duration format Improve wording Pet mandoc -Tlint Sort SEE ALSO Phabric: https://phabric.freebsd.org/D432 Reviewed by: wblock
* | Minor enhancements, bug fixes, and man-page adjustments.dteske2014-07-182-28/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Make `sysrc -x foo' produce error status if foo is unset. NB: Reported by lme (everything else ``while I'm at it'') + Remove mention of SYSRC_VERBOSE from `sysrc --help' output. NB: False documentation leftover from an ancient precursor. + Make `sysrc -qc foo' work the same as `sysrc -ic foo' when foo is unset NB: For syntax convenience (my fingers know `-q' more than `-i'). + Update description of `-c' flag in help message/manual. + Update description of `-q' flag in help message/manual. + Make `sysrc -vc foo' work as documented in the manual NB: Show message stating whether foo is currently set. + Make `sysrc -vc foo=1' work as documented in the manual NB: Show message stating how value of foo would be changed (if at all). + Remove odd usage of parentheses in `-R dir' section of manual. + Clarify syntax section of manual w/respect to sysctl(8) similarities. + Add new/missing people to the `THANKS TO' section of the manual. Reported by: lme MFC after: 3 days X-MFC-to: stable/10, stable/9, ports
* | MFV r268851:delphij2014-07-185-6/+44
| | | | | | | | | | | | | | | | | | | | | | When a sync task is waiting for a txg to complete, we should hurry it along by increasing the number of outstanding async writes (i.e. make vdev_queue_max_async_writes() return a larger number). Illumos issue: 4753 increase number of outstanding async writes when sync task is waiting MFC after: 2 weeks
OpenPOWER on IntegriCloud