svn commit: r315439 - head/libexec/rpc.rstatd

2017-03-16 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 17 04:16:14 2017 New Revision: 315439 URL: https://svnweb.freebsd.org/changeset/base/315439 Log: Remove unused vmmeter. Modified: head/libexec/rpc.rstatd/rstat_proc.c Modified: head/libexec/rpc.rstatd/rstat_proc.c

svn commit: r315438 - head/share/man/man4/man4.powerpc

2017-03-16 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 17 03:14:15 2017 New Revision: 315438 URL: https://svnweb.freebsd.org/changeset/base/315438 Log: Update dtsec man page with correct config requirements. Modified: head/share/man/man4/man4.powerpc/dtsec.4 Modified: head/share/man/man4/man4.powerpc/dtsec.4 ==

svn commit: r315437 - stable/10/sys/dev/hyperv/netvsc

2017-03-16 Thread Sepherosa Ziehau
Author: sephe Date: Fri Mar 17 03:03:58 2017 New Revision: 315437 URL: https://svnweb.freebsd.org/changeset/base/315437 Log: MFC 314382,314483-314485 314382 hyperv/hn: Simplify RNDIS packet data offset calculation. Sponsored by: Microsoft Differential Revision: https

svn commit: r315436 - stable/11/sys/dev/hyperv/netvsc

2017-03-16 Thread Sepherosa Ziehau
Author: sephe Date: Fri Mar 17 02:48:29 2017 New Revision: 315436 URL: https://svnweb.freebsd.org/changeset/base/315436 Log: MFC: 314382-314485 314382 hyperv/hn: Simplify RNDIS packet data offset calculation. Sponsored by: Microsoft Differential Revision: https://rev

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-16 Thread Cy Schubert
In message , Eric Joyner writes: > --94eb2c18d092e83944054adda9b6 > Content-Type: text/plain; charset=UTF-8 > > Ngie, > > It looks like what's in the commit is using an older version of netmap, so > I think we're okay on that. I think the naming conflict may be due to > splitting the ixgbe_netma

svn commit: r315435 - in head: contrib/top usr.bin/top

2017-03-16 Thread Allan Jude
Author: allanjude Date: Fri Mar 17 00:46:50 2017 New Revision: 315435 URL: https://svnweb.freebsd.org/changeset/base/315435 Log: Add ZFS compressed ARC stats to top(1) Provides: amount of compressed data logical size of compressed data (how much it would have taken uncompressed) compr

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-16 Thread Eric Joyner
I think I've got the i386 error fixed in r315434; I have Jeb looking at fixing the netmap issue. On Thu, Mar 16, 2017 at 1:52 PM Ryan Stone wrote: > On Thu, Mar 16, 2017 at 2:59 PM, Eric Joyner wrote: > > I don't think the PCI_IOV stuff should be left in there. At least from > what I gathered i

svn commit: r315434 - stable/10/sys/dev/ixgbe

2017-03-16 Thread Eric Joyner
Author: erj Date: Thu Mar 16 23:18:57 2017 New Revision: 315434 URL: https://svnweb.freebsd.org/changeset/base/315434 Log: ixgbe(4): Fix VF build failure on i386 caused by r315333 SYSCTL_ADD_UQUAD on i386 expects a uint64_t pointer, and not an unsigned long pointer. So change the data typ

svn commit: r315433 - in stable/10: contrib/libarchive contrib/libarchive/cat/test contrib/libarchive/cpio contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/t...

2017-03-16 Thread Martin Matuska
Author: mm Date: Thu Mar 16 23:08:18 2017 New Revision: 315433 URL: https://svnweb.freebsd.org/changeset/base/315433 Log: MFC r314571: Update libarchive to version 3.3.1 (and sync with latest vendor dist) Notable vendor changes: PR #501: improvements in ACL path handling PR #724:

svn commit: r315432 - in stable/11: contrib/libarchive contrib/libarchive/cat/test contrib/libarchive/cpio contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/t...

2017-03-16 Thread Martin Matuska
Author: mm Date: Thu Mar 16 23:07:35 2017 New Revision: 315432 URL: https://svnweb.freebsd.org/changeset/base/315432 Log: MFC r314571: Update libarchive to version 3.3.1 (and sync with latest vendor dist) Notable vendor changes: PR #501: improvements in ACL path handling PR #724:

svn commit: r315431 - head/sys/dev/sdhci

2017-03-16 Thread Marius Strobl
Author: marius Date: Thu Mar 16 22:42:17 2017 New Revision: 315431 URL: https://svnweb.freebsd.org/changeset/base/315431 Log: - Adds macros for the content of SDHCI_ADMA_ERR and SDHCI_HOST_CONTROL2 registers. - Add slot type capability bits. These bits should allow recognizing removabl

svn commit: r315430 - in head: . etc/mtree include sys/arm/ti sys/conf sys/dev/mmc sys/dev/sdhci sys/modules/mmc sys/modules/mmcsd sys/sys

2017-03-16 Thread Marius Strobl
NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 ** SPECIAL WARNING: ** +20170316: + The mmcsd.ko module now additionally depends on geom_flashmap.ko. + Also, mmc.ko and mmcsd.ko need to be a matching pair built from the + same source (previous

svn commit: r315429 - head/libexec/rtld-elf

2017-03-16 Thread Jilles Tjoelker
Author: jilles Date: Thu Mar 16 22:15:43 2017 New Revision: 315429 URL: https://svnweb.freebsd.org/changeset/base/315429 Log: rtld(1): Document that LD_BIND_NOT is unset for setugid processes. MFC after:2 weeks Modified: head/libexec/rtld-elf/rtld.1 Modified: head/libexec/rtld-elf/r

svn commit: r315428 - head/bin/sh

2017-03-16 Thread Jilles Tjoelker
Author: jilles Date: Thu Mar 16 21:53:55 2017 New Revision: 315428 URL: https://svnweb.freebsd.org/changeset/base/315428 Log: sh: Get rid of global variable argbackq. Modified: head/bin/sh/expand.c Modified: head/bin/sh/expand.c ===

svn commit: r315427 - head/sys/boot/i386/libi386

2017-03-16 Thread Toomas Soome
Author: tsoome Date: Thu Mar 16 21:34:14 2017 New Revision: 315427 URL: https://svnweb.freebsd.org/changeset/base/315427 Log: loader: biosdisk should report IO error from INT13 We should be more verbose about read errors from biosdisk, except filter out the floppy controller errors, which

svn commit: r315426 - head/contrib/one-true-awk

2017-03-16 Thread Pedro F. Giffuni
Author: pfg Date: Thu Mar 16 21:32:05 2017 New Revision: 315426 URL: https://svnweb.freebsd.org/changeset/base/315426 Log: MFV r315425: one-true-awk: have calloc(3) do the multiplication. MFC after:3 days Modified: head/contrib/one-true-awk/b.c Directory Properties: head/contrib/

svn commit: r315425 - vendor/one-true-awk/dist

2017-03-16 Thread Pedro F. Giffuni
Author: pfg Date: Thu Mar 16 21:26:26 2017 New Revision: 315425 URL: https://svnweb.freebsd.org/changeset/base/315425 Log: one-true-awk: have calloc(3) do the multiplication. Recently upstreamed. Modified: vendor/one-true-awk/dist/b.c Modified: vendor/one-true-awk/dist/b.c =

svn commit: r315424 - in head/lib: libc/mips libc/mips/gen msun/mips

2017-03-16 Thread Brooks Davis
Author: brooks Date: Thu Mar 16 21:05:21 2017 New Revision: 315424 URL: https://svnweb.freebsd.org/changeset/base/315424 Log: Replace SOFTFLOAT with __mips_soft_float, which gcc/clang define for us. D8376 extended softfloat/hardfloat support, but used a macro that never actually gets set

svn commit: r315423 - head/lib/libsysdecode

2017-03-16 Thread Steven Hartland
Author: smh Date: Thu Mar 16 20:55:00 2017 New Revision: 315423 URL: https://svnweb.freebsd.org/changeset/base/315423 Log: Fix libsysdecode vmprot flag decoding Fix the regex used to find vmprot table entries and add the missing include. This fixes kdumps output of PFLT arguments which

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-16 Thread Ryan Stone
On Thu, Mar 16, 2017 at 2:59 PM, Eric Joyner wrote: > I don't think the PCI_IOV stuff should be left in there. At least from > what I gathered in D4767, it's probably abandoned in 10. > It shouldn't hurt to leave it in, though. It should all be compiled under #ifdef PCI_IOV and just be compiled

svn commit: r315422 - head/sys/compat/linuxkpi/common/src

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 20:39:31 2017 New Revision: 315422 URL: https://svnweb.freebsd.org/changeset/base/315422 Log: Use __LP64__ to detect presence of suword64() to fix linking and loading of the LinuxKPI on 32-bit platforms. Reported by: lwhsu @ MFC after:

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-16 Thread Peter Jeremy
On 2017-Mar-15 21:20:17 +, Eric Joyner wrote: >Author: erj >Date: Wed Mar 15 21:20:17 2017 >New Revision: 315333 >URL: https://svnweb.freebsd.org/changeset/base/315333 > >Log: > ixgbe(4): Update to 3.2.11-k I'll add that this broke the ixv compile on my i386 VM: ===> ixv (all) cc -O2 -pipe

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Oliver Pinter
On 3/16/17, Bruce Evans wrote: > On Thu, 16 Mar 2017, Oliver Pinter wrote: > >> On 3/16/17, Bruce Evans wrote: >>> On Thu, 16 Mar 2017, Bruce Evans wrote: >>> Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bri

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-16 Thread Eric Joyner
Ngie, It looks like what's in the commit is using an older version of netmap, so I think we're okay on that. I think the naming conflict may be due to splitting the ixgbe_netmap.c file into ixgbe_netmap.c & ixv_netmap.c, and not having the functions in ixv_netmap.c be renamed. I don't think the P

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Bruce Evans
On Thu, 16 Mar 2017, Oliver Pinter wrote: On 3/16/17, Bruce Evans wrote: On Thu, 16 Mar 2017, Bruce Evans wrote: Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bright colors. Improve teken_256to8(). Use a lookup table ins

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Oliver Pinter
On 3/16/17, Bruce Evans wrote: > On Thu, 16 Mar 2017, Bruce Evans wrote: > >> Log: >> Add teken_256to16() to convert xterm-256 256-color codes to xterm >> 16-color >> codes. This will be used to fix bright colors. >> >> Improve teken_256to8(). Use a lookup table instead of calculations. >> Th

svn commit: r315421 - in head/sys: arm64/cavium dev/pci

2017-03-16 Thread Andrew Turner
Author: andrew Date: Thu Mar 16 17:49:37 2017 New Revision: 315421 URL: https://svnweb.freebsd.org/changeset/base/315421 Log: If ofw_bus_msimap fails don't try to use the invalid MSI/MSI-X parent node. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/cavium/thunder_pcie_pem_fdt.c

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Bruce Evans
On Thu, 16 Mar 2017, Bruce Evans wrote: Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bright colors. Improve teken_256to8(). Use a lookup table instead of calculations. The ... A shell script for printing some text color

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-16 Thread Eric Joyner
I'm looking at this now. Cy, in your case it sounds like the "device ixgbe" option is broken. I'll work on getting that to build again. The LINT build error looks like a netmap linking issue (probably due to Jeb moving/copying netmap stuff into the driver folder), so that'll be fun to root cause.

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-16 Thread Ngie Cooper
> On Mar 16, 2017, at 09:29, Eric Joyner wrote: > > I'm looking at this now. > > Cy, in your case it sounds like the "device ixgbe" option is broken. I'll > work on getting that to build again. > > The LINT build error looks like a netmap linking issue (probably due to Jeb > moving/copying n

svn commit: r315420 - head/sys/compat/linuxkpi/common/include/linux

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 16:53:22 2017 New Revision: 315420 URL: https://svnweb.freebsd.org/changeset/base/315420 Log: The LinuxKPI pagefault disable and enable functions can only be used pairwise to support the FreeBSD way of pushing and popping the page fault flags. Ensure this by

svn commit: r315419 - in head/sys/compat/linuxkpi/common: include/linux src

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 16:49:27 2017 New Revision: 315419 URL: https://svnweb.freebsd.org/changeset/base/315419 Log: Implement more userspace memory access functions in the LinuxKPI. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mell

svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Bruce Evans
Author: bde Date: Thu Mar 16 16:40:54 2017 New Revision: 315418 URL: https://svnweb.freebsd.org/changeset/base/315418 Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bright colors. Improve teken_256to8(). Use a lookup table

svn commit: r315417 - stable/10/sys/dev/uart

2017-03-16 Thread Ian Lepore
Author: ian Date: Thu Mar 16 15:43:32 2017 New Revision: 315417 URL: https://svnweb.freebsd.org/changeset/base/315417 Log: MFC r314918, r314919: Add the pnp id for a Wacom 'WACF00e' tablet. Update the comment for the Wacom WACF00e to make it clear it's not an accidental duplica

svn commit: r315416 - stable/11/libexec/rtld-elf

2017-03-16 Thread Konstantin Belousov
Author: kib Date: Thu Mar 16 15:13:28 2017 New Revision: 315416 URL: https://svnweb.freebsd.org/changeset/base/315416 Log: MFC r314973: Avoid bind lock recursion. Modified: stable/11/libexec/rtld-elf/rtld.c Directory Properties: stable/11/ (props changed) Modified: stable/11/libexec/rt

svn commit: r315415 - stable/10/lib/libc/stdlib

2017-03-16 Thread Pedro F. Giffuni
Author: pfg Date: Thu Mar 16 15:10:04 2017 New Revision: 315415 URL: https://svnweb.freebsd.org/changeset/base/315415 Log: MFC r315187: libc: mall cleanup. Let calloc(3) do the multiplication. Modified: stable/10/lib/libc/stdlib/getenv.c Directory Properties: stable/10/ (props chan

svn commit: r315414 - stable/11

2017-03-16 Thread Pedro F. Giffuni
Author: pfg Date: Thu Mar 16 15:03:53 2017 New Revision: 315414 URL: https://svnweb.freebsd.org/changeset/base/315414 Log: Record mergeinfo for r310171. (From dim@:) Add __scanflike attributes to the kernel's sscanf() and vsscanf() declarations. This should help to catch future mismatc

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-16 Thread Cy Schubert
In message <62c8a9fd-1ee0-4def-a28a-843dbbb49...@gmail.com>, "Ngie Cooper (yane urabeya)" writes: > > --Apple-Mail=_BD9D96B3-A5E1-4DF6-8A1A-EEC15F03AFC5 > Content-Transfer-Encoding: quoted-printable > Content-Type: text/plain; > charset=us-ascii > > > > On Mar 15, 2017, at 14:20, Eric Joy

svn commit: r315413 - head/lib/libc/sys

2017-03-16 Thread Maxim Konovalov
Author: maxim Date: Thu Mar 16 13:19:38 2017 New Revision: 315413 URL: https://svnweb.freebsd.org/changeset/base/315413 Log: More trap_enotcap spelling fixes. PR: 217839 Submitted by: tobik Modified: head/lib/libc/sys/procctl.2 Modified: head/lib/libc/sys/procctl.2 =

svn commit: r315412 - in head: sys/kern tests/sys/kern

2017-03-16 Thread Eric Badger
Author: badger Date: Thu Mar 16 13:03:31 2017 New Revision: 315412 URL: https://svnweb.freebsd.org/changeset/base/315412 Log: Don't clear p_ptevents on normal SIGKILL delivery The ptrace() user has the option of discarding the signal. In such a case, p_ptevents should not be modified. If

svn commit: r315411 - head/contrib/traceroute

2017-03-16 Thread Michal Meloun
Author: mmel Date: Thu Mar 16 13:01:23 2017 New Revision: 315411 URL: https://svnweb.freebsd.org/changeset/base/315411 Log: Unbreak traceroute on system built without CAPSICUM Modified: head/contrib/traceroute/traceroute.c Modified: head/contrib/traceroute/traceroute.c ==

svn commit: r315410 - head/sys/compat/linuxkpi/common/include/linux

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 12:33:34 2017 New Revision: 315410 URL: https://svnweb.freebsd.org/changeset/base/315410 Log: Define some more LinuxKPI task related macros. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies

svn commit: r315409 - head/lib/libc/sys

2017-03-16 Thread Maxim Konovalov
Author: maxim Date: Thu Mar 16 12:16:23 2017 New Revision: 315409 URL: https://svnweb.freebsd.org/changeset/base/315409 Log: Spell kern.trap_enotcap. PR: 217836 Submitted by: tobik Modified: head/lib/libc/sys/cap_enter.2 Modified: head/lib/libc/sys/cap_enter.2 ==

svn commit: r315408 - in head/sys/boot: common efi/libefi i386/libi386 mips/beri/loader uboot/lib usb/storage userboot/userboot

2017-03-16 Thread Toomas Soome
Author: tsoome Date: Thu Mar 16 12:04:43 2017 New Revision: 315408 URL: https://svnweb.freebsd.org/changeset/base/315408 Log: loader: remove open_disk cache As we provide the disk size verification and correction via disk_ioctl and disk state provided by disk_open(), we can not share the

svn commit: r315407 - head/share/misc

2017-03-16 Thread Maxim Konovalov
Author: maxim Date: Thu Mar 16 10:30:40 2017 New Revision: 315407 URL: https://svnweb.freebsd.org/changeset/base/315407 Log: Indentation for the DragonFlyBSD trunk fixed, EoL whitespace removed. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree =

svn commit: r315406 - head/share/misc

2017-03-16 Thread Maxim Konovalov
Author: maxim Date: Thu Mar 16 10:28:13 2017 New Revision: 315406 URL: https://svnweb.freebsd.org/changeset/base/315406 Log: NetBSD 7.1 release added. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree =

Re: svn commit: r315405 - head/sys/compat/linuxkpi/common/include/linux

2017-03-16 Thread Andrey V. Elsukov
On 16.03.2017 13:12, Andrey V. Elsukov wrote: > On 16.03.2017 13:02, Hans Petter Selasky wrote: >> Author: hselasky >> Date: Thu Mar 16 10:02:45 2017 >> New Revision: 315405 >> URL: https://svnweb.freebsd.org/changeset/base/315405 >> >> Log: >> Add helper function similar to ip_dev_find() to the

Re: svn commit: r315405 - head/sys/compat/linuxkpi/common/include/linux

2017-03-16 Thread Andrey V. Elsukov
On 16.03.2017 13:02, Hans Petter Selasky wrote: > Author: hselasky > Date: Thu Mar 16 10:02:45 2017 > New Revision: 315405 > URL: https://svnweb.freebsd.org/changeset/base/315405 > > Log: > Add helper function similar to ip_dev_find() to the LinuxKPI to lookup > a network device by its IPv6 ad

svn commit: r315405 - head/sys/compat/linuxkpi/common/include/linux

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 10:02:45 2017 New Revision: 315405 URL: https://svnweb.freebsd.org/changeset/base/315405 Log: Add helper function similar to ip_dev_find() to the LinuxKPI to lookup a network device by its IPv6 address in the given VNET. MFC after:1 week Spo

svn commit: r315404 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src ofed/drivers/infiniband/core

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 09:59:35 2017 New Revision: 315404 URL: https://svnweb.freebsd.org/changeset/base/315404 Log: Add basic support for VIMAGE to the LinuxKPI and ibcore. Support is implemented by mapping Linux's "struct net" into FreeBSD's "struct vnet". Currently only vnet

svn commit: r315403 - stable/11/sys/dev/xen/netfront

2017-03-16 Thread Roger Pau Monné
Author: royger Date: Thu Mar 16 09:40:54 2017 New Revision: 315403 URL: https://svnweb.freebsd.org/changeset/base/315403 Log: MFC r308126: xen/netfront: fix statistics PR: 213439 Modified: stable/11/sys/dev/xen/netfront/netfront.c Directory Properties: stable/11/ (props change

svn commit: r315402 - head/sys/x86/acpica

2017-03-16 Thread Roger Pau Monné
Author: royger Date: Thu Mar 16 09:33:36 2017 New Revision: 315402 URL: https://svnweb.freebsd.org/changeset/base/315402 Log: x86/srat: fix parsing of APIC IDs > MAX_APIC_ID Ignore them like it's done in the MADT parser. This allows booting on a box with SRAT and APIC IDs > 255. Repo

svn commit: r315401 - stable/11/sys/kern

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 09:17:14 2017 New Revision: 315401 URL: https://svnweb.freebsd.org/changeset/base/315401 Log: MFC r312600,r312601,r312602,r312606,r312646: vfs: refactor _vn_lock Stop testing for LK_RETRY and error multiple times. Also postpone the VI_DOOMED until after L

svn commit: r315400 - stable/11/sys/kern

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 08:51:30 2017 New Revision: 315400 URL: https://svnweb.freebsd.org/changeset/base/315400 Log: MFC r309425,r312645,r312598,r312621: vfs: provide fake locking primitives for the crossmp vnode Since the vnode is only expected to be shared locked, we can save a

svn commit: r315399 - stable/11/sys/kern

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 08:40:47 2017 New Revision: 315399 URL: https://svnweb.freebsd.org/changeset/base/315399 Log: MFC r312723: proc: perform a lockless check in sys_issetugid Modified: stable/11/sys/kern/kern_prot.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r315398 - stable/11/sys/kern

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 08:39:36 2017 New Revision: 315398 URL: https://svnweb.freebsd.org/changeset/base/315398 Log: MFC r312889: cache: annotate with __read_mostly and __exclusive_cache_line Modified: stable/11/sys/kern/vfs_cache.c Directory Properties: stable/11/ (props chang

svn commit: r315397 - stable/11/sys/kern

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 08:38:00 2017 New Revision: 315397 URL: https://svnweb.freebsd.org/changeset/base/315397 Log: MFC r312981: cache: use vrefact for '.' lookups and refing the rdir in fullpath Modified: stable/11/sys/kern/vfs_cache.c Directory Properties: stable/11/ (props

svn commit: r315396 - stable/11/sys/kern

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 08:37:05 2017 New Revision: 315396 URL: https://svnweb.freebsd.org/changeset/base/315396 Log: MFC r312980: fd: sprinkle __read_mostly and __exclusive_cache_line Modified: stable/11/sys/kern/kern_descrip.c Directory Properties: stable/11/ (props changed)

svn commit: r315395 - stable/11/sys/kern

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 08:35:27 2017 New Revision: 315395 URL: https://svnweb.freebsd.org/changeset/base/315395 Log: MFC r309784,r309783: Use a consistent snapshot of the lock state in owner_mtx(). == Return a non-NULL owner only if the lock is exclusively held in owner_sx().

svn commit: r315394 - in stable/11/sys: kern sys

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 08:29:09 2017 New Revision: 315394 URL: https://svnweb.freebsd.org/changeset/base/315394 Log: MFC,r313855,r313865,r313875,r313877,r313878,r313901,r313908,r313928,r313944,r314185,r314476,r314187 locks: let primitives for modules unlock without always goging

svn commit: r315393 - stable/11/sys/kern

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 08:00:02 2017 New Revision: 315393 URL: https://svnweb.freebsd.org/changeset/base/315393 Log: MFC r313472: The runlock slow path would update wrong variable before restarting the loop, in effect corrupting the state. Something was botched in the previous

svn commit: r315392 - stable/11/share/man/man9

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 07:51:34 2017 New Revision: 315392 URL: https://svnweb.freebsd.org/changeset/base/315392 Log: MFC r311168,r311171: Add the upcoming atomic_fcmpset family to the atomic(9) man page. These primitives give the caller the read value if the exchange attempt fa

svn commit: r315391 - stable/11/sys/sys

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 07:46:24 2017 New Revision: 315391 URL: https://svnweb.freebsd.org/changeset/base/315391 Log: MFC r313874: Make inline lockstat checks just inspect lockstat_enabled There is no correctness issue and this lets the kernel just test one typically false varia

svn commit: r315390 - head/sys/dev/syscons

2017-03-16 Thread Bruce Evans
Author: bde Date: Thu Mar 16 07:40:33 2017 New Revision: 315390 URL: https://svnweb.freebsd.org/changeset/base/315390 Log: The previous fix didn't ifdef out enough for sparc64 to actually work. Fix this by using more dynamic initialization with simpler ifdefs for the machine dependencies.

svn commit: r315389 - stable/11/sys/sys

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 07:20:32 2017 New Revision: 315389 URL: https://svnweb.freebsd.org/changeset/base/315389 Log: MFC r313453: Implement LOCKSTAT_OOL_PROFILE_ENABLED For use in uninlined locking primitives to decide whether lockstat or profiling needs to be taken care of. M

svn commit: r315387 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-03-16 Thread Alexander Motin
Author: mav Date: Thu Mar 16 07:11:05 2017 New Revision: 315387 URL: https://svnweb.freebsd.org/changeset/base/315387 Log: MFC r314549: Execute last ZIO of log commit synchronously. For short transactions overhead of context switch can be too large. Skipping it gives significant latency r

svn commit: r315388 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-03-16 Thread Alexander Motin
Author: mav Date: Thu Mar 16 07:11:35 2017 New Revision: 315388 URL: https://svnweb.freebsd.org/changeset/base/315388 Log: MFC r314549: Execute last ZIO of log commit synchronously. For short transactions overhead of context switch can be too large. Skipping it gives significant latency r

svn commit: r315386 - in stable/11/sys: kern sys

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 07:10:08 2017 New Revision: 315386 URL: https://svnweb.freebsd.org/changeset/base/315386 Log: MFC r313853,r313859: locks: remove SCHEDULER_STOPPED checks from primitives for modules They all fallback to the slow path if necessary and the check is there.

svn commit: r315385 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-03-16 Thread Alexander Motin
Author: mav Date: Thu Mar 16 07:09:47 2017 New Revision: 315385 URL: https://svnweb.freebsd.org/changeset/base/315385 Log: MFC r314548: Completely skip cache flushing for not supporting log devices. Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c Directory Properties:

svn commit: r315384 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-03-16 Thread Alexander Motin
Author: mav Date: Thu Mar 16 07:09:19 2017 New Revision: 315384 URL: https://svnweb.freebsd.org/changeset/base/315384 Log: MFC r314548: Completely skip cache flushing for not supporting log devices. Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c Directory Properties:

svn commit: r315383 - stable/11/sys/dev/iscsi

2017-03-16 Thread Alexander Motin
Author: mav Date: Thu Mar 16 07:07:56 2017 New Revision: 315383 URL: https://svnweb.freebsd.org/changeset/base/315383 Log: MFC r314555: Inline some trivial wrapper functions. Modified: stable/11/sys/dev/iscsi/icl_soft.c Directory Properties: stable/11/ (props changed) Modified: stable/11

svn commit: r315382 - stable/11/sys/kern

2017-03-16 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 07:06:06 2017 New Revision: 315382 URL: https://svnweb.freebsd.org/changeset/base/315382 Log: MFC r313467: locks: tidy up unlock fallback paths Update comments to note these functions are reachable if lockstat is enabled. Check if the lock has any bi