svn commit: r340393 - head/sys/powerpc/conf

2018-11-13 Thread Kevin Bowling
Author: kbowling (ports committer) Date: Tue Nov 13 09:19:07 2018 New Revision: 340393 URL: https://svnweb.freebsd.org/changeset/base/340393 Log: powerpc64: reduce GENERIC64 diff versus amd64 GENERIC Reviewed by: jhibbits Approved by: timur (mentor) Differential Revision:https

svn commit: r340394 - head/sbin/ipfw

2018-11-13 Thread Eugene Grosbein
Author: eugen Date: Tue Nov 13 13:57:15 2018 New Revision: 340394 URL: https://svnweb.freebsd.org/changeset/base/340394 Log: Fix part of the SYNOPSIS documenting LIST OF RULES AND PREPROCESSING that is still referred as last section of the SYNOPSIS later but was erroneously situated in the s

svn commit: r340395 - head/lib/csu/common

2018-11-13 Thread Andrew Turner
Author: andrew Date: Tue Nov 13 15:28:27 2018 New Revision: 340395 URL: https://svnweb.freebsd.org/changeset/base/340395 Log: Run __cxa_finalize in shared objects in the destructor path. When we have .dtors call them before .dtor handling, otherwise call from a destructor. PR:

Re: svn commit: r339358 - head/sys/net

2018-11-13 Thread Oleg Bulyzhin
btw, this breaks kernel build with VLAN_ARRAY option defined. -- Oleg. === Oleg Bulyzhin -- OBUL-RIPN -- OBUL-RIPE -- o...@rinet.ru === ___

svn commit: r340396 - in stable/12/sys: kern vm

2018-11-13 Thread Mark Johnston
Author: markj Date: Tue Nov 13 16:51:30 2018 New Revision: 340396 URL: https://svnweb.freebsd.org/changeset/base/340396 Log: MFC r339925: Fix some problems that manifest when NUMA domain 0 is empty. Approved by: re (gjb) Modified: stable/12/sys/kern/kern_cpuset.c stable/12/sys/vm/um

svn commit: r340397 - stable/12/sys/netinet

2018-11-13 Thread Mark Johnston
Author: markj Date: Tue Nov 13 17:25:34 2018 New Revision: 340397 URL: https://svnweb.freebsd.org/changeset/base/340397 Log: MFC r340313: Ensure that IP fragments do not extend beyond IP_MAXPACKET. Approved by: re (gjb) Modified: stable/12/sys/netinet/ip_reass.c Directory Properties:

svn commit: r340398 - stable/12/sys/vm

2018-11-13 Thread Mark Johnston
Author: markj Date: Tue Nov 13 17:43:16 2018 New Revision: 340398 URL: https://svnweb.freebsd.org/changeset/base/340398 Log: MFC r340331: Re-apply r336984, reverting r339934. Approved by: re (gjb) Modified: stable/12/sys/vm/vm_object.c Directory Properties: stable/12/ (props chang

Re: svn commit: r340326 - head

2018-11-13 Thread Ian Lepore
On Mon, 2018-11-12 at 06:00 -0800, Rodney W. Grimes wrote: > > > > I absolutely approve of Ben's excellent addition to UPDATING, a > > text document. > At no point did I raise ANY objectection to the content > of his change, stop trying to make that the issue. > > > > > Your demands for addition

svn commit: r340399 - head/sys/riscv/include

2018-11-13 Thread Mark Johnston
Author: markj Date: Tue Nov 13 18:12:06 2018 New Revision: 340399 URL: https://svnweb.freebsd.org/changeset/base/340399 Log: RISC-V: Add macros for reading performance counter CSRs. The RISC-V spec defines several performance counter CSRs such as: cycle, time, instret, hpmcounter(3...31).

svn commit: r340400 - head/sys/riscv/include

2018-11-13 Thread Mark Johnston
Author: markj Date: Tue Nov 13 18:20:27 2018 New Revision: 340400 URL: https://svnweb.freebsd.org/changeset/base/340400 Log: RISC-V: Implement get_cyclecount(9). Add the missing implementation for get_cyclecount(9) on RISC-V by reading the cycle CSR. Submitted by: Mitchell Horne R

svn commit: r340401 - in stable/12: . share/man/man9 sys/dev/hwpmc sys/i386/i386 sys/kern sys/sys sys/vm sys/x86/iommu sys/x86/x86

2018-11-13 Thread Mark Johnston
Author: markj Date: Tue Nov 13 18:21:47 2018 New Revision: 340401 URL: https://svnweb.freebsd.org/changeset/base/340401 Log: MFC r339927: Add malloc_domainset(9) and _domainset variants to other allocator KPIs. Approved by: re (gjb) Modified: stable/12/ObsoleteFiles.inc stable/12/sh

svn commit: r340402 - in head/sys: kern sys

2018-11-13 Thread Mark Johnston
Author: markj Date: Tue Nov 13 18:40:01 2018 New Revision: 340402 URL: https://svnweb.freebsd.org/changeset/base/340402 Log: Allow allocations across meta boundaries. Remove restrictions that prevent allocation requests to cross the boundary between two meta nodes. Replace the bmu_av

svn commit: r340403 - in stable/11/sys/dev: mpr mps

2018-11-13 Thread Scott Long
Author: scottl Date: Tue Nov 13 18:49:43 2018 New Revision: 340403 URL: https://svnweb.freebsd.org/changeset/base/340403 Log: Fix a regression from prior to 11.2 that caused MSI (not MSI-X) interrupt allocation to fail. While here, refactor the code so that it's more clear and less likely t

svn commit: r340404 - in head/sys: kern sys

2018-11-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 13 19:02:11 2018 New Revision: 340404 URL: https://svnweb.freebsd.org/changeset/base/340404 Log: Uninline epoch(9) entrance and exit. There is no proof that modern processors would benefit from avoiding a function call, but bloating code. In fact, clang created

svn commit: r340405 - head/sys/vm

2018-11-13 Thread Mark Johnston
Author: markj Date: Tue Nov 13 19:44:40 2018 New Revision: 340405 URL: https://svnweb.freebsd.org/changeset/base/340405 Log: Add accounting to per-domain UMA full bucket caches. In particular, track the current size of the cache and maintain an estimate of its working set size. This will

svn commit: r340406 - head/release/scripts

2018-11-13 Thread Glen Barber
Author: gjb Date: Tue Nov 13 19:51:22 2018 New Revision: 340406 URL: https://svnweb.freebsd.org/changeset/base/340406 Log: The roff ascii.gz documentation installed to /usr/share/doc was removed in r318881 when roff was removed from the base system. This results in the doc.txz distribut

svn commit: r340407 - in head: . release/scripts

2018-11-13 Thread Glen Barber
Author: gjb Date: Tue Nov 13 19:53:02 2018 New Revision: 340407 URL: https://svnweb.freebsd.org/changeset/base/340407 Log: In followup to r340406, remove doc from the EXTRA_DISTRIBUTIONS list and remaining references from the script used to create the MANIFEST file used by bsdinstall(8).

svn commit: r340408 - in head: lib/libnv lib/libnv/tests sys/contrib/libnv

2018-11-13 Thread Mark Johnston
Author: markj Date: Tue Nov 13 20:07:55 2018 New Revision: 340408 URL: https://svnweb.freebsd.org/changeset/base/340408 Log: Ensure that libnv can be used when kern.trap_enotcap=1. libnv used fcntl(fd, F_GETFL) to test whether fd is a valid file descriptor. Aside from being racy, this ch

AN INVESTMENT OFFER.

2018-11-13 Thread Charles Mayiga
Greetings, We are international project financiers and we specialize in both start up projects and existing businesses needing funding or Loan for expansion. We are committed to helping businesses develop and succeed. We will like to partner with you/your company should you be interested or may

svn commit: r340409 - head/sys/kern

2018-11-13 Thread Eric van Gyzen
Author: vangyzen Date: Tue Nov 13 20:48:05 2018 New Revision: 340409 URL: https://svnweb.freebsd.org/changeset/base/340409 Log: Make no assertions about lock state when the scheduler is stopped. Change the assert paths in rm, rw, and sx locks to match the lock and unlock paths. I did thi

svn commit: r340410 - head/sys/kern

2018-11-13 Thread Mateusz Guzik
Author: mjg Date: Tue Nov 13 21:29:56 2018 New Revision: 340410 URL: https://svnweb.freebsd.org/changeset/base/340410 Log: locks: plug warnings about unitialized variables They only showed up after I redefined LOCKSTAT_ENABLED to 0. doing_lockprof in mutex.c is a real (but harmless) bu

svn commit: r340411 - in head: lib/libufs sbin/clri sbin/ffsinfo sbin/fsck_ffs sbin/fsirand sbin/growfs sbin/newfs sbin/tunefs sys/ufs/ffs tools/diag/prtblknos

2018-11-13 Thread Kirk McKusick
Author: mckusick Date: Tue Nov 13 21:40:56 2018 New Revision: 340411 URL: https://svnweb.freebsd.org/changeset/base/340411 Log: In preparation for adding inode check-hashes, clean up and document the libufs interface for fetching and storing inodes. The undocumented getino / putino interface

svn commit: r340412 - head/sys/dev/nvme

2018-11-13 Thread Warner Losh
Author: imp Date: Tue Nov 13 22:41:20 2018 New Revision: 340412 URL: https://svnweb.freebsd.org/changeset/base/340412 Log: Use atomic_load_acq_int() here too to poll done, ala r328521 Modified: head/sys/dev/nvme/nvme_ns.c Modified: head/sys/dev/nvme/nvme_ns.c

svn commit: r340413 - in head/sys: kern net sys

2018-11-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 13 22:58:38 2018 New Revision: 340413 URL: https://svnweb.freebsd.org/changeset/base/340413 Log: For compatibility KPI functions like if_addr_rlock() that used to have mutexes but now are converted to epoch(9) use thread-private epoch_tracker. Embedding tracker

svn commit: r340414 - head/sys/amd64/conf

2018-11-13 Thread Matt Macy
Author: mmacy Date: Tue Nov 13 23:08:46 2018 New Revision: 340414 URL: https://svnweb.freebsd.org/changeset/base/340414 Log: Add ZFS to amd64 NOTES to catch future breakage of static linking Modified: head/sys/amd64/conf/NOTES Modified: head/sys/amd64/conf/NOTES =

svn commit: r340415 - in head/sys: kern sys

2018-11-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 13 23:20:55 2018 New Revision: 340415 URL: https://svnweb.freebsd.org/changeset/base/340415 Log: The dualism between epoch_tracker and epoch_thread is fragile and unnecessary. So, expose CK types to kernel and use a single normal structure for epoch_tracker.

svn commit: r340416 - head/sbin/dump

2018-11-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 13 23:44:27 2018 New Revision: 340416 URL: https://svnweb.freebsd.org/changeset/base/340416 Log: Plug build break after r340411. Modified: head/sbin/dump/dump.h head/sbin/dump/main.c head/sbin/dump/traverse.c Modified: head/sbin/dump/dump.h =

svn commit: r340417 - head/sys/kern

2018-11-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 13 23:45:38 2018 New Revision: 340417 URL: https://svnweb.freebsd.org/changeset/base/340417 Log: With epoch not inlined, there is no point in using _lite KPI. While here, remove some unnecessary casts. Modified: head/sys/kern/genoffset.c head/sys/kern/subr_ep

svn commit: r340418 - head/sys/dev/tws

2018-11-13 Thread Warner Losh
Author: imp Date: Tue Nov 13 23:53:24 2018 New Revision: 340418 URL: https://svnweb.freebsd.org/changeset/base/340418 Log: Remove support for versions prior to FreeBSD 7.0 from twa(4) This was for pre-7.0 CAM support. Neither the CAM nor the busdma changes over the years have not been ifd

svn commit: r340419 - head/sys/kern

2018-11-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 13 23:57:34 2018 New Revision: 340419 URL: https://svnweb.freebsd.org/changeset/base/340419 Log: style(9), mostly adjusting overly long lines. Modified: head/sys/kern/subr_epoch.c Modified: head/sys/kern/subr_epoch.c =

svn commit: r340420 - head/sys/kern

2018-11-13 Thread Matt Macy
Author: mmacy Date: Wed Nov 14 00:12:04 2018 New Revision: 340420 URL: https://svnweb.freebsd.org/changeset/base/340420 Log: epoch(9) revert r340097 - no longer a need for multiple sections per cpu I spoke with Samy Bahra and recent changes to CK to make ck_epoch_call and ck_epoch_poll no

svn commit: r340421 - head/usr.sbin/cpucontrol

2018-11-13 Thread Conrad Meyer
Author: cem Date: Wed Nov 14 00:21:49 2018 New Revision: 340421 URL: https://svnweb.freebsd.org/changeset/base/340421 Log: cpucontrol(8): De-duplicate common update logic Every µcode-updater must open the cpucontrol devfs node RDWR, open a firmware file, validate the FW file has a positiv

svn commit: r340422 - head/sbin/dump

2018-11-13 Thread Kirk McKusick
Author: mckusick Date: Wed Nov 14 00:21:52 2018 New Revision: 340422 URL: https://svnweb.freebsd.org/changeset/base/340422 Log: Fix build break from dump incompatibility I introduced in -r340411 Pointy-hat to: mckusick Modified: head/sbin/dump/dump.h head/sbin/dump/main.c head/sbin/d

svn commit: r340423 - head/sys/kern

2018-11-13 Thread Gleb Smirnoff
Author: glebius Date: Wed Nov 14 00:33:03 2018 New Revision: 340423 URL: https://svnweb.freebsd.org/changeset/base/340423 Log: Fix build on some architectures after r340413. On amd64 epoch.h appeared to be included implicitly. Modified: head/sys/kern/kern_thread.c Modified: head/sys/kern/k

svn commit: r340424 - in head/sys: compat/freebsd32 kern

2018-11-13 Thread Brooks Davis
Author: brooks Date: Wed Nov 14 00:46:02 2018 New Revision: 340424 URL: https://svnweb.freebsd.org/changeset/base/340424 Log: Use the main capabilities.conf for freebsd32. Allow the location of capabilities.conf to be configured. Also allow a per-abi syscall prefix to be configured wit

Re: svn commit: r337334 - head/lib/libc/sys

2018-11-13 Thread Warner Losh
On Sun, Aug 5, 2018 at 6:46 PM Bruce Evans wrote: > On Mon, 6 Aug 2018, Bruce Evans wrote: > > > ... > > I forgot about FAT times, and only remembered that utc_offset() was used > > for RTC drivers. I thought that utc_offset() is 0 unless something sets > > the timezone to nonzero or the RTC is

svn commit: r340425 - in head/sys/dev: amdsmn amdtemp

2018-11-13 Thread Conrad Meyer
Author: cem Date: Wed Nov 14 03:42:39 2018 New Revision: 340425 URL: https://svnweb.freebsd.org/changeset/base/340425 Log: amdsmn(4)/amdtemp(4): Attach to Ryzen 2 hostbridges As reported, tested, and patch supplied by Johannes. There may be future work to do to support multiple sensors

svn commit: r340426 - head/sys/dev/amdtemp

2018-11-13 Thread Conrad Meyer
Author: cem Date: Wed Nov 14 04:50:29 2018 New Revision: 340426 URL: https://svnweb.freebsd.org/changeset/base/340426 Log: amdtemp(4): Fix temperature reporting on AMD 2990WX Update the AMD family 17h temperature reporting based on AMD Tech Doc 56255 OSRR, section 4.2.1. For CPUS w/C