svn commit: r333601 - head/sys/dev/hwpmc

2018-05-13 Thread Matt Macy
Author: mmacy Date: Mon May 14 06:11:25 2018 New Revision: 333601 URL: https://svnweb.freebsd.org/changeset/base/333601 Log: hwpmc: don't reference domain index with no memory backing it On multi-socket the domain will be correctly set for a given CPU regardless of whether or not NUMA is

svn commit: r333600 - in head/contrib/elftoolchain: elfcopy readelf

2018-05-13 Thread Phil Shafer
Author: phil Date: Mon May 14 05:21:18 2018 New Revision: 333600 URL: https://svnweb.freebsd.org/changeset/base/333600 Log: Handle thread-local storage (TLS) segments correctly when copying (objcopy) and displaying (readelf) them. PR: 227552 Submitted by: kaiw (maintainer) R

svn commit: r333599 - head/sys/powerpc/aim

2018-05-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon May 14 04:00:52 2018 New Revision: 333599 URL: https://svnweb.freebsd.org/changeset/base/333599 Log: Final fix for alignment issues with the page table first patched with r333273 and partially reverted with r333594. Older CPUs implement addition of offsets int

svn commit: r333598 - head/sys/dev/hwpmc

2018-05-13 Thread Matt Macy
Author: mmacy Date: Mon May 14 01:08:47 2018 New Revision: 333598 URL: https://svnweb.freebsd.org/changeset/base/333598 Log: pmc: don't add pmc owner to list until setup is complete Once a pmc owner is added to the pmc_ss_owners list it is visible for all to see. We don't want this to hap

svn commit: r333597 - head/sys/sys

2018-05-13 Thread Matt Macy
Author: mmacy Date: Mon May 14 00:56:33 2018 New Revision: 333597 URL: https://svnweb.freebsd.org/changeset/base/333597 Log: pmc: fix buildworld hid ck_queue.h from user Approved by: sbruno Modified: head/sys/sys/pmc.h Modified: head/sys/sys/pmc.h =

svn commit: r333596 - in head/sys: dev/hwpmc kern sys

2018-05-13 Thread Matt Macy
Author: mmacy Date: Mon May 14 00:21:04 2018 New Revision: 333596 URL: https://svnweb.freebsd.org/changeset/base/333596 Log: hwpmc: fix load/unload race and vm map LOR - fix load/unload race by allocating the per-domain list structure at boot - fix long extant vm map LOR by replacing p

Re: svn commit: r333494 - head/share/man/man7

2018-05-13 Thread Rodney W. Grimes
> On Sat, May 12, 2018, 12:59 AM Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > On Fri, May 11, 2018 at 8:26 AM, Rodney W. Grimes > > > wrote: > > > >> @@ -67,7 +72,8 @@ Changes are first committed to CURRENT and then > > usuall > > > >> to STABLE. > > > >> Every few years

svn commit: r333595 - head/sys/kern

2018-05-13 Thread Matt Macy
Author: mmacy Date: Mon May 14 00:14:00 2018 New Revision: 333595 URL: https://svnweb.freebsd.org/changeset/base/333595 Log: epoch(9): allow sx locks to be held across epoch_wait() The INVARIANTS checks in epoch_wait() were intended to prevent the block handler from returning with locks h

svn commit: r333594 - head/sys/powerpc/aim

2018-05-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 13 23:56:43 2018 New Revision: 333594 URL: https://svnweb.freebsd.org/changeset/base/333594 Log: Revert changes to hash table alignment in r333273, which booting on all G5 systems, pending further analysis. Modified: head/sys/powerpc/aim/moea64_native.c Mod

svn commit: r333592 - head/sys/fs/nfsserver

2018-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 13 23:38:01 2018 New Revision: 333592 URL: https://svnweb.freebsd.org/changeset/base/333592 Log: Fix the eir_server_scope reply argument for NFSv4.1 ExchangeID. In the reply to an ExchangeID operation, the NFSv4.1 server returns a "scope" value (eir_server_s

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

2018-05-13 Thread Matt Macy
Author: mmacy Date: Sun May 13 23:24:48 2018 New Revision: 333591 URL: https://svnweb.freebsd.org/changeset/base/333591 Log: epoch(9): cleanups, additional debug checks, and add global_epoch - GC the _nopreempt routines - to really benefit we'd need a separate routine - they're

svn commit: r333590 - head/share/man/man9

2018-05-13 Thread Matt Macy
Author: mmacy Date: Sun May 13 23:16:04 2018 New Revision: 333590 URL: https://svnweb.freebsd.org/changeset/base/333590 Log: Add epoch(9) man page Reviewed by: gallatin@ Approved by: sbruno@ Added: head/share/man/man9/epoch.9 (contents, props changed) Modified: head/share/man/man

svn commit: r333589 - head/share/man/man5

2018-05-13 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Sun May 13 23:04:35 2018 New Revision: 333589 URL: https://svnweb.freebsd.org/changeset/base/333589 Log: Regen after r333588 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 =

svn commit: r333588 - head/tools/build/options

2018-05-13 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Sun May 13 22:58:40 2018 New Revision: 333588 URL: https://svnweb.freebsd.org/changeset/base/333588 Log: Typo Submitted by: jrm@ Approved by: bcr (mentor) Differential Revision:https://reviews.freebsd.org/D14836 Modified: head/tools/build/

svn commit: r333587 - head/sys/i386/include

2018-05-13 Thread Konstantin Belousov
Author: kib Date: Sun May 13 20:10:02 2018 New Revision: 333587 URL: https://svnweb.freebsd.org/changeset/base/333587 Log: Fix PMC_IN_TRAP_HANDLER() for i386 after the 4/4 split. Sponsored by: The FreeBSD Foundation Modified: head/sys/i386/include/pmc_mdep.h Modified: head/sys/i386/incl

svn commit: r333586 - head/sys/fs/ext2fs

2018-05-13 Thread Fedor Uporov
Author: fsu Date: Sun May 13 19:48:30 2018 New Revision: 333586 URL: https://svnweb.freebsd.org/changeset/base/333586 Log: Fix directory blocks checksumming. Reviewed by:pfg MFC after: 3 months Differential Revision:https://reviews.freebsd.org/D15396 Modified: head/sy

svn commit: r333585 - head/sys/fs/ext2fs

2018-05-13 Thread Fedor Uporov
Author: fsu Date: Sun May 13 19:29:35 2018 New Revision: 333585 URL: https://svnweb.freebsd.org/changeset/base/333585 Log: Fix on-disk inode checksum calculation logic. Reviewed by:pfg MFC after: 3 months Differential Revision:https://reviews.freebsd.org/D15395 Modified

svn commit: r333584 - head/sys/fs/ext2fs

2018-05-13 Thread Fedor Uporov
Author: fsu Date: Sun May 13 19:19:10 2018 New Revision: 333584 URL: https://svnweb.freebsd.org/changeset/base/333584 Log: Fix EXT2FS_DEBUG definition usage. Reviewed by:pfg MFC after: 3 months Differential Revision:https://reviews.freebsd.org/D15394 Modified: head/sy

svn commit: r333581 - head/sys/vm

2018-05-13 Thread Mark Johnston
Author: markj Date: Sun May 13 13:00:59 2018 New Revision: 333581 URL: https://svnweb.freebsd.org/changeset/base/333581 Log: Get rid of vm_pageout_page_queued(). vm_page_queue(), added in r333256, generalizes vm_pageout_page_queued(), so use it instead. No functional change intended.

svn commit: r333580 - head/sys/fs/nfsserver

2018-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 13 12:42:53 2018 New Revision: 333580 URL: https://svnweb.freebsd.org/changeset/base/333580 Log: Fix a slow leak of session structures in the NFSv4.1 server. For a fairly rare case of a client doing an ExchangeID after a hard reboot, the old confirmed client

svn commit: r333579 - head/sys/fs/nfsserver

2018-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 13 12:29:09 2018 New Revision: 333579 URL: https://svnweb.freebsd.org/changeset/base/333579 Log: The NFSv4.1 server should return NFSERR_BACKCHANBUSY instead of NFS_OK. When an NFSv4.1 session is busy due to a callback being in progress, nfsrv_freesession()

svn commit: r333577 - in head: include lib/libc/softfloat/bits64 lib/msun lib/msun/man lib/msun/src

2018-05-13 Thread Konstantin Belousov
Author: kib Date: Sun May 13 09:54:34 2018 New Revision: 333577 URL: https://svnweb.freebsd.org/changeset/base/333577 Log: Add implementations for clog(3), clogf(3), and clog(3). PR: 216863 Submitted by: bde, Steven G. Kargl MFC after:2 weeks Added: head/lib/msun/man/clog.3

svn commit: r333576 - in head/sys: kern sys ufs/ffs

2018-05-13 Thread Konstantin Belousov
Author: kib Date: Sun May 13 09:47:28 2018 New Revision: 333576 URL: https://svnweb.freebsd.org/changeset/base/333576 Log: Detect and optimize reads from the hole on UFS. - Create getblkx(9) variant of getblk(9) which can return error. - Add GB_NOSPARSE flag for getblk()/getblkx() which r