]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
6 years agoRemove infrastructure for token-ring networks.
brooks [Wed, 28 Mar 2018 23:33:26 +0000 (23:33 +0000)]
Remove infrastructure for token-ring networks.

Reviewed by: cem, imp, jhb, jmallett
Relnotes: yes
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14875

6 years agoMFV r331712:
mav [Wed, 28 Mar 2018 23:17:29 +0000 (23:17 +0000)]
MFV r331712:
9280 Assertion failure while running removal_with_ganging test with 4K devices

illumos/illumos-gate@243952c7eeef020886e3e2e3df99a513df40584a

Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: Matt Ahrens <Matt.Ahrens@delphix.com>

6 years agoMFV 331710:
mav [Wed, 28 Mar 2018 23:05:48 +0000 (23:05 +0000)]
MFV 331710:
9188 increase size of dbuf cache to reduce indirect block decompression

illumos/illumos-gate@268bbb2a2fa79c36d4695d13a595ba50a7754b76

With compressed ARC (6950) we use up to 25% of our CPU to decompress indirect
blocks, under a workload of random cached reads. To reduce this decompression
cost, we would like to increase the size of the dbuf cache so that more
indirect blocks can be stored uncompressed.

If we are caching entire large files of recordsize=8K, the indirect blocks
use 1/64th as much memory as the data blocks (assuming they have the same
compression ratio). We suggest making the dbuf cache be 1/32nd of all memory,
so that in this scenario we should be able to keep all the indirect blocks
decompressed in the dbuf cache. (We want it to be more than the 1/64th that
the indirect blocks would use because we need to cache other stuff in the
dbuf cache as well.)

In real world workloads, this won't help as dramatically as the example
above, but we think it's still worth it because the risk of decreasing
performance is low. The potential negative performance impact is that we
will be slightly reducing the size of the ARC (by ~3%).

Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Prashanth Sreenivasa <pks@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Allan Jude <allanjude@freebsd.org>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: George Wilson <george.wilson@delphix.com>

6 years agoMFV r331708:
mav [Wed, 28 Mar 2018 22:50:05 +0000 (22:50 +0000)]
MFV r331708:
9321 arc_loan_compressed_buf() can increment arc_loaned_bytes by the wrong value

illumos/illumos-gate@9be12bd737714550277bd02b0c693db560976990

arc_loan_compressed_buf() increments arc_loaned_bytes by psize unconditionally
In the case of zfs_compressed_arc_enabled=0, when the buf is returned via
arc_return_buf(), if ARC_BUF_COMPRESSED(buf) is false, then arc_loaned_bytes
is decremented by lsize, not psize.

Switch to using arc_buf_size(buf), instead of psize, which will return
psize or lsize, depending on the result of ARC_BUF_COMPRESSED(buf).

Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: Allan Jude <allanjude@freebsd.org>

6 years agoMFV r331706:
mav [Wed, 28 Mar 2018 22:29:11 +0000 (22:29 +0000)]
MFV r331706:
9235 rename zpool_rewind_policy_t to zpool_load_policy_t

illumos/illumos-gate@5dafeea3ebd2dd77affc802bcb90f63faf01589f

We want to be able to pass various settings during import/open of a pool,
which are not only related to rewind. Instead of adding a new policy and
duplicate a bunch of code, we should just rename rewind_policy to a more
generic term like load_policy.

For instance, we'd like to set spa->spa_import_flags from the nvlist,
rather from a flags parameter passed to spa_import as in some cases we want
those flags not only for the import case, but also for the open case. One
such flag could be ZFS_IMPORT_MISSING_LOG (as used in zdb) which would
allow zfs to open a pool when logs are missing.

Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Pavel Zakharov <pavel.zakharov@delphix.com>

6 years agoMFV 331704:
mav [Wed, 28 Mar 2018 22:10:06 +0000 (22:10 +0000)]
MFV 331704:
9191 dump vdev tree to zfs_dbgmsg when spa load fails due to missing log devices

illumos/illumos-gate@ccef24b493bcbd146fcd6d8946666cae081470b6

Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matt Ahrens <matt@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Pavel Zakharov <pavel.zakharov@delphix.com>

6 years agoMFV 331702:
mav [Wed, 28 Mar 2018 22:07:31 +0000 (22:07 +0000)]
MFV 331702:
9187 racing condition between vdev label and spa_last_synced_txg in vdev_validate

illumos/illumos-gate@d1de72cfa29ab77ff80e2bb0e668a6afa5bccaf0

ztest failed with uncorrectable IO error despite having the fix for #7163.
Both sides of the mirror have CANT_OPEN_BAD_LABEL, which also distinguishes
it from that issue.

Definitely seems like a racing condition between the vdev_validate and spa_sync:
1. Thread A (spa_sync): vdev label is updated to latest txg
2. Thread B (vdev_validate): vdev label's txg is compared to spa_last_synced_txg and is ahead.
3. Thread A (spa_sync): spa_last_synced_txg is updated to latest txg.

Solution: do not check txg in vdev_validate unless config lock is held.

Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Pavel Zakharov <pavel.zakharov@delphix.com>

6 years agoMFV r331695, 331700: 9166 zfs storage pool checkpoint
mav [Wed, 28 Mar 2018 22:01:27 +0000 (22:01 +0000)]
MFV r331695, 331700: 9166 zfs storage pool checkpoint

illumos/illumos-gate@8671400134a11c848244896ca51a7db4d0f69da4

The idea of Storage Pool Checkpoint (aka zpool checkpoint) deals with
exactly that.  It can be thought of as a “pool-wide snapshot” (or a
variation of extreme rewind that doesn’t corrupt your data).  It remembers
the entire state of the pool at the point that it was taken and the user
can revert back to it later or discard it.  Its generic use case is an
administrator that is about to perform a set of destructive actions to ZFS
as part of a critical procedure.  She takes a checkpoint of the pool before
performing the actions, then rewinds back to it if one of them fails or puts
the pool into an unexpected state.  Otherwise, she discards it.  With the
assumption that no one else is making modifications to ZFS, she basically
wraps all these actions into a “high-level transaction”.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>

6 years agoAdd files missed from r331695.
mav [Wed, 28 Mar 2018 21:00:34 +0000 (21:00 +0000)]
Add files missed from r331695.

6 years agoPartial MFV r329753:
mav [Wed, 28 Mar 2018 20:41:15 +0000 (20:41 +0000)]
Partial MFV r329753:
8809 libzpool should leverage work done in libfakekernel

illumos/illumos-gate@f06dce2c1f0f3af78581e7574f65bfba843ddb6e

Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Andrew Stormont <astormont@racktopsystems.com>

We do not have libfakekernel, but need to reduce code divergence.

6 years agoRestore r331606 with a bugfix to setup cpuset_domain[] earlier on all
jeff [Wed, 28 Mar 2018 18:47:35 +0000 (18:47 +0000)]
Restore r331606 with a bugfix to setup cpuset_domain[] earlier on all
platforms.  Original commit message as follows:

Only use CPUs in the domain the device is attached to for default
assignment.  Device drivers are able to override the default assignment
if they bind directly.  There are severe performance penalties for
handling interrupts on remote CPUs and this should only be done in
very controlled circumstances.

Reviewed by:    jhb, kib
Tested by:      pho
Sponsored by:   Netflix, Dell/EMC Isilon
Differential Revision:  https://reviews.freebsd.org/D14838

6 years agoAdd an example for building SD card images for the RPI-B and
gjb [Wed, 28 Mar 2018 18:43:06 +0000 (18:43 +0000)]
Add an example for building SD card images for the RPI-B and
RPI3.

MFC after: 3 days
Suggested by: Arshan Khanifar
Reviewed by: Arshan Khanifar <arshan@freebsdfoundation.org>
Sponsored by: The FreeBSD Foundation

6 years agoUpdate the Release Engineering article URL to the modern version.
gjb [Wed, 28 Mar 2018 18:28:27 +0000 (18:28 +0000)]
Update the Release Engineering article URL to the modern version.

MFC after: 3 days
Sponsored by: The FreeBSD Foundation

6 years ago9166 zfs storage pool checkpoint
mav [Wed, 28 Mar 2018 18:12:06 +0000 (18:12 +0000)]
9166 zfs storage pool checkpoint

illumos/illumos-gate@8671400134a11c848244896ca51a7db4d0f69da4

The idea of Storage Pool Checkpoint (aka zpool checkpoint) deals with
exactly that.  It can be thought of as a “pool-wide snapshot” (or a
variation of extreme rewind that doesn’t corrupt your data).  It remembers
the entire state of the pool at the point that it was taken and the user
can revert back to it later or discard it.  Its generic use case is an
administrator that is about to perform a set of destructive actions to ZFS
as part of a critical procedure.  She takes a checkpoint of the pool before
performing the actions, then rewinds back to it if one of them fails or puts
the pool into an unexpected state.  Otherwise, she discards it.  With the
assumption that no one else is making modifications to ZFS, she basically
wraps all these actions into a “high-level transaction”.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>

6 years agoSwap two instances of regular macros with function macros in the LinuxKPI,
hselasky [Wed, 28 Mar 2018 17:54:34 +0000 (17:54 +0000)]
Swap two instances of regular macros with function macros in the LinuxKPI,
to narrow down the substitution scope.

MFC after: 1 week
Sponsored by: Mellanox Technologies

6 years agoFix for regression issue in USB keyboard driver after r304735.
hselasky [Wed, 28 Mar 2018 17:39:23 +0000 (17:39 +0000)]
Fix for regression issue in USB keyboard driver after r304735.

A series of zero delay callouts can happen causing high CPU usage of the
timer subsystem when trying to repeat keys, because the time of the
absolute timeout is not moving forward. The condition clears when all
keys are released.

Reported by: Johannes Lundberg <johalun0@gmail.com>
Discussed with: bde@
PR: 226968
MFC after: 1 week
Sponsored by: Mellanox Technologies

6 years agoExpand remaining instances of 'make kernel' to buildkernel + installkernel.
jhb [Wed, 28 Mar 2018 16:51:05 +0000 (16:51 +0000)]
Expand remaining instances of 'make kernel' to buildkernel + installkernel.

The 'kernel' target is a bit more obscure compared to buildkernel and
installkernel.  One instance was already expanded previously in r325097.

6 years agoAvoid looping if SYSDIR already known.
bdrewery [Wed, 28 Mar 2018 16:28:24 +0000 (16:28 +0000)]
Avoid looping if SYSDIR already known.

Sponsored by: Dell EMC

6 years agoAvoid upwards directory walk in kernel build for finding known SYSDIR.
bdrewery [Wed, 28 Mar 2018 16:28:20 +0000 (16:28 +0000)]
Avoid upwards directory walk in kernel build for finding known SYSDIR.

Sponsored by: Dell EMC

6 years agoFix kernel builds without options DDB after r331650.
jhb [Wed, 28 Mar 2018 16:24:56 +0000 (16:24 +0000)]
Fix kernel builds without options DDB after r331650.

Reported by: cy

6 years agoRework ipfw rules parsing and printing code.
ae [Wed, 28 Mar 2018 12:44:28 +0000 (12:44 +0000)]
Rework ipfw rules parsing and printing code.

Introduce show_state structure to keep information about printed opcodes.
Split show_static_rule() function into several smaller functions. Make
parsing and printing opcodes into several passes. Each printed opcode
is marked in show_state structure and will be skipped in next passes.
Now show_static_rule() function is simple, it just prints each part
of rule separately: action, modifiers, proto, src and dst addresses,
options. The main goal of this change is avoiding occurrence of wrong
result of `ifpw show` command, that can not be parsed by ipfw(8).
Also now it is possible to make some simple static optimizations
by reordering of opcodes in the rule.

PR: 222705
Discussed with: melifaro
MFC after: 2 weeks
Sponsored by: Yandex LLC

6 years agoZFS vn_rele_async: catch up with the use of refcount(9) for the vnode use count
avg [Wed, 28 Mar 2018 08:55:31 +0000 (08:55 +0000)]
ZFS vn_rele_async: catch up with the use of refcount(9) for the vnode use count

It's not sufficient nor required to use the vnode interlock when
checking if we are going to drop the last use count as the code in
vputx() uses refcount (atomic) operations for both checking and
decrementing the use code.  Apply the same method to vn_rele_async().
While here, remove vn_rele_inactive(), a wrapper around vrele() that
didn't add any value.

Also, the change required making vfs_refcount_release_if_not_last()
public.  I've made vfs_refcount_acquire_if_not_zero() public as well.
They are in sys/refcount.h now.  While making the move I've dropped the
vfs_ prefix.

Reviewed by: mjg
MFC after: 2 weeks
Sponsored by: Panzura
Differential Revision: https://reviews.freebsd.org/D14869

6 years ago[iwm] Add support for iwm 3168 cards
eadler [Wed, 28 Mar 2018 07:59:16 +0000 (07:59 +0000)]
[iwm] Add support for iwm 3168 cards

```
iwm0@pci0:5:0:0:        class=0x028000 card=0x21108086 chip=0x24fb8086
rev=0x10 hdr=0x00
vendor     = 'Intel Corporation'
device     = 'Dual Band Wireless-AC 3168NGW [Stone Peak]'
class      = network
[94829] iwm0: <Intel(R) Dual Band Wireless AC 3168> mem
0xef700000-0xef701fff at device 0.0 on pci5
[94829] iwm0: hw rev 0x220, fw ver 22.361476.0, address
28:c6:3f:15:43:c5
```

MFC After: 2 weeks
Reviewed by: ivadasz (over IRC)
PR: 224886
Differential Revision: https://reviews.freebsd.org/D14865

6 years agoAdd Bruce Evans
rgrimes [Wed, 28 Mar 2018 07:49:36 +0000 (07:49 +0000)]
Add Bruce Evans
Update my mentors to bde and phk

Approved by: core, bde (mentor), phk (mentor)
MFC after: 3 days

6 years agoseq: provide a comment explaining what seq is for and note 2 caveats
mjg [Wed, 28 Mar 2018 04:38:45 +0000 (04:38 +0000)]
seq: provide a comment explaining what seq is for and note 2 caveats

6 years agoseq: disable preemption around seq_write_*
mjg [Wed, 28 Mar 2018 03:15:42 +0000 (03:15 +0000)]
seq: disable preemption around seq_write_*

This is a long standing performance bug which happened to not cause trouble
in practice due to rather limited use of these primitives.

The read side expects the writer to finish soon(tm) hence it loops with one
pause in-between. But it is possible the writer gets preempted in which case
the waiting can take a long time, especially so if it got preempted by the
reader. In principle this may never clean itself up.

In the current kernel seq is only used to obtain stable fp + capabilities
state. In order for looping at least once to occur there has to be a
concurrent writer modifying the fd slot for the very fd we are trying to
read. That is, for any looping to occur in the first place the program has
to be multithreaded and be doing something fishy to begin with. As such,
the indefinite looping is rather hard to run into unless you really try
(and I did not).

6 years agoFix another optional standard. Build openpic_ofw again.
jhibbits [Wed, 28 Mar 2018 03:11:50 +0000 (03:11 +0000)]
Fix another optional standard.  Build openpic_ofw again.

6 years agofd: tighten seq protected areas to not contain malloc/free
mjg [Wed, 28 Mar 2018 03:07:02 +0000 (03:07 +0000)]
fd: tighten seq protected areas to not contain malloc/free

6 years agoctfconvert: Fix minor memory leaks in STABS parser
cem [Tue, 27 Mar 2018 22:49:06 +0000 (22:49 +0000)]
ctfconvert: Fix minor memory leaks in STABS parser

In an error case, free leaked objects.  Does anything use STABS anymore?
Probably not.

Reported by: Coverity
Sponsored by: Dell EMC Isilon

6 years agoDon't access userspace directly from the kernel in nxge(4).
brooks [Tue, 27 Mar 2018 21:14:39 +0000 (21:14 +0000)]
Don't access userspace directly from the kernel in nxge(4).

Update to what the previous code seemed to be doing via the correct
interfaces.  Further issues exist in xge_ioctl_registers(), but this is
debugging code in a driver that has few users and they don't appear to
be crashes or leaks.

Reviewed by: jhb (prior version)
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14848

6 years agoCopy flags over ifr_union directly rather than via casts through ifr_data.
brooks [Tue, 27 Mar 2018 21:06:18 +0000 (21:06 +0000)]
Copy flags over ifr_union directly rather than via casts through ifr_data.

No functional change in practice.  If the sbni driver supported
64-bit big-endian system, this would be an ABI changes, but it is
i386-only.  The old version leaked a word of stack on 64-bit systems.

This eliminates the only assignment to ifr_data.

Reviewed by: kib
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14874

6 years agoRevert r331651 to recommit with proper commit metadata.
brooks [Tue, 27 Mar 2018 21:04:54 +0000 (21:04 +0000)]
Revert r331651 to recommit with proper commit metadata.

6 years agoCopy flags over ifr_union directly rather than via casts through ifr_data.
brooks [Tue, 27 Mar 2018 21:03:29 +0000 (21:03 +0000)]
Copy flags over ifr_union directly rather than via casts through ifr_data.

No functional change in practice.  If the sbni driver supported
64-bit big-endian system, this would be an ABI changes, but it is
i386-only.  The old version leaked a word of stack on 64-bit systems.

This eliminates the only assignment to ifr_data.

6 years agoRemove very old and unused signal information codes.
jhb [Tue, 27 Mar 2018 20:57:51 +0000 (20:57 +0000)]
Remove very old and unused signal information codes.

These have been supplanted by the MI signal information codes in
<sys/signal.h> since 7.0.  The FPE_*_TRAP ones were deprecated even
earlier in 1999.

PR: 226579 (exp-run)
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D14637

6 years agoUse the offload transmit queue to set flags on TLS connections.
jhb [Tue, 27 Mar 2018 20:54:57 +0000 (20:54 +0000)]
Use the offload transmit queue to set flags on TLS connections.

Requests to modify the state of TLS connections need to be sent on the
same queue as TLS record transmit requests to ensure ordering.

However, in order to use the offload transmit queue in t4_set_tcb_field(),
the function needs to be updated to do proper flow control / credit
management when queueing a request to an offload queue.  This required
passing a pointer to the toepcb itself to this function, so while here
remove the 'tid' and 'iqid' parameters and obtain those values from the
toepcb in t4_set_tcb_field() itself.

Submitted by: Harsh Jain @ Chelsio (original version)
Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D14871

6 years agoImprove copy-and-pasted versions of SIOCGIFADDR.
brooks [Tue, 27 Mar 2018 20:51:49 +0000 (20:51 +0000)]
Improve copy-and-pasted versions of SIOCGIFADDR.

The original implementation used a reference to ifr_data and a cast to
do the equivalent of accessing ifr_addr. This was copied multiple
times since 1996.

Approved by: kib
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14873

6 years agoFix a whitespace bug missed in refactoring prior to r331641.
brooks [Tue, 27 Mar 2018 18:55:39 +0000 (18:55 +0000)]
Fix a whitespace bug missed in refactoring prior to r331641.

MFC with: r331641

6 years agoAdd support for right and middle click with integrated button to WSP
hselasky [Tue, 27 Mar 2018 18:44:05 +0000 (18:44 +0000)]
Add support for right and middle click with integrated button to WSP
USB trackpad driver.

Submitted by: James Wright <james.wright@jigsawdezign.com>
PR: 226961
MFC after: 1 week
Sponsored by: Mellanox Technologies

6 years agoFix access to ifru_buffer on freebsd32.
brooks [Tue, 27 Mar 2018 18:26:50 +0000 (18:26 +0000)]
Fix access to ifru_buffer on freebsd32.

Make all kernel accesses to ifru_buffer go via access functions
which take the process ABI into account and use an appropriate union
to access members in the correct place in struct ifreq.

Reviewed by: kib
Obtained from: CheriBSD
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14846

6 years agoFix several leaks of kernel stack data through paddings.
kib [Tue, 27 Mar 2018 18:05:51 +0000 (18:05 +0000)]
Fix several leaks of kernel stack data through paddings.

It is random collection of fixes for issues not yet corrected,
reported at https://tsyrklevi.ch/clang_analyzer/freebsd_013017/. Many
issues from that list were already corrected. Most of them are for
compat32, old compat32 or affect both primary host ABI and compat32.

The freebsd32_kldstat(), for instance, was already fixed by using
malloc(M_ZERO).  Patch includes correction to report the supplied
version back, which is just pedantic.

Reviewed by: brooks, emaste (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D14868

6 years agoopencrypto: Add mechanism to pass multiple crypto blocks to some ciphers
cem [Tue, 27 Mar 2018 17:58:00 +0000 (17:58 +0000)]
opencrypto: Add mechanism to pass multiple crypto blocks to some ciphers

xforms that support processing of multiple blocks at a time (to support more
efficient modes, for example) can define the encrypt_ and decrypt_multi
interfaces.  If these interfaces are not present, the generic cryptosoft
code falls back on the block-at-a-time encrypt/decrypt interfaces.

Stream ciphers may support arbitrarily sized inputs (equivalent to an input
block size of 1 byte) but may be more efficient if a larger block is passed.

Sponsored by: Dell EMC Isilon

6 years agoFix instructions in the zfsboot manual page.
eugen [Tue, 27 Mar 2018 17:37:08 +0000 (17:37 +0000)]
Fix instructions in the zfsboot manual page.

zfsloader(8) fails to probe a slice containing ZFS pool if its second sector
contains traces of BSD label (DISKMAGIC == 0x82564557).
Fix manual page to show working example erasing such traces.

PR: 226714
Approved by: avg (mentor)
MFC after: 3 days

6 years agocryptotest: Add blake2 hashes to tool
cem [Tue, 27 Mar 2018 17:34:28 +0000 (17:34 +0000)]
cryptotest: Add blake2 hashes to tool

Sponsored by: Dell EMC Isilon

6 years agoMerge OpenSSL 1.0.2o.
jkim [Tue, 27 Mar 2018 17:17:58 +0000 (17:17 +0000)]
Merge OpenSSL 1.0.2o.

6 years agoBump .Dd after r331113.
trasz [Tue, 27 Mar 2018 16:38:32 +0000 (16:38 +0000)]
Bump .Dd after r331113.

Reported by: oshogbo@
MFC after: 2 weeks

6 years agoMove 32-bit compat for md(4) ioctls into the md code.
brooks [Tue, 27 Mar 2018 16:07:54 +0000 (16:07 +0000)]
Move 32-bit compat for md(4) ioctls into the md code.

This is more correct in that ioctl commands have no meaning until they
hit the handler associated with the file descriptor.

Add support for MDIOCRESIZE_32 which was missed when it was added.

Reviewed by: cem, kib, markj (various versions)
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14714

6 years agoAllow to specify PCP on packets not belonging to any VLAN.
kib [Tue, 27 Mar 2018 15:29:32 +0000 (15:29 +0000)]
Allow to specify PCP on packets not belonging to any VLAN.

According to 802.1Q-2014, VLAN tagged packets with VLAN id 0 should be
considered as untagged, and only PCP and DEI values from the VLAN tag
are meaningful.  See for instance
https://www.cisco.com/c/en/us/td/docs/switches/connectedgrid/cg-switch-sw-master/software/configuration/guide/vlan0/b_vlan_0.html.

Make it possible to specify PCP value for outgoing packets on an
ethernet interface.  When PCP is supplied, the tag is appended, VLAN
id set to 0, and PCP is filled by the supplied value.  The code to do
VLAN tag encapsulation is refactored from the if_vlan.c and moved into
if_ethersubr.c.

Drivers might have issues with filtering VID 0 packets on
receive.  This bug should be fixed for each driver.

Reviewed by: ae (previous version), hselasky, melifaro
Sponsored by: Mellanox Technologies
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D14702

6 years agoMove uio enums to sys/_uio.h.
brooks [Tue, 27 Mar 2018 15:20:03 +0000 (15:20 +0000)]
Move uio enums to sys/_uio.h.

Include _uio.h instead of uio.h in several headers to reduce header
polution.

Fix a few places that relied on header polution to get the uio.h header.

I have not moved struct uio as many more things that use it rely on
header polution to get other definitions from uio.h.

Reviewed by: cem, kib, markj
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14811

6 years agoMFV: libb2: use native calls for secure memory clearance
cem [Tue, 27 Mar 2018 14:55:01 +0000 (14:55 +0000)]
MFV: libb2: use native calls for secure memory clearance

Drop our local patch and restore full vanilla upstream code in
contrib/libb2.

No functional change intended.  explicit_bzero() should continue to be used.

Obtained from: libb2 b4b241a34824b51956a7866606329a065d397525
Sponsored by: Dell EMC Isilon

6 years agoAdd trailing slash for consistency.
trasz [Tue, 27 Mar 2018 14:54:02 +0000 (14:54 +0000)]
Add trailing slash for consistency.

For some reason, the other link - https://lists.FreeBSD.org/ - needs
the trailing slash, otherwise man(8) renders it in a weird way.  No
idea why's that.  At least try to be consistent.  Revert it when the
other link gets fixed.

MFC after: 2 weeks

6 years agoUse https:// instead of http://.
trasz [Tue, 27 Mar 2018 14:51:19 +0000 (14:51 +0000)]
Use https:// instead of http://.

MFC after: 2 weeks

6 years agoFix capitalization.
trasz [Tue, 27 Mar 2018 14:50:12 +0000 (14:50 +0000)]
Fix capitalization.

MFC after: 2 weeks

6 years agovfs_donmount: in certain cases try r/o mount if r/w mount fails
avg [Tue, 27 Mar 2018 14:31:42 +0000 (14:31 +0000)]
vfs_donmount: in certain cases try r/o mount if r/w mount fails

If the operation is not an update, if neither r/w nor r/o mode is
explicitly requested, if the error code hints at the possibility of the
media being read-only, and if the fallback is allowed, then we can try
to automatically downgrade to the readonly mode.

This is especially useful for auto-mounting of removable media that
sometimes can happen to be write-protected.

The fallback to r/o is not enabled by default.  It can be requested on a
per-mount basis with a new mount option, 'autoro'.  Or it can be
globally allowed by setting vfs.default_autoro.

Reviewed by: cem, kib
MFC after: 3 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D13361

6 years agoZFS test suite: fix uses of illumos /dev/[r]dsk/ and /dev/zvol/[r]dsk/
avg [Tue, 27 Mar 2018 11:49:15 +0000 (11:49 +0000)]
ZFS test suite: fix uses of illumos /dev/[r]dsk/ and /dev/zvol/[r]dsk/

6 years agoBackout r331606 until I can identify why it does not boot on some
jeff [Tue, 27 Mar 2018 10:20:50 +0000 (10:20 +0000)]
Backout r331606 until I can identify why it does not boot on some
machines.

6 years agoRectify VMCI SPDX license
mp [Tue, 27 Mar 2018 06:33:00 +0000 (06:33 +0000)]
Rectify VMCI SPDX license

Approved by: Vishnu Dasa <vdasa@vmware.com>

6 years agoOnly use CPUs in the domain the device is attached to for default
jeff [Tue, 27 Mar 2018 03:37:04 +0000 (03:37 +0000)]
Only use CPUs in the domain the device is attached to for default
assignment.  Device drivers are able to override the default assignment
if they bind directly.  There are severe performance penalties for
handling interrupts on remote CPUs and this should only be done in
very controlled circumstances.

Reviewed by: jhb, kib
Tested by: pho (earlier version)
Sponsored by: Netflix, Dell/EMC Isilon
Differential Revision: https://reviews.freebsd.org/D14838

6 years agoMove vm_ndomains to vm.h where it can be used with a single header include
jeff [Tue, 27 Mar 2018 03:27:02 +0000 (03:27 +0000)]
Move vm_ndomains to vm.h where it can be used with a single header include
rather than requiring a half-dozen.  Many non-vm files may want to know
the number of valid domains.

Sponsored by: Netflix, Dell/EMC Isilon

6 years agoUpdate to Zstandard 1.3.4
cem [Mon, 26 Mar 2018 23:54:59 +0000 (23:54 +0000)]
Update to Zstandard 1.3.4

Includes our local patch to conditionalize use of __builtin_clz(ll) on
Clang's __has_builtin() (which is just defined to false when building with
GCC).

The issue is tracked upstream at https://github.com/facebook/zstd/pull/884 .
Otherwise, these are vanilla Zstandard 1.3.4 files.

Reported by: allanjude, Yann Collet
Sponsored by: Dell EMC Isilon

6 years agoctfconvert/ctfmerge: Fix a memory leak enumerating DWARF files
cem [Mon, 26 Mar 2018 23:20:37 +0000 (23:20 +0000)]
ctfconvert/ctfmerge: Fix a memory leak enumerating DWARF files

Reported by: Coverity
Sponsored by: Dell EMC Isilon

6 years agoOCF: CRYPTDEB(): Enhance to allow formatted logging
cem [Mon, 26 Mar 2018 22:31:29 +0000 (22:31 +0000)]
OCF: CRYPTDEB(): Enhance to allow formatted logging

Sponsored by: Dell EMC Isilon

6 years agoUpdate the license to note my work on cryptocheck was sponsored.
jhb [Mon, 26 Mar 2018 22:30:17 +0000 (22:30 +0000)]
Update the license to note my work on cryptocheck was sponsored.

Sponsored by: Chelsio Communications

6 years agowpa_supplicant.conf.5: Document minimal eduroam configuration
cem [Mon, 26 Mar 2018 22:10:20 +0000 (22:10 +0000)]
wpa_supplicant.conf.5: Document minimal eduroam configuration

PR: 226939
Submitted by: Mateusz Piotrowski (0mp@)
Sponsored by: Dell EMC Isilon

6 years agolibctf: Don't construct pointers to out of bounds array offsets
cem [Mon, 26 Mar 2018 22:02:36 +0000 (22:02 +0000)]
libctf: Don't construct pointers to out of bounds array offsets

Just attempting to do the pointer arithmetic is undefined behavior.

No functional change intended.

Reported by: Coverity
Sponsored by: Dell EMC Isilon

6 years agolibctf: Appease Coverity overrun warnings
cem [Mon, 26 Mar 2018 21:57:44 +0000 (21:57 +0000)]
libctf: Appease Coverity overrun warnings

Rather than zeroing and reading into the a smaller union member the full
union size, just zero and read directly into the union.

No functional change intended.

Reported by: Coverity
Sponsored by: Dell EMC Isilon

6 years agocryptodev: Match intent for enc_xform ciphers with blocksize != ivsize
cem [Mon, 26 Mar 2018 20:30:07 +0000 (20:30 +0000)]
cryptodev: Match intent for enc_xform ciphers with blocksize != ivsize

No functional change for Skipjack, AES-ICM, Blowfish, CAST-128, Camellia,
DES3, Rijndael128, DES.  All of these have identical IV and blocksizes
declared in the associated enc_xform.

Functional changes for:
  * AES-GCM: block len of 1, IV len of 12
  * AES-XTS: block len of 16, IV len of 8
  * NULL: block len of 4, IV len of 0

For these, it seems like the IV specified in the enc_xform is correct (and
the blocksize used before was wrong).

Additionally, the not-yet-OCFed cipher Chacha20 has a logical block length
of 1 byte, and a 16 byte IV + nonce.

Rationalize references to IV lengths to refer to the declared ivsize, rather
than declared blocksize.

Sponsored by: Dell EMC Isilon

6 years agoCC Cubic: fix underflow for cubic_cwnd()
sbruno [Mon, 26 Mar 2018 19:53:36 +0000 (19:53 +0000)]
CC Cubic: fix underflow for cubic_cwnd()

Singed calculations in cubic_cwnd() can result in negative cwnd
value which is then cast to an unsigned value. Values less than
1 mss are generally bad for other parts of the code, also fixed.

Submitted by: Jason Eggleston <jason@eggnet.com>
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D14141

6 years agovmci(4): Fix GCC build and rationalize vmci_kernel_defs.h
cem [Mon, 26 Mar 2018 19:53:02 +0000 (19:53 +0000)]
vmci(4): Fix GCC build and rationalize vmci_kernel_defs.h

To fix the GCC build, remove multiple redundant declarations of
vmci_send_datagram() (the copy in vmci.h as well as the extern definition in
vmci_queue_pair.c were wholly redundant).

Also to fix the GCC build, include a non-empty format string in the vmci(4)
definition of ASSERT().  It seems harmless either way, but adding the
stringified invariant is easier than masking the warning.

The other vmci_kernel_defs.h changes are cosmetic and simply match macros to
existing definitions.

Reported by: GCC 6.4.0
Sponsored by: Dell EMC Isilon

6 years agolua-lint: Hint that try_include is now an accepted global
kevans [Mon, 26 Mar 2018 19:08:19 +0000 (19:08 +0000)]
lua-lint: Hint that try_include is now an accepted global

try_include was added in r331563.

6 years agolualoader: Actually re-raise error in try_include
kevans [Mon, 26 Mar 2018 19:06:25 +0000 (19:06 +0000)]
lualoader: Actually re-raise error in try_include

It was previously only printed, but we do actually want to raise it as a
full blown error so that things don't look OK when they've actually gone
wrong.

The second parameter to error, level, is set to 2 here so that the error
message reflects the position of the try_include caller, rather than the
try_include itself. Example:

LUA ERROR: /boot/lua/loader.lua:46: /boot/lua/local.lua:1: attempt to call a
nil value (global 'cxcint').

6 years agolualoader: Implement try_include and use it for including the local module
kevans [Mon, 26 Mar 2018 19:01:22 +0000 (19:01 +0000)]
lualoader: Implement try_include and use it for including the local module

This provides a way to optionally include a module without having to wrap it
in filesystem checks. try_include is a little more robust, using the lua
search path instead of forcing us to explicitly consider all of the places
we could want to include a module. Errors are still generally raised from
trying to load the module, but ENOENT will not get raised unless we're doing
a verbose load.

This will also be used to split out logo/brand graphics into their own files
so that we can safely scale up the number of graphics included without
worrying about the extra memory consumption- opting to lazily load graphics
instead.

Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D14658

6 years agorelease: arm: Copy boot.scr from ports
manu [Mon, 26 Mar 2018 18:39:38 +0000 (18:39 +0000)]
release: arm: Copy boot.scr from ports

Latest u-boot update need u-boot script to load and start ubldr.
(See D14230 for more details)
Copy this file for our arm release on the fat partition.

Approved by: gjb

6 years agoFix a bug introduced in r329612 that slowly invalidates all clean bufs.
jeff [Mon, 26 Mar 2018 18:36:17 +0000 (18:36 +0000)]
Fix a bug introduced in r329612 that slowly invalidates all clean bufs.

Reported by: bde
Reviewed by: bde
Sponsored by: Netflix, Dell/EMC Isilon

6 years agoEscape trailing newlines in a long variable list for consistency.
gjb [Mon, 26 Mar 2018 18:24:16 +0000 (18:24 +0000)]
Escape trailing newlines in a long variable list for consistency.

Submitted by: garga
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

6 years agoAllow to specify for vm_fault_quick_hold_pages() that nofault mode
kib [Mon, 26 Mar 2018 16:31:12 +0000 (16:31 +0000)]
Allow to specify for vm_fault_quick_hold_pages() that nofault mode
should be honored.

We must not sleep or acquire any MI VM locks if TDP_NOFAULTING is
specified.  On the other hand, there were some callers in the tree
which set TDP_NOFAULTING for larger scope than needed, I fixed the
code which I wrote, but I suspect that linuxkpi and out of tree drm
drivers might abuse this still.

So only enable the mode for vm_fault_quick_hold_pages() where
vm_fault_hold() is not called when specifically asked by user.  I
decided to use vm_prot_t flag to not change KPI.  Since number of
flags in vm_prot_t is limited, I reused the same flag which was
already consumed for vm_map_lookup().

Reported and tested by: pho (as part of the larger patch)
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D14825

6 years agoaw_sid(4): Release resources and destroy mutex on failure
kevans [Mon, 26 Mar 2018 14:03:39 +0000 (14:03 +0000)]
aw_sid(4): Release resources and destroy mutex on failure

Submitted by: Eugene Sevastyanov <eval@iptk.ru>

6 years agoloader efifb: implement uga_autoresize as a call to text_autoresize
kevans [Mon, 26 Mar 2018 13:45:17 +0000 (13:45 +0000)]
loader efifb: implement uga_autoresize as a call to text_autoresize

UGA does not have the same kind of mode enumeration that GOP does. Implement
it instead as a call to text_autoresize so that firmwares with only UGA
present still get some kind of autoresizing behavior.

While here, rename a typo'd "gop" to "uga", although it will remain unused
for the time being.

6 years agopf: reload and resync do the same thing
kp [Mon, 26 Mar 2018 09:36:22 +0000 (09:36 +0000)]
pf: reload and resync do the same thing

The reload and resync commands for the startup script do exactly the same
thing, so implement one as a call to the other.

MFC after: 3 weeks

6 years agoClamp IFLIB_RX_COPY_THRESH to MHLEN in iflib_rxd_pkt_get().
markj [Sun, 25 Mar 2018 23:23:19 +0000 (23:23 +0000)]
Clamp IFLIB_RX_COPY_THRESH to MHLEN in iflib_rxd_pkt_get().

If one has added fields to struct mbuf such that MHLEN is smaller than
this threshold (128), iflib_rxd_pkt_get() may otherwise overrun the
internal mbuf buffer while copying.

Reviewed by: mmacy
MFC after: 3 days
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D14843

6 years agoAdd an entry dealing with the makefs ISO9660 EFI tagging changes.
benno [Sun, 25 Mar 2018 21:07:59 +0000 (21:07 +0000)]
Add an entry dealing with the makefs ISO9660 EFI tagging changes.

If you're building -CURRENT releases and it fails when building ISO images on
amd64 you'll need to update makefs.

Reported by: dch
Sponsored by: iXsystems, Inc.

6 years agoUse LIST_FOREACH_SAFE in sleepq_chains_remove_matching().
markj [Sun, 25 Mar 2018 20:12:14 +0000 (20:12 +0000)]
Use LIST_FOREACH_SAFE in sleepq_chains_remove_matching().

We may remove a sleepqueue from the hash table in
sleepq_resume_thread().

Reviewed by: kib
MFC after: 3 days
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D14847

6 years agoNote that MODULE_PNP_INFO has to come after a DRIVER_MODULE.
imp [Sun, 25 Mar 2018 17:12:09 +0000 (17:12 +0000)]
Note that MODULE_PNP_INFO has to come after a DRIVER_MODULE.

6 years ago[pci-vendors] Update to 2018-03-21
eadler [Sun, 25 Mar 2018 16:57:21 +0000 (16:57 +0000)]
[pci-vendors] Update to 2018-03-21

MFC After: 3 days

6 years agoThe PNP info has to follow the module definition. Move it from just
imp [Sun, 25 Mar 2018 16:56:49 +0000 (16:56 +0000)]
The PNP info has to follow the module definition. Move it from just
after the array to its proper location. Otherwise, the linker.hints
file has things out of order and we associated it with whatever was
the previous module.

6 years agoRemove redundant prototype to fix compilation with GCC.
hselasky [Sun, 25 Mar 2018 08:55:53 +0000 (08:55 +0000)]
Remove redundant prototype to fix compilation with GCC.

Reported by: jeff@
MFC after: 1 week
Sponsored by: Mellanox Technologies

6 years agoAdd missing file from 4331508
jeff [Sun, 25 Mar 2018 07:42:44 +0000 (07:42 +0000)]
Add missing file from 4331508

Document cpuset_{get,set}domain()

6 years agoUpdate a TBD string with a real model number
scottl [Sun, 25 Mar 2018 06:08:18 +0000 (06:08 +0000)]
Update a TBD string with a real model number

Submitted by: Sam Gwydir

6 years agoAdd VMCI (Virtual Machine Communication Interface) driver
mp [Sun, 25 Mar 2018 00:57:00 +0000 (00:57 +0000)]
Add VMCI (Virtual Machine Communication Interface) driver

In a virtual machine, VMCI is exposed as a regular PCI device. The primary
communication mechanisms supported are a point-to-point bidirectional
transport based on a pair of memory-mapped queues, and asynchronous
notifications in the form of datagrams and doorbells. These features are
available to kernel level components such as vSockets through the VMCI
kernel API. In addition to this, the VMCI kernel API provides support for
receiving events related to the state of the VMCI communication channels,
and the virtual machine itself.

Submitted by: Vishnu Dasa <vdasa@vmware.com>
Reviewed by: bcr, imp
Obtained from: VMware
Differential Revision: https://reviews.freebsd.org/D14289

6 years agoDocument new NUMA related syscalls and utility options.
jeff [Sat, 24 Mar 2018 23:58:44 +0000 (23:58 +0000)]
Document new NUMA related syscalls and utility options.

Sponsored by: Netflix, Dell/EMC Isilon

6 years agoAdd dtb overlays support
manu [Sat, 24 Mar 2018 21:30:24 +0000 (21:30 +0000)]
Add dtb overlays support

DTB Overlays are useful to change/add nodes to a dtb without the need to
modify it.
Add support for building dtbo during buildkernel.
The goal of DTBO present in the FreeBSD source tree is to fill a gap in
time when we submit changes upstream (Linux). Instead of waiting 2 to 4 months
we can add a DTBO in tree in the meantime.
This is not for adding DTBO for capes/hat/addon boards, those will be
better to put in a ports.
This is also not for enabling a i2c/spi/pwm controller on certain pins,
each user have a different use case for those (which pins to use etc ...)
and we cannot have all possible configuration.

Add a dtbo for sun8i-h3-sid which add the SID node missing in upstream dts.

Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D14782

6 years agoWhen freeing a superblock returned by ffs_sbget, be sure to also
mckusick [Sat, 24 Mar 2018 15:36:25 +0000 (15:36 +0000)]
When freeing a superblock returned by ffs_sbget, be sure to also
free the superblock summary information.

Reported by: Peter Holm (pho@)
Tested by: Peter Holm (pho@)

6 years agoAccount the size of the vslock-ed memory by the thread.
kib [Sat, 24 Mar 2018 13:51:27 +0000 (13:51 +0000)]
Account the size of the vslock-ed memory by the thread.
Assert that all such memory is unwired on return to usermode.

The count of the wired memory will be used to detect the copyout mode.

Tested by: pho (as part of the larger patch)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

6 years agoFor vm_zone_stats() sysctl handler, do not drain sbuf calling
kib [Sat, 24 Mar 2018 13:48:53 +0000 (13:48 +0000)]
For vm_zone_stats() sysctl handler, do not drain sbuf calling
copyout(9) while owning zone lock.

Despite old value sysctl buffer is wired, spurious faults might still
occur.

Note that we still own the uma_rwlock there, but this lock does not
participate in sensitive lock orders.

Reported and tested by: pho (as part of the larger patch)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

6 years agoThis change adds a flag to the DAD entry to indicate whether it is
jtl [Sat, 24 Mar 2018 13:18:09 +0000 (13:18 +0000)]
This change adds a flag to the DAD entry to indicate whether it is
currently on the queue. This prevents accidentally doubly-removing a DAD
entry from the queue, while also simplifying some of the logic in
nd6_dad_stop().

Reviewed by: ae, hrs, vangyzen
MFC after: 2 weeks
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D10943

6 years agoIn vn_io_fault1(), reduce the scope where pagefaults are disabled.
kib [Sat, 24 Mar 2018 13:13:52 +0000 (13:13 +0000)]
In vn_io_fault1(), reduce the scope where pagefaults are disabled.

Most important for the future use, do not call
vm_fault_quick_hold_pages() with disabled pagefaults.

Reported and tested by: pho (as part of the larger patch)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

6 years agoImprove the lcall $7,$0 syscall emulation on amd64.
kib [Sat, 24 Mar 2018 12:57:58 +0000 (12:57 +0000)]
Improve the lcall $7,$0 syscall emulation on amd64.

Current code, which copies the potential syscall arguments into the
current frame, puts an arbitrary limit on the number of syscall
arguments.  Apparently, mmap(2) and lseek(2) (?) require larger
number.  But there is an issue that stack is only need to be mapped to
contain the number of arguments required by the syscall, so copying
arbitrary large number of words from the stack is not completely safe.

Use different approach to convert lcall frame into int $0x80 frame in
place, by doing the retl in kernel.  This also allows to stop proceed
vfork case specially, and stop making assumptions about %cs at the
syscall time.

Also, improve comments with the formulations provided by bde.

Reviewed and tested by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

6 years agoMake the TCP blackbox code committed in r331347 be an optional feature
jtl [Sat, 24 Mar 2018 12:48:10 +0000 (12:48 +0000)]
Make the TCP blackbox code committed in r331347 be an optional feature
controlled by the TCP_BLACKBOX option.

Enable this as part of amd64 GENERIC. For now, leave it disabled on
other platforms.

Sponsored by: Netflix, Inc.

6 years agoRemove some unneccessary variable sets in IPv6 code, as detected by
jtl [Sat, 24 Mar 2018 12:43:34 +0000 (12:43 +0000)]
Remove some unneccessary variable sets in IPv6 code, as detected by
clang's static analyzer.

Reviewed by: bz
MFC after: 2 weeks
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D10940

6 years agoFix compilation for platforms that don't support atomic_fetchadd_64()
jtl [Sat, 24 Mar 2018 12:40:45 +0000 (12:40 +0000)]
Fix compilation for platforms that don't support atomic_fetchadd_64()
after r331347.

Reported by: avg, br, jhibbits
Sponsored by: Netflix, Inc.

6 years agoAdded myself to committers-ports.dot.
mfechner [Sat, 24 Mar 2018 09:10:50 +0000 (09:10 +0000)]
Added myself to committers-ports.dot.

Reviewed by: tz (mentor)
Approved by: tz (mentor)
Differential Revision: https://reviews.freebsd.org/40631