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

2018-05-12 Thread Matt Macy
Author: mmacy Date: Sat May 12 20:00:29 2018 New Revision: 333575 URL: https://svnweb.freebsd.org/changeset/base/333575 Log: hwpmc/epoch - don't reference domain if NUMA is not set It appears that domain information is set correctly independent of whether or not NUMA is defined. However,

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: 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: 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: 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

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: 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: 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: r333689 - head/sys/net

2018-05-16 Thread Matt Macy
Author: mmacy Date: Wed May 16 22:25:47 2018 New Revision: 333689 URL: https://svnweb.freebsd.org/changeset/base/333689 Log: Fix !netmap build post r333686 Approved by: sbruno Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c

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

2018-05-16 Thread Matt Macy
Author: mmacy Date: Wed May 16 22:29:20 2018 New Revision: 333690 URL: https://svnweb.freebsd.org/changeset/base/333690 Log: hwpmc: Implement per-thread counters for PMC sampling This implements per-thread counters for PMC sampling. The thread descriptors are stored in a list attached to

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

2018-05-16 Thread Matt Macy
Author: mmacy Date: Thu May 17 00:45:35 2018 New Revision: 333695 URL: https://svnweb.freebsd.org/changeset/base/333695 Log: epoch(9): Guarantee forward progress on busy sections Add epoch section to struct thread. We can use this to ennable epoch counter to advance even if a section is

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

2018-05-16 Thread Matt Macy
Author: mmacy Date: Thu May 17 01:13:40 2018 New Revision: 333697 URL: https://svnweb.freebsd.org/changeset/base/333697 Log: epoch(9): make recursion lighter weight There isn't any real work to do except bump td_epochnest when recursing. Skip the additional work in this case. Approve

svn commit: r333700 - head/sys/sys

2018-05-16 Thread Matt Macy
Author: mmacy Date: Thu May 17 02:54:30 2018 New Revision: 333700 URL: https://svnweb.freebsd.org/changeset/base/333700 Log: Fix i386 build Move epoch_section to after td_emuldata, but note the 3 surrounding LP64 holes while I'm here. Approved by: sbruno Modified: head/sys/sys/pr

svn commit: r333701 - head/sys/vm

2018-05-16 Thread Matt Macy
Author: mmacy Date: Thu May 17 03:19:31 2018 New Revision: 333701 URL: https://svnweb.freebsd.org/changeset/base/333701 Log: Fix powerpc64 LINT vm_object_reserve() == true is impossible on power. Make conditional on VM_LEVEL_0_ORDER being defined. Reviewed by: jeff Approved by: s

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

2018-05-17 Thread Matt Macy
Author: mmacy Date: Thu May 17 17:59:35 2018 New Revision: 333744 URL: https://svnweb.freebsd.org/changeset/base/333744 Log: AF_UNIX: make unix socket locking finer grained This change moves to using a reference count across lock drop / reacquire to guarantee liveness. Currently send

svn commit: r333745 - in head/sys/contrib/ck: include src

2018-05-17 Thread Matt Macy
Author: mmacy Date: Thu May 17 18:14:10 2018 New Revision: 333745 URL: https://svnweb.freebsd.org/changeset/base/333745 Log: ck: add support for executing callbacks outside of main poll loop Pull in change from upstream deca119d14bfffd440770eb67cbdbeaf7b57eb7b |ck_epoch: introduce

svn commit: r333755 - head/sys/kern

2018-05-17 Thread Matt Macy
Author: mmacy Date: Thu May 17 19:08:28 2018 New Revision: 333755 URL: https://svnweb.freebsd.org/changeset/base/333755 Log: epoch(9): restore thread priority on exit if it was changed by a waiter Reported by: markj Approved by: sbruno Modified: head/sys/kern/subr_epoch.c Modified:

svn commit: r333757 - head/sys/sys

2018-05-17 Thread Matt Macy
Author: mmacy Date: Thu May 17 19:30:57 2018 New Revision: 333757 URL: https://svnweb.freebsd.org/changeset/base/333757 Log: epoch(9): missed add from r333755 Reported by: flo Approved by: sbruno Modified: head/sys/sys/proc.h Modified: head/sys/sys/proc.h ===

svn commit: r333758 - head/sys/kern

2018-05-17 Thread Matt Macy
Author: mmacy Date: Thu May 17 19:41:58 2018 New Revision: 333758 URL: https://svnweb.freebsd.org/changeset/base/333758 Log: epoch(9): fix potential deadlock Don't acquire a waiting thread's lock while holding our own Approved by: sbruno Modified: head/sys/kern/subr_epoch.c Modifi

svn commit: r333759 - head/sys/kern

2018-05-17 Thread Matt Macy
Author: mmacy Date: Thu May 17 19:50:55 2018 New Revision: 333759 URL: https://svnweb.freebsd.org/changeset/base/333759 Log: epoch(9): eliminate the need to wait when polling for callbacks to run by using ck's own callback handling mechanism we can simply check which callbacks have had a

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

2018-05-17 Thread Matt Macy
Author: mmacy Date: Thu May 17 19:57:07 2018 New Revision: 333761 URL: https://svnweb.freebsd.org/changeset/base/333761 Log: epoch(9): schedule pcpu callback task in hardclock if there are callbacks pending Approved by: sbruno Modified: head/sys/kern/kern_clock.c head/sys/kern/subr_e

svn commit: r333765 - head/sys/conf

2018-05-17 Thread Matt Macy
Author: mmacy Date: Thu May 17 21:04:19 2018 New Revision: 333765 URL: https://svnweb.freebsd.org/changeset/base/333765 Log: powerpc: fix LINT build netmap currently doesn't build, take it out of LINT to prevent hiding regressions in universe Reviewed by: jhibbits Approved by: sb

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

2018-05-17 Thread Matt Macy
Author: mmacy Date: Thu May 17 21:39:15 2018 New Revision: 333769 URL: https://svnweb.freebsd.org/changeset/base/333769 Log: epoch: skip poll function call in hardclock unless there are callbacks pending Reported by: mjg Approved by: sbruno Modified: head/sys/kern/kern_clock.c head

svn commit: r333775 - in head/sys: kern net sys tests/epoch

2018-05-17 Thread Matt Macy
Author: mmacy Date: Fri May 18 01:52:51 2018 New Revision: 333775 URL: https://svnweb.freebsd.org/changeset/base/333775 Log: epoch: add non-preemptible "critical" variant adds: - epoch_enter_critical() - can be called inside a different epoch, starts a section that will acquire any MT

svn commit: r333776 - head/sys/kern

2018-05-17 Thread Matt Macy
Author: mmacy Date: Fri May 18 02:57:39 2018 New Revision: 333776 URL: https://svnweb.freebsd.org/changeset/base/333776 Log: epoch: actually allocate the counters we've assigned sysctls too Approved by: sbruno Modified: head/sys/kern/subr_epoch.c Modified: head/sys/kern/subr_epoch.c ==

svn commit: r333778 - in head/sys: conf dev/netmap

2018-05-17 Thread Matt Macy
Author: mmacy Date: Fri May 18 03:38:17 2018 New Revision: 333778 URL: https://svnweb.freebsd.org/changeset/base/333778 Log: netmap: pull fix for 32-bit support from upstream Approved by: sbruno Modified: head/sys/conf/makeLINT.mk head/sys/dev/netmap/if_ptnet.c head/sys/dev/netmap/n

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

2018-05-17 Thread Matt Macy
Author: mmacy Date: Fri May 18 04:13:58 2018 New Revision: 333781 URL: https://svnweb.freebsd.org/changeset/base/333781 Log: epoch(9): fix error in example and update API reference Submitted by: hps Approved by: sbruno Modified: head/share/man/man9/epoch.9 Modified: head/share/man/ma

svn commit: r333802 - in head: share/man/man9 sys/dev/hwpmc sys/kern sys/net sys/sys sys/tests/epoch

2018-05-18 Thread Matt Macy
Author: mmacy Date: Fri May 18 17:29:43 2018 New Revision: 333802 URL: https://svnweb.freebsd.org/changeset/base/333802 Log: epoch(9): Make epochs non-preemptible by default There are risks associated with waiting on a preemptible epoch section. Change the name to make them not be the def

svn commit: r333807 - head/sys/net

2018-05-18 Thread Matt Macy
Author: mmacy Date: Fri May 18 17:58:15 2018 New Revision: 333807 URL: https://svnweb.freebsd.org/changeset/base/333807 Log: epoch: move epoch variables to read mostly section Modified: head/sys/net/if.c Modified: head/sys/net/if.c

svn commit: r333808 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Fri May 18 18:27:17 2018 New Revision: 333808 URL: https://svnweb.freebsd.org/changeset/base/333808 Log: epoch(9): assert that epoch is allocated post-configure Modified: head/sys/kern/subr_epoch.c Modified: head/sys/kern/subr_epoch.c =

svn commit: r333809 - head/sys/net

2018-05-18 Thread Matt Macy
Author: mmacy Date: Fri May 18 18:48:00 2018 New Revision: 333809 URL: https://svnweb.freebsd.org/changeset/base/333809 Log: epoch(9): allocate net epochs earlier in boot Modified: head/sys/net/if.c Modified: head/sys/net/if.c =

svn commit: r333813 - in head/sys: arm/allwinner arm/at91 arm/cavium/cns11xx arm/ralink arm/ti/cpsw arm/xscale/ixp425 compat/linux contrib/ipfilter/netinet dev/ae dev/age dev/al_eth dev/alc dev/ale...

2018-05-18 Thread Matt Macy
Author: mmacy Date: Fri May 18 20:13:34 2018 New Revision: 333813 URL: https://svnweb.freebsd.org/changeset/base/333813 Log: ifnet: Replace if_addr_lock rwlock with epoch + mutex Run on LLNW canaries and tested by pho@ gallatin: Using a 14-core, 28-HTT single socket E5-2697 v3 with a

svn commit: r333817 - head/sys/sys

2018-05-18 Thread Matt Macy
Author: mmacy Date: Fri May 18 23:17:49 2018 New Revision: 333817 URL: https://svnweb.freebsd.org/changeset/base/333817 Log: Annotate td_pre_epoch_prio in struct thread Reported by: jhb Modified: head/sys/sys/proc.h Modified: head/sys/sys/proc.h

svn commit: r333819 - in head/sys: conf modules/blake2 modules/crypto modules/drm2/i915kms modules/ipfilter

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 00:04:01 2018 New Revision: 333819 URL: https://svnweb.freebsd.org/changeset/base/333819 Log: Silence non-actionable warnings in vendor code We can't modify vendor code so there's no signal in warnings from it. Similarly -Waddress-of-packed-member is not use

svn commit: r333822 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 02:15:40 2018 New Revision: 333822 URL: https://svnweb.freebsd.org/changeset/base/333822 Log: fix gcc8 unused variable and set but not used variable in unix sockets add copyright from lock rewrite while here Modified: head/sys/kern/uipc_usrreq.c Modified: hea

svn commit: r333823 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 02:17:18 2018 New Revision: 333823 URL: https://svnweb.freebsd.org/changeset/base/333823 Log: pidctrl Actually use the variables that we assign to as seatbelts to prevent divide by zero Reviewed by: jeffr Modified: head/sys/kern/subr_pidctrl.c Modified

svn commit: r333828 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 03:48:35 2018 New Revision: 333828 URL: https://svnweb.freebsd.org/changeset/base/333828 Log: sys_process.c fix set but not used warning Modified: head/sys/kern/sys_process.c Modified: head/sys/kern/sys_process.c

svn commit: r333827 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 03:47:37 2018 New Revision: 333827 URL: https://svnweb.freebsd.org/changeset/base/333827 Log: subr_epoch.c fix unused variable warnings Modified: head/sys/kern/subr_epoch.c Modified: head/sys/kern/subr_epoch.c ===

svn commit: r333834 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 03:57:41 2018 New Revision: 333834 URL: https://svnweb.freebsd.org/changeset/base/333834 Log: signotify: don't create a stack local that isn't used on non-debug builds Modified: head/sys/kern/kern_sig.c Modified: head/sys/kern/kern_sig.c ===

svn commit: r333830 - head/sys/sys

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 03:50:29 2018 New Revision: 333830 URL: https://svnweb.freebsd.org/changeset/base/333830 Log: add DBGSET macro to conditionally assign to a variable depending on INVARIANTS Modified: head/sys/sys/systm.h Modified: head/sys/sys/systm.h ==

svn commit: r333831 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 03:52:55 2018 New Revision: 333831 URL: https://svnweb.freebsd.org/changeset/base/333831 Log: fix uninitialized variable warning in reader locks Modified: head/sys/kern/kern_rwlock.c head/sys/kern/kern_sx.c Modified: head/sys/kern/kern_rwlock.c ==

svn commit: r333829 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 03:49:36 2018 New Revision: 333829 URL: https://svnweb.freebsd.org/changeset/base/333829 Log: fix uninitialized variable warning Modified: head/sys/kern/subr_prf.c head/sys/kern/uipc_sockbuf.c Modified: head/sys/kern/subr_prf.c ===

svn commit: r333832 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 03:55:42 2018 New Revision: 333832 URL: https://svnweb.freebsd.org/changeset/base/333832 Log: remove unused variable Modified: head/sys/kern/kern_shutdown.c Modified: head/sys/kern/kern_shutdown.c

svn commit: r333833 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 03:56:39 2018 New Revision: 333833 URL: https://svnweb.freebsd.org/changeset/base/333833 Log: sysv_msg initialize saved_msgsz Modified: head/sys/kern/sysv_msg.c Modified: head/sys/kern/sysv_msg.c =

svn commit: r333835 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 03:58:40 2018 New Revision: 333835 URL: https://svnweb.freebsd.org/changeset/base/333835 Log: remove unused locked variable in lockmgr_unlock_fast_path Modified: head/sys/kern/kern_lock.c Modified: head/sys/kern/kern_lock.c =

svn commit: r333837 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:02:29 2018 New Revision: 333837 URL: https://svnweb.freebsd.org/changeset/base/333837 Log: tty: conditionally assign to ret value only used by MPASS statement Modified: head/sys/kern/tty_inq.c head/sys/kern/tty_outq.c Modified: head/sys/kern/tty_inq.c

svn commit: r333840 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:07:00 2018 New Revision: 333840 URL: https://svnweb.freebsd.org/changeset/base/333840 Log: filt_timerdetach: only assign to old if we're going to check it in a KASSERT Modified: head/sys/kern/kern_event.c Modified: head/sys/kern/kern_event.c ==

svn commit: r333839 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:05:36 2018 New Revision: 333839 URL: https://svnweb.freebsd.org/changeset/base/333839 Log: getnextevent: put variable only used by KTR under ifdef KTR Modified: head/sys/kern/kern_clocksource.c Modified: head/sys/kern/kern_clocksource.c =

svn commit: r333838 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:04:44 2018 New Revision: 333838 URL: https://svnweb.freebsd.org/changeset/base/333838 Log: simplify control flow so that gcc knows we never pass save to curthread_pflags_restore without initializing Modified: head/sys/kern/subr_uio.c Modified: head/sys/ke

svn commit: r333842 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:09:58 2018 New Revision: 333842 URL: https://svnweb.freebsd.org/changeset/base/333842 Log: physio: avoid uninitialized variables Modified: head/sys/kern/kern_physio.c Modified: head/sys/kern/kern_physio.c =

svn commit: r333843 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:10:53 2018 New Revision: 333843 URL: https://svnweb.freebsd.org/changeset/base/333843 Log: mqueue: avoid unused variables Modified: head/sys/kern/uipc_mqueue.c Modified: head/sys/kern/uipc_mqueue.c

svn commit: r333841 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:08:11 2018 New Revision: 333841 URL: https://svnweb.freebsd.org/changeset/base/333841 Log: cache_lookup remove unused variable and initialize used Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c ===

svn commit: r333844 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:13:20 2018 New Revision: 333844 URL: https://svnweb.freebsd.org/changeset/base/333844 Log: make_dev: avoid unused assignments on non debug builds Modified: head/sys/kern/kern_conf.c Modified: head/sys/kern/kern_conf.c

svn commit: r333845 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:14:00 2018 New Revision: 333845 URL: https://svnweb.freebsd.org/changeset/base/333845 Log: cpuset_thread0: avoid unused assignment on non debug build Modified: head/sys/kern/kern_cpuset.c Modified: head/sys/kern/kern_cpuset.c

svn commit: r333847 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:43:49 2018 New Revision: 333847 URL: https://svnweb.freebsd.org/changeset/base/333847 Log: malloc: avoid possibly returning stack garbage if MALLOC_DEBUG is defined Modified: head/sys/kern/kern_malloc.c Modified: head/sys/kern/kern_malloc.c =

svn commit: r333848 - in head/sys: conf modules/bxe modules/drm2/i915kms modules/drm2/radeonkms

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:46:34 2018 New Revision: 333848 URL: https://svnweb.freebsd.org/changeset/base/333848 Log: disable set but not used on code that can't be changed Modified: head/sys/conf/kern.mk head/sys/modules/bxe/Makefile head/sys/modules/drm2/i915kms/Makefile head/s

svn commit: r333849 - head/sys/sys

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:47:34 2018 New Revision: 333849 URL: https://svnweb.freebsd.org/changeset/base/333849 Log: epoch: avoid warning when INVARIANTS is not enabled Modified: head/sys/sys/epoch.h Modified: head/sys/sys/epoch.h =

svn commit: r333850 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:48:26 2018 New Revision: 333850 URL: https://svnweb.freebsd.org/changeset/base/333850 Log: tty: use __unused annotation instead to silence warnings Modified: head/sys/kern/tty_inq.c head/sys/kern/tty_outq.c Modified: head/sys/kern/tty_inq.c ===

svn commit: r333852 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 04:59:39 2018 New Revision: 333852 URL: https://svnweb.freebsd.org/changeset/base/333852 Log: vfs: annotate variables only used by debug builds as __unused Modified: head/sys/kern/vfs_bio.c head/sys/kern/vfs_lookup.c head/sys/kern/vfs_subr.c Modified: head/

svn commit: r333853 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:00:16 2018 New Revision: 333853 URL: https://svnweb.freebsd.org/changeset/base/333853 Log: turnstile / sleepqueue: annotate variables only used by debug builds Modified: head/sys/kern/subr_sleepqueue.c head/sys/kern/subr_turnstile.c Modified: head/sys/kern

svn commit: r333854 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:02:40 2018 New Revision: 333854 URL: https://svnweb.freebsd.org/changeset/base/333854 Log: capsicum: annotate variable only used by debug Modified: head/sys/kern/subr_capability.c Modified: head/sys/kern/subr_capability.c

svn commit: r333855 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:04:38 2018 New Revision: 333855 URL: https://svnweb.freebsd.org/changeset/base/333855 Log: lockf: annotate LOCKF_DEBUG only var Modified: head/sys/kern/kern_lockf.c Modified: head/sys/kern/kern_lockf.c

svn commit: r333856 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:06:18 2018 New Revision: 333856 URL: https://svnweb.freebsd.org/changeset/base/333856 Log: kevent: annotate unused stack local Modified: head/sys/kern/kern_event.c Modified: head/sys/kern/kern_event.c =

svn commit: r333857 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:07:03 2018 New Revision: 333857 URL: https://svnweb.freebsd.org/changeset/base/333857 Log: conf: revert last change and annotate unused var instead Modified: head/sys/kern/kern_conf.c Modified: head/sys/kern/kern_conf.c ==

svn commit: r333858 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:07:31 2018 New Revision: 333858 URL: https://svnweb.freebsd.org/changeset/base/333858 Log: cpuset: revert and annotate instead Modified: head/sys/kern/kern_cpuset.c Modified: head/sys/kern/kern_cpuset.c ===

svn commit: r333859 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:09:10 2018 New Revision: 333859 URL: https://svnweb.freebsd.org/changeset/base/333859 Log: umtx: don't call umtxq_getchain unless the value is needed Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c

svn commit: r333860 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:10:51 2018 New Revision: 333860 URL: https://svnweb.freebsd.org/changeset/base/333860 Log: sendfile: annotate unused value and ensure that npages is actually initialized Modified: head/sys/kern/kern_sendfile.c Modified: head/sys/kern/kern_sendfile.c

svn commit: r333861 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:12:18 2018 New Revision: 333861 URL: https://svnweb.freebsd.org/changeset/base/333861 Log: intr: eliminate / annotate unused stack locals Modified: head/sys/kern/kern_intr.c Modified: head/sys/kern/kern_intr.c

svn commit: r333862 - head/sys/sys

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:12:57 2018 New Revision: 333862 URL: https://svnweb.freebsd.org/changeset/base/333862 Log: back out DBGSET macro Modified: head/sys/sys/systm.h Modified: head/sys/sys/systm.h == ---

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

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:14:05 2018 New Revision: 333863 URL: https://svnweb.freebsd.org/changeset/base/333863 Log: capsicum: propagate const correctness Modified: head/sys/kern/kern_descrip.c head/sys/kern/sys_capability.c head/sys/sys/capsicum.h Modified: head/sys/kern/kern_de

svn commit: r333864 - head/sys/net

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:27:49 2018 New Revision: 333864 URL: https://svnweb.freebsd.org/changeset/base/333864 Log: net: fix set but not used Modified: head/sys/net/if_clone.c head/sys/net/if_epair.c head/sys/net/if_lagg.c head/sys/net/if_stf.c head/sys/net/if_vxlan.c head/

svn commit: r333866 - head/sys/kern

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:37:58 2018 New Revision: 333866 URL: https://svnweb.freebsd.org/changeset/base/333866 Log: AF_UNIX: switch to annotations to avoid warnings Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/kern/uipc_usrreq.c ==

svn commit: r333865 - head/sys/dev/netmap

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:37:18 2018 New Revision: 333865 URL: https://svnweb.freebsd.org/changeset/base/333865 Log: netmap: compare e1 with e2, not with itself Modified: head/sys/dev/netmap/netmap_freebsd.c Modified: head/sys/dev/netmap/netmap_freebsd.c =

svn commit: r333867 - head/sys/netinet

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:55:00 2018 New Revision: 333867 URL: https://svnweb.freebsd.org/changeset/base/333867 Log: tcp fastopen: fix may be uninitialized Modified: head/sys/netinet/tcp_fastopen.c Modified: head/sys/netinet/tcp_fastopen.c

svn commit: r333868 - head/sys/netinet

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:55:31 2018 New Revision: 333868 URL: https://svnweb.freebsd.org/changeset/base/333868 Log: tcp sysctl fix may be uninitialized Modified: head/sys/netinet/tcp_subr.c Modified: head/sys/netinet/tcp_subr.c ===

svn commit: r333869 - head/sys/netinet

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:56:21 2018 New Revision: 333869 URL: https://svnweb.freebsd.org/changeset/base/333869 Log: netinet silence warnings Modified: head/sys/netinet/igmp.c head/sys/netinet/in.c head/sys/netinet/in_mcast.c head/sys/netinet/ip_mroute.c head/sys/netinet/sctp_

svn commit: r333871 - head/sys/amd64/amd64

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:58:05 2018 New Revision: 333871 URL: https://svnweb.freebsd.org/changeset/base/333871 Log: pmap: silence warnings Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c

svn commit: r333870 - in head/sys/dev: bnxt ixgbe netmap

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 05:57:26 2018 New Revision: 333870 URL: https://svnweb.freebsd.org/changeset/base/333870 Log: netmap and iflib drivers, silence unused var warnings Modified: head/sys/dev/bnxt/bnxt_hwrm.c head/sys/dev/bnxt/bnxt_txrx.c head/sys/dev/ixgbe/ix_txrx.c head/sys/

svn commit: r333872 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2018-05-18 Thread Matt Macy
Author: mmacy Date: Sat May 19 06:31:17 2018 New Revision: 333872 URL: https://svnweb.freebsd.org/changeset/base/333872 Log: ctfconvert: silence useless enum has too many values warning Modified: head/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c Modified: head/cddl/contrib/opensolaris/tools/

svn commit: r333873 - head/sys/kern

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sat May 19 07:04:43 2018 New Revision: 333873 URL: https://svnweb.freebsd.org/changeset/base/333873 Log: intr unbreak KTR/LINT build Modified: head/sys/kern/kern_intr.c Modified: head/sys/kern/kern_intr.c ===

svn commit: r333874 - head/sys/kern

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sat May 19 07:31:35 2018 New Revision: 333874 URL: https://svnweb.freebsd.org/changeset/base/333874 Log: Unbreak BeagleBone Black boot by collapsing 29 SYSINITs in to 1 Reported by: ilya at bakulin.de Modified: head/sys/kern/subr_capability.c Modified: head/sys/kern

svn commit: r333879 - head/sys/net

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sat May 19 16:44:12 2018 New Revision: 333879 URL: https://svnweb.freebsd.org/changeset/base/333879 Log: mp_ring: fix i386 Even though 64-bit atomics are supported on i386 there are panics indicating that the code does not work correctly there. Switch to mutex based

svn commit: r333882 - head/sys/dev/bhnd/tools

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sat May 19 18:15:41 2018 New Revision: 333882 URL: https://svnweb.freebsd.org/changeset/base/333882 Log: bhnd nvram map: don't write "variable records written" to standard out by default Add -v (verbose) option for the developers. The rest of us derive no value from t

svn commit: r333883 - head/sys/crypto/skein/amd64

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sat May 19 18:27:14 2018 New Revision: 333883 URL: https://svnweb.freebsd.org/changeset/base/333883 Log: disable printing value of SKEIN_LOOP during standard out, not useful information Modified: head/sys/crypto/skein/amd64/skein_block_asm.s Modified: head/sys/crypto/sk

svn commit: r333885 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sat May 19 18:50:58 2018 New Revision: 333885 URL: https://svnweb.freebsd.org/changeset/base/333885 Log: ctf dwarf: don't report "no dwarf entry" as if it were an error Modified: head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c Modified: head/cddl/contrib/opensolaris/t

svn commit: r333886 - head/sys/net

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sat May 19 19:00:04 2018 New Revision: 333886 URL: https://svnweb.freebsd.org/changeset/base/333886 Log: net: fix uninitialized variable warning Modified: head/sys/net/if.c head/sys/net/iflib.c Modified: head/sys/net/if.c

svn commit: r333888 - in head/sys/ufs: ffs ufs

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sat May 19 19:30:42 2018 New Revision: 333888 URL: https://svnweb.freebsd.org/changeset/base/333888 Log: ufs: remove cgbno variable where unused Modified: head/sys/ufs/ffs/ffs_alloc.c head/sys/ufs/ufs/ufs_gjournal.c Modified: head/sys/ufs/ffs/ffs_alloc.c ===

svn commit: r333905 - in head/sys: netinet netinet6

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sun May 20 00:22:28 2018 New Revision: 333905 URL: https://svnweb.freebsd.org/changeset/base/333905 Log: ip(6)_freemoptions: defer imo destruction to epoch callback task Avoid the ugly unlock / lock of the inpcbinfo where we need to figure out what kind of lock we hold

svn commit: r333906 - head/sys/sys

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sun May 20 01:00:56 2018 New Revision: 333906 URL: https://svnweb.freebsd.org/changeset/base/333906 Log: epoch.h: move kernel only bits under _KERNEL Modified: head/sys/sys/epoch.h Modified: head/sys/sys/epoch.h

svn commit: r333910 - head/sys/netinet

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sun May 20 02:17:30 2018 New Revision: 333910 URL: https://svnweb.freebsd.org/changeset/base/333910 Log: in_pcb: add helper for deferring inpcb rele calls from list functions Modified: head/sys/netinet/in_pcb.c head/sys/netinet/in_pcb.h Modified: head/sys/netinet/in_pcb

svn commit: r333911 - head/sys/netinet

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sun May 20 02:27:58 2018 New Revision: 333911 URL: https://svnweb.freebsd.org/changeset/base/333911 Log: inpcb: consolidate possible deletion in pcblist functions in to epoch deferred context. Modified: head/sys/netinet/ip_divert.c head/sys/netinet/raw_ip.c head/sys/

svn commit: r333913 - head/sys/sys

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sun May 20 04:15:12 2018 New Revision: 333913 URL: https://svnweb.freebsd.org/changeset/base/333913 Log: epoch.h: hide proc.h->priority.h from user Modified: head/sys/sys/epoch.h Modified: head/sys/sys/epoch.h ==

svn commit: r333915 - head/sys/netinet

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sun May 20 04:38:04 2018 New Revision: 333915 URL: https://svnweb.freebsd.org/changeset/base/333915 Log: inpcb: defer destruction of inpcb until after a grace period has elapsed in_pcbfree will remove the incpb from the list and release the rtentry while the vnet is se

svn commit: r333914 - head/sys/kern

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sun May 20 04:32:48 2018 New Revision: 333914 URL: https://svnweb.freebsd.org/changeset/base/333914 Log: AF_UNIX: make unpcb lock name line up with what's in witness Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/kern/uipc_usrreq.c ==

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

2018-05-19 Thread Matt Macy
Author: mmacy Date: Sun May 20 05:13:12 2018 New Revision: 333920 URL: https://svnweb.freebsd.org/changeset/base/333920 Log: Add additional preinitialized cap_rights Modified: head/sys/kern/subr_capability.c head/sys/kern/vfs_syscalls.c head/sys/sys/capsicum.h Modified: head/sys/kern/sub

svn commit: r333924 - head/sys/fs/nfsclient

2018-05-20 Thread Matt Macy
Author: mmacy Date: Sun May 20 06:14:12 2018 New Revision: 333924 URL: https://svnweb.freebsd.org/changeset/base/333924 Log: nfsclient: warnings cleanups Modified: head/sys/fs/nfsclient/nfs_clcomsubs.c head/sys/fs/nfsclient/nfs_clrpcops.c Modified: head/sys/fs/nfsclient/nfs_clcomsubs.c ===

svn commit: r333921 - head/sys/kern

2018-05-20 Thread Matt Macy
Author: mmacy Date: Sun May 20 05:50:53 2018 New Revision: 333921 URL: https://svnweb.freebsd.org/changeset/base/333921 Log: AF_UNIX: fix LOR introduced by the locking rewrite Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/kern/uipc_usrreq.c

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

2018-05-20 Thread Matt Macy
Author: mmacy Date: Sun May 20 19:35:24 2018 New Revision: 333935 URL: https://svnweb.freebsd.org/changeset/base/333935 Log: pmc: avoid potential race on shutdown Clear shutdown flag first, conservatively allow 5ms for all hardclock consumers to see flag before drainining Modified: he

svn commit: r333936 - head/sys/netinet

2018-05-20 Thread Matt Macy
Author: mmacy Date: Sun May 20 20:08:21 2018 New Revision: 333936 URL: https://svnweb.freebsd.org/changeset/base/333936 Log: in(s)_moptions: free before tearing down inpcb Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet/in_pcb.c

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

2018-05-20 Thread Matt Macy
Author: mmacy Date: Sun May 20 20:34:15 2018 New Revision: 333938 URL: https://svnweb.freebsd.org/changeset/base/333938 Log: pmc: detach free_gtask on unload Reported by: pho Modified: head/sys/dev/hwpmc/hwpmc_mod.c Modified: head/sys/dev/hwpmc/hwpmc_mod.c =

  1   2   3   4   >