svn commit: r349288 - head/sys/ddb

2019-06-21 Thread Ryan Libby
Author: rlibby Date: Sat Jun 22 05:35:23 2019 New Revision: 349288 URL: https://svnweb.freebsd.org/changeset/base/349288 Log: ddb show proc typo Modified: head/sys/ddb/db_ps.c Modified: head/sys/ddb/db_ps.c == --- he

svn commit: r349373 - head/sys/netipsec

2019-06-25 Thread Ryan Libby
Author: rlibby Date: Tue Jun 25 15:43:52 2019 New Revision: 349373 URL: https://svnweb.freebsd.org/changeset/base/349373 Log: netipsec key_register: check for M_NOWAIT alloc failure Reviewed by: ae, cem Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd

svn commit: r347628 - in head/sys: amd64/amd64 i386/i386

2019-05-15 Thread Ryan Libby
Author: rlibby Date: Wed May 15 18:13:43 2019 New Revision: 347628 URL: https://svnweb.freebsd.org/changeset/base/347628 Log: x86: spell vpxor %zmm0 as vpxord Fix gcc/gas amd64 & i386 build after r347566. Reviewed by: kib Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r347645 - head/sys/x86/iommu

2019-05-15 Thread Ryan Libby
Author: rlibby Date: Thu May 16 04:24:08 2019 New Revision: 347645 URL: https://svnweb.freebsd.org/changeset/base/347645 Log: iommu static analysis cleanup A static analyzer complained about a couple instances of checking a variable against NULL after already having dereferenced it. -

svn commit: r347646 - head/sys/ddb

2019-05-15 Thread Ryan Libby
Author: rlibby Date: Thu May 16 05:29:54 2019 New Revision: 347646 URL: https://svnweb.freebsd.org/changeset/base/347646 Log: db show thread: avoid overflow in tick conversion The previous calculations for displaying the time since last switch easily overflowed, after less than 36 min for

svn commit: r348770 - in head: share/man/man9 sys/sys

2019-06-06 Thread Ryan Libby
Author: rlibby Date: Fri Jun 7 04:09:12 2019 New Revision: 348770 URL: https://svnweb.freebsd.org/changeset/base/348770 Log: Allow fail points to have separate declarations, definitions, and evals Submitted by: Matthew Bryan Reviewed by: cem Sponsored by: Dell EMC Isilon Differenti

Re: svn commit: r334708 - head/sys/kern

2018-06-07 Thread Ryan Libby
On Thu, Jun 7, 2018 at 8:32 PM, Mark Johnston wrote: > On Wed, Jun 06, 2018 at 05:03:11PM +0300, Konstantin Belousov wrote: >> On Wed, Jun 06, 2018 at 12:57:12PM +, Justin Hibbits wrote: >> > Author: jhibbits >> > Date: Wed Jun 6 12:57:11 2018 >> > New Revision: 334708 >> > URL: https://svnwe

Re: svn commit: r334708 - head/sys/kern

2018-06-07 Thread Ryan Libby
On Thu, Jun 7, 2018 at 10:03 PM, Mateusz Guzik wrote: > On Fri, Jun 8, 2018 at 6:29 AM, Ryan Libby wrote: >> >> On Thu, Jun 7, 2018 at 8:32 PM, Mark Johnston wrote: >> > On Wed, Jun 06, 2018 at 05:03:11PM +0300, Konstantin Belousov wrote: >> >> On Wed, Jun

svn commit: r334957 - in head: lib/libpmc usr.sbin/pmc

2018-06-11 Thread Ryan Libby
Author: rlibby Date: Mon Jun 11 16:09:54 2018 New Revision: 334957 URL: https://svnweb.freebsd.org/changeset/base/334957 Log: pmc gcc fixups Fix the build of lib/libpmc and usr.sbin/pmc for gcc on amd64. Reviewed by:mmacy Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r335076 - head/sys/i386/i386

2018-06-13 Thread Ryan Libby
Author: rlibby Date: Wed Jun 13 19:57:03 2018 New Revision: 335076 URL: https://svnweb.freebsd.org/changeset/base/335076 Log: i386: copyin/copyout error is EFAULT Discussed with: kib MFC with: r332489 Sponsored by: Dell EMC Isilon Modified: head/sys/i386/i386/copyout.c Mod

Re: svn commit: r335094 - head/sys/ofed/drivers/infiniband/core

2018-06-13 Thread Ryan Libby
On Wed, Jun 13, 2018 at 4:30 PM, Matt Macy wrote: > Author: mmacy > Date: Wed Jun 13 23:30:54 2018 > New Revision: 335094 > URL: https://svnweb.freebsd.org/changeset/base/335094 > > Log: > fix OFED build after r335053 > > Modified: > head/sys/ofed/drivers/infiniband/core/ib_user_mad.c > > Modi

svn commit: r355969 - head/sys/sys

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:43:20 2019 New Revision: 355969 URL: https://svnweb.freebsd.org/changeset/base/355969 Log: gcc: quiet Wattribute for no_sanitize("address") This is an unfortunate instance where the __has_attribute check does not function usefully. Gcc does have the att

svn commit: r355972 - in head: sbin/camcontrol sys/sys

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:00 2019 New Revision: 355972 URL: https://svnweb.freebsd.org/changeset/base/355972 Log: Declare packed struct ata_params as 2-byte-aligned This avoids gcc9 warning about unaligned access to the structure when casting to uint16_t pointer type. Sub

svn commit: r355974 - head/lib/libdevdctl

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:26 2019 New Revision: 355974 URL: https://svnweb.freebsd.org/changeset/base/355974 Log: libdevdctl: g++9 avoid Wdeprecated-copy g++9 now warns about having defined an assignment operator but using the default copy constructor, or vice versa. Avoid th

svn commit: r355971 - head/share/mk

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:43:49 2019 New Revision: 355971 URL: https://svnweb.freebsd.org/changeset/base/355971 Log: gcc9: quiet Waddress-of-packed-member for user build Disable the warning for WARNS <= 3. This is lame, but it's what we already do for the clang build. Revie

svn commit: r355973 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:13 2019 New Revision: 355973 URL: https://svnweb.freebsd.org/changeset/base/355973 Log: dtrace: avoid gcc9 Walloca-larger-than gcc9 grew a new warning for unbounded allocas, such as the one in dt_options_load. Remove both uses of alloca in dt_options

svn commit: r355970 - head/sys/conf

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:43:37 2019 New Revision: 355970 URL: https://svnweb.freebsd.org/changeset/base/355970 Log: gcc9: quiet Waddress-of-packed-member for kernel build This is lame, but it's what we already do for the clang build. We take misaligned pointers into network hea

svn commit: r355975 - head/contrib/jemalloc/src

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:38 2019 New Revision: 355975 URL: https://svnweb.freebsd.org/changeset/base/355975 Log: jemalloc: pick from upstream: Fix GCC-9.1 warning with macro GET_ARG_NUMERIC Pick 2d6d099fed05b1509e81e54458516528bfbbf38d from upstream jemalloc: Fix GCC-9

svn commit: r355976 - head/contrib/googletest/googlemock/include/gmock/internal

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:50 2019 New Revision: 355976 URL: https://svnweb.freebsd.org/changeset/base/355976 Log: googletest: pick from upstream: Don't allow signed/unsigned wchar_t in gcc 9 and later Pick 711fccf8317b4fb7adc21c00fc1e20823c5d875f from upstream googletest:

svn commit: r356535 - head/sys/vm

2020-01-08 Thread Ryan Libby
Author: rlibby Date: Thu Jan 9 02:03:17 2020 New Revision: 356535 URL: https://svnweb.freebsd.org/changeset/base/356535 Log: uma: unify layout paths and improve efficiency Unify the keg layout selection paths (keg_small_init, keg_large_init, keg_cachespread_init), and slightly improve me

svn commit: r356534 - in head: share/man/man9 sys/arm/arm sys/vm

2020-01-08 Thread Ryan Libby
Author: rlibby Date: Thu Jan 9 02:03:03 2020 New Revision: 356534 URL: https://svnweb.freebsd.org/changeset/base/356534 Log: uma: reorganize flags - Garbage collect UMA_ZONE_PAGEABLE & UMA_ZONE_STATIC. - Move flag VTOSLAB from public to private. - Introduce public NOTPAGE flag and m

Re: svn commit: r356613 - head/sys/dev/virtio/network

2020-01-10 Thread Ryan Libby
On Fri, Jan 10, 2020 at 1:22 PM Gleb Smirnoff wrote: > > Author: glebius > Date: Fri Jan 10 21:22:03 2020 > New Revision: 356613 > URL: https://svnweb.freebsd.org/changeset/base/356613 > > Log: > Add pfil(9) hook to vtnet(4). > > The patch could be simplier, using only the second chunk to >

svn commit: r356715 - head/sys/vm

2020-01-13 Thread Ryan Libby
Author: rlibby Date: Tue Jan 14 02:13:46 2020 New Revision: 356715 URL: https://svnweb.freebsd.org/changeset/base/356715 Log: uma: fixup some ktr messages Reviewed by: markj Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd.org/D23148 Modified: head

svn commit: r356716 - head/sys/kern

2020-01-13 Thread Ryan Libby
Author: rlibby Date: Tue Jan 14 02:14:02 2020 New Revision: 356716 URL: https://svnweb.freebsd.org/changeset/base/356716 Log: malloc: remove assumptions about MINALLOCSIZE Remove assumptions about the minimum MINALLOCSIZE, in order to allow testing of smaller MINALLOCSIZE. A following pa

svn commit: r356717 - head/sys/vm

2020-01-13 Thread Ryan Libby
Author: rlibby Date: Tue Jan 14 02:14:15 2020 New Revision: 356717 URL: https://svnweb.freebsd.org/changeset/base/356717 Log: uma: split slabzone into two sizes By allowing more items per slab, we can improve memory efficiency for small allocs. If we were just to increase the bitmap size

Re: svn commit: r356919 - head/sys/x86/x86

2020-01-22 Thread Ryan Libby
On Mon, Jan 20, 2020 at 9:23 AM Konstantin Belousov wrote: > > Author: kib > Date: Mon Jan 20 17:23:03 2020 > New Revision: 356919 > URL: https://svnweb.freebsd.org/changeset/base/356919 > > Log: > x86: Wait for curthread to be set up as an indicator that the boot stack > is no longer used. >

svn commit: r357019 - head/sys/vm

2020-01-22 Thread Ryan Libby
Author: rlibby Date: Thu Jan 23 04:56:38 2020 New Revision: 357019 URL: https://svnweb.freebsd.org/changeset/base/357019 Log: uma: fix zone domain overlaying pcpu cache with disabled cpus UMA zone structures have two arrays at the end which are sized according to the machine: an array of

svn commit: r357018 - head/sys/vm

2020-01-22 Thread Ryan Libby
Author: rlibby Date: Thu Jan 23 04:56:34 2020 New Revision: 357018 URL: https://svnweb.freebsd.org/changeset/base/357018 Log: uma: report leaks more accurately Previously UMA had some false negatives in the leak report at keg destruction time, where it only reported leaks if there were fr

svn commit: r357546 - head/sys/vm

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:39:58 2020 New Revision: 357546 URL: https://svnweb.freebsd.org/changeset/base/357546 Log: uma: pcpu_page_free needs to startup_free pages from startup_alloc After r357392, it is apparent that we do have some early-boot PCPU zones. Make it so we can saf

svn commit: r357550 - head/sys/vm

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:40:45 2020 New Revision: 357550 URL: https://svnweb.freebsd.org/changeset/base/357550 Log: uma: multipage chicken switch Add a switch to allow disabling multipage slabs, in order to facilitate measuring memory usage and performance effects. The tunable

svn commit: r357548 - in head/sys: i386/i386 kern powerpc/aim

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:40:23 2020 New Revision: 357548 URL: https://svnweb.freebsd.org/changeset/base/357548 Log: uma: convert mbuf_jumbo_alloc to UMA_ZONE_CONTIG & tag others Remove mbuf_jumbo_alloc and let large mbuf zones use the new uma default contig allocator (a copy of

svn commit: r357547 - in head: share/man/man9 sys/vm

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:40:11 2020 New Revision: 357547 URL: https://svnweb.freebsd.org/changeset/base/357547 Log: uma: add UMA_ZONE_CONTIG, and a default contig_alloc For now, copy the mbuf allocator. Reviewed by: jeff, markj (previous version) Sponsored by: Dell EMC Isi

svn commit: r357549 - head/sys/vm

2020-02-04 Thread Ryan Libby
Author: rlibby Date: Tue Feb 4 22:40:34 2020 New Revision: 357549 URL: https://svnweb.freebsd.org/changeset/base/357549 Log: uma: grow slabs to enforce minimum memory efficiency Memory efficiency can be poor with awkward item sizes (e.g. 1/2 or 1 page size + epsilon). In order to achiev

svn commit: r357610 - head/sys/vm

2020-02-06 Thread Ryan Libby
Author: rlibby Date: Thu Feb 6 08:32:25 2020 New Revision: 357610 URL: https://svnweb.freebsd.org/changeset/base/357610 Log: uma: remove UMA_ZFLAG_CACHEONLY flag UMA_ZFLAG_CACHEONLY was essentially the same thing as UMA_ZONE_VM, but with a more confusing name. Remove the flag, make UMA_

svn commit: r357611 - head/libexec/rc/rc.d

2020-02-06 Thread Ryan Libby
Author: rlibby Date: Thu Feb 6 08:32:30 2020 New Revision: 357611 URL: https://svnweb.freebsd.org/changeset/base/357611 Log: auditd_stop: wait_for_pids instead of sleeping It's faster and more reliable to wait_for_pids than to sleep 1. cem@ suggested just to remove auditd_stop() and u

svn commit: r357644 - head/sys/sys

2020-02-06 Thread Ryan Libby
Author: rlibby Date: Fri Feb 7 00:47:58 2020 New Revision: 357644 URL: https://svnweb.freebsd.org/changeset/base/357644 Log: smr.h: fix build after r357641 r357641 missed committing the change to sys/sys/smr.h. Reported by: jkim Submitted by: jeff Reviewed by: rlibby Different

svn commit: r355083 - head/sys/kern

2019-11-24 Thread Ryan Libby
Author: rlibby Date: Mon Nov 25 07:38:27 2019 New Revision: 355083 URL: https://svnweb.freebsd.org/changeset/base/355083 Log: sysctl sysctls: wire old buf before output with sysctl lock Several sysctl sysctls output to a user buffer while holding a non-sleepable lock that protects the sys

svn commit: r355084 - head/sys/vm

2019-11-24 Thread Ryan Libby
Author: rlibby Date: Mon Nov 25 07:38:31 2019 New Revision: 355084 URL: https://svnweb.freebsd.org/changeset/base/355084 Log: vm_object_collapse_scan_wait: drop locks before reacquiring Regression from r352174. In the vm_page_rename() failure case we forgot to unlock the vm object locks

Re: svn commit: r355089 - stable/12/sys/x86/include

2019-11-25 Thread Ryan Libby
On Mon, Nov 25, 2019 at 6:19 AM Konstantin Belousov wrote: > > Author: kib > Date: Mon Nov 25 14:18:55 2019 > New Revision: 355089 > URL: https://svnweb.freebsd.org/changeset/base/355089 > > Log: > MFC r355088: > Limit bus_dma_dmar_set_buswide() definition to kernel only. > > Modified: > sta

Re: svn commit: r355101 - head/sys/dev/cfi

2019-11-25 Thread Ryan Libby
On Mon, Nov 25, 2019 at 1:21 PM Ed Maste wrote: > > Author: emaste > Date: Mon Nov 25 21:21:37 2019 > New Revision: 355101 > URL: https://svnweb.freebsd.org/changeset/base/355101 > > Log: > cfi: check for inter overflow in cfi_devioctl > > Reported by:Pietro Oliva > Reviewed by: markj >

svn commit: r355102 - head/sys/netinet6

2019-11-25 Thread Ryan Libby
Author: rlibby Date: Mon Nov 25 22:25:10 2019 New Revision: 355102 URL: https://svnweb.freebsd.org/changeset/base/355102 Log: in6_joingroup_locked: need if_addr_lock around in6m_disconnect_locked It looks like the call that requires the lock was introduced in r337866. Reviewed by: hse

svn commit: r355103 - head/sys/netinet

2019-11-25 Thread Ryan Libby
Author: rlibby Date: Mon Nov 25 22:25:34 2019 New Revision: 355103 URL: https://svnweb.freebsd.org/changeset/base/355103 Log: in_mcast.c: need if_addr_lock around inm_release_deferred Apply a similar fix as for in6_mcast.c. Reviewed by: hselasky Sponsored by: Dell EMC Isilon Diffe

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

2019-11-26 Thread Ryan Libby
Author: rlibby Date: Wed Nov 27 01:54:39 2019 New Revision: 355126 URL: https://svnweb.freebsd.org/changeset/base/355126 Log: witness: sleepable rm locks are not sleepable in read mode There are two classes of rm lock, one "sleepable" and one not. But even a "sleepable" rm lock is only s

svn commit: r355137 - head/sys/vm

2019-11-27 Thread Ryan Libby
Author: rlibby Date: Wed Nov 27 19:49:55 2019 New Revision: 355137 URL: https://svnweb.freebsd.org/changeset/base/355137 Log: uma: trash memory when ctor/dtor supplied too On INVARIANTS kernels, UMA has a use-after-free detection mechanism. This mechanism previously required that all of t

svn commit: r355166 - head/sys/vm

2019-11-27 Thread Ryan Libby
Author: rlibby Date: Thu Nov 28 04:15:16 2019 New Revision: 355166 URL: https://svnweb.freebsd.org/changeset/base/355166 Log: uma: move sysctl vm.uma defn out from under INVARIANTS Fix non-INVARIANTS builds after r355149. Reported by: Michael Butler Reviewed by: markj Differenti

svn commit: r355207 - head/sys/kern

2019-11-28 Thread Ryan Libby
Author: rlibby Date: Fri Nov 29 06:25:03 2019 New Revision: 355207 URL: https://svnweb.freebsd.org/changeset/base/355207 Log: ktls_session zone: don't need to specify uma trash The use of the uma trash procedures is automatic, there's no need to pass them explicitly here. Reviewed by

svn commit: r355208 - head/sys/conf

2019-11-28 Thread Ryan Libby
Author: rlibby Date: Fri Nov 29 06:25:07 2019 New Revision: 355208 URL: https://svnweb.freebsd.org/changeset/base/355208 Log: kern.mk: -Wno-error=stringop-overflow for gcc due to false positives Demote gcc's Wstringop-overflow to Wno-error due to false positives. E.g. the riscv64 build wi

svn commit: r355344 - head/sys/sys

2019-12-03 Thread Ryan Libby
Author: rlibby Date: Tue Dec 3 17:43:57 2019 New Revision: 355344 URL: https://svnweb.freebsd.org/changeset/base/355344 Log: bitset: avoid pessimized code when bitset size is not constant We have a couple optimizations for when the bitset is known to be just one word. But with dynamical

svn commit: r355343 - head/sys/mips/mips

2019-12-03 Thread Ryan Libby
Author: rlibby Date: Tue Dec 3 17:43:52 2019 New Revision: 355343 URL: https://svnweb.freebsd.org/changeset/base/355343 Log: mips busdma: bzero map on alloc Maps from the mips busdma dmamap_zone were not completely initialized. In particular, pagesneeded and pagesreserved were not initia

Re: svn commit: r355137 - head/sys/vm

2019-12-03 Thread Ryan Libby
On Tue, Dec 3, 2019 at 12:43 PM Gleb Smirnoff wrote: > > Ryan, > > On Wed, Nov 27, 2019 at 07:49:56PM +, Ryan Libby wrote: > R> Author: rlibby > R> Date: Wed Nov 27 19:49:55 2019 > R> New Revision: 355137 > R> URL: https://svnweb.freebsd.org/changeset/b

Re: svn commit: r355137 - head/sys/vm

2019-12-03 Thread Ryan Libby
On Tue, Dec 3, 2019 at 1:12 PM Ian Lepore wrote: > > On Tue, 2019-12-03 at 12:59 -0800, Ryan Libby wrote: > > > +* XXX UMA_ZONE_OFFPAGE. > > All over freebsd we have cryptic XXX comments that have no meaning to > anyone except whoever wrote them (and, I susp

svn commit: r355396 - head/sys/kern

2019-12-04 Thread Ryan Libby
Author: rlibby Date: Wed Dec 4 18:21:29 2019 New Revision: 355396 URL: https://svnweb.freebsd.org/changeset/base/355396 Log: mbuf zones: take out the trash The mbuf zones were explicitly specifying the uma trash procedures on zcreate, conditionally on INVARIANTS, because that used to be

svn commit: r355400 - head/sys/sys

2019-12-04 Thread Ryan Libby
Author: rlibby Date: Wed Dec 4 20:15:17 2019 New Revision: 355400 URL: https://svnweb.freebsd.org/changeset/base/355400 Log: bistring: avoid gcc -Wsign-compare Appease gcc after after r355377, which broke gcc builds. Reviewed by: dougm MFC with: r355377 Differential Revision:

svn commit: r355605 - head/sys/vm

2019-12-10 Thread Ryan Libby
Author: rlibby Date: Wed Dec 11 06:50:55 2019 New Revision: 355605 URL: https://svnweb.freebsd.org/changeset/base/355605 Log: uma: pretty print zone flags sysctl Requested by: jeff Reviewed by: jeff, markj Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.fr

svn commit: r355704 - stable/12/sys/mips/mips

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:19:24 2019 New Revision: 355704 URL: https://svnweb.freebsd.org/changeset/base/355704 Log: MFC r355343: mips busdma: bzero map on alloc Modified: stable/12/sys/mips/mips/busdma_machdep.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r355707 - head/sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:32:03 2019 New Revision: 355707 URL: https://svnweb.freebsd.org/changeset/base/355707 Log: uma: delay bucket_init() until we might actually enable buckets This helps with a bootstrapping problem in upcoming work. We don't first enable buckets until um

svn commit: r355706 - head/sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:31:59 2019 New Revision: 355706 URL: https://svnweb.freebsd.org/changeset/base/355706 Log: uma dbg: flexible size for slab debug bitset too Recently (r355315) the size of the struct uma_slab bitset field us_free became dynamic instead of conservative. N

svn commit: r355708 - head/sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:32:09 2019 New Revision: 355708 URL: https://svnweb.freebsd.org/changeset/base/355708 Log: uma: report slab efficiency Reviewed by: jeff Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd.org/D22766 Modified: head/s

svn commit: r355709 - in head: share/man/man9 sys/i386/i386 sys/kern sys/sparc64/sparc64 sys/sys sys/x86/x86

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:32:16 2019 New Revision: 355709 URL: https://svnweb.freebsd.org/changeset/base/355709 Log: bitset: rename confusing macro NAND to ANDNOT s/BIT_NAND/BIT_ANDNOT/, and for CPU and DOMAINSET too. The actual implementation is "and not" (or "but not"), i.e. A

svn commit: r355710 - head/lib/libmemstat

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 10:34:19 2019 New Revision: 355710 URL: https://svnweb.freebsd.org/changeset/base/355710 Log: libmemstat: unbreak build r355706 added an instance of offsetof() to the UMA private kernel header file uma_int.h. Userspace memstat_uma.c includes that header, a

svn commit: r355711 - in head: lib/libmemstat sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 11:21:28 2019 New Revision: 355711 URL: https://svnweb.freebsd.org/changeset/base/355711 Log: Revert r355706 & r355710 The quick fix didn't work. I'll sort it out tomorrow. Revert r355710: "libmemstat: unbreak build" Revert r355706: "uma dbg: flexible

svn commit: r355746 - head/sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Sat Dec 14 05:21:56 2019 New Revision: 355746 URL: https://svnweb.freebsd.org/changeset/base/355746 Log: uma dbg: flexible size for slab debug bitset too Recently (r355315) the size of the struct uma_slab bitset field us_free became dynamic instead of conservative. N

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Ryan Libby
On Sat, Dec 14, 2019 at 12:28 AM Conrad Meyer wrote: > > Author: cem > Date: Sat Dec 14 08:28:10 2019 > New Revision: 355747 > URL: https://svnweb.freebsd.org/changeset/base/355747 > > Log: > Deprecate sranddev(3) API > > It serves no useful purpose and wasn't as popular as its equally meritle

Re: svn commit: r355784 - in head/sys: compat/linuxkpi/common/src dev/dpaa kern mips/nlm sys

2019-12-16 Thread Ryan Libby
On Mon, Dec 16, 2019 at 7:30 AM Ed Maste wrote: > > On Sun, 15 Dec 2019 at 16:27, Jeff Roberson wrote: > > > > Author: jeff > > Date: Sun Dec 15 21:26:50 2019 > > New Revision: 355784 > > URL: https://svnweb.freebsd.org/changeset/base/355784 > > > > Log: > > schedlock 4/4 > > FYI i386, arm, arm

svn commit: r322329 - head/sys/boot/i386/boot2

2017-08-09 Thread Ryan Libby
Author: rlibby Date: Wed Aug 9 20:13:49 2017 New Revision: 322329 URL: https://svnweb.freebsd.org/changeset/base/322329 Log: i386/boot2: -fno-asynchronous-unwind-tables for gcc The amd64 build of boot2 was failing with gcc 6.3.0 due to being more than 1 kB too large. It was apparently ge

svn commit: r322332 - in head: contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src lib/libc/stdlib/jemalloc

2017-08-09 Thread Ryan Libby
Author: rlibby Date: Wed Aug 9 22:58:42 2017 New Revision: 322332 URL: https://svnweb.freebsd.org/changeset/base/322332 Log: Pick 'Remove external linkage for spin_adaptive' from upstream jemalloc Apply the changes from upstream jemalloc 048c6679. This is actually not quite a cherry pic

svn commit: r322335 - head/usr.bin/calendar/calendars

2017-08-09 Thread Ryan Libby
Federation, 1972 +06/06 Ryan Libby born in Kirkland, Washington, United States, 1985 06/06 Alan Eldridge died in Denver, Colorado, 2003 06/07 Jimmy Olgeni born in Milano, Italy, 1976 06/07 Benjamin Close born in Adelaide, Australia, 1978

svn commit: r322407 - head/sys/libkern/x86

2017-08-11 Thread Ryan Libby
Author: rlibby Date: Fri Aug 11 17:05:31 2017 New Revision: 322407 URL: https://svnweb.freebsd.org/changeset/base/322407 Log: x86/crc32_sse42.c: quiet unused function warning Reviewed by: cem Approved by: markj (mentor) Sponsored by: Dell EMC Isilon Differential Revision:htt

svn commit: r322418 - head/lib/msun/src

2017-08-11 Thread Ryan Libby
Author: rlibby Date: Fri Aug 11 22:41:24 2017 New Revision: 322418 URL: https://svnweb.freebsd.org/changeset/base/322418 Log: lib/msun: avoid referring to broken LDBL_MAX LDBL_MAX is broken on i386: https://lists.freebsd.org/pipermail/freebsd-numerics/2012-September/000288.html Gcc

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
On Sat, Aug 12, 2017 at 9:26 AM, Ian Lepore wrote: > On Fri, 2017-08-11 at 22:41 +0000, Ryan Libby wrote: >> Author: rlibby >> Date: Fri Aug 11 22:41:24 2017 >> New Revision: 322418 >> URL: https://svnweb.freebsd.org/changeset/base/322418 >> >> Log: &

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
On Sat, Aug 12, 2017 at 9:57 AM, Ryan Libby wrote: > On Sat, Aug 12, 2017 at 9:26 AM, Ian Lepore wrote: >> On Fri, 2017-08-11 at 22:41 +0000, Ryan Libby wrote: >>> Author: rlibby >>> Date: Fri Aug 11 22:41:24 2017 >>> New Revision: 322418 >>> URL: htt

svn commit: r322435 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
Author: rlibby Date: Sat Aug 12 18:28:02 2017 New Revision: 322435 URL: https://svnweb.freebsd.org/changeset/base/322435 Log: Revert r322418, LDBL_MAX_EXP unsuitable for macro pasting on some arches Either need a different way to spell HALF_LDBL_MAX, or a different way to spell LDBL_MAX_E

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
On Sat, Aug 12, 2017 at 2:53 PM, Ngie Cooper (yaneurabeya) wrote: [...] > Here are the full gamut of definitions for LDBL_MAX_EXP. It seems > that sparc64 isn’t the only architecture using this pattern: > > $ grep -r DBL_MAX_EXP sys/*/include > sys/arm/include/float.h:#define DBL_MAX_EXP

svn commit: r322600 - head/sys/crypto/aesni

2017-08-16 Thread Ryan Libby
Author: rlibby Date: Wed Aug 16 22:54:35 2017 New Revision: 322600 URL: https://svnweb.freebsd.org/changeset/base/322600 Log: aesni: quiet -Wcast-qual Reviewed by: delphij Approved by: markj (mentor) Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd

svn commit: r322650 - head/sys/dev/safe

2017-08-18 Thread Ryan Libby
Author: rlibby Date: Fri Aug 18 08:05:33 2017 New Revision: 322650 URL: https://svnweb.freebsd.org/changeset/base/322650 Log: safe: quiet -Wtautological-compare Code was testing that an unsigned type was >= 0. Reviewed by: markj Approved by: markj (mentor) Sponsored by: Dell EMC

Re: svn commit: r322824 - in head: lib/clang share/mk usr.bin/clang

2017-08-25 Thread Ryan Libby
On Wed, Aug 23, 2017 at 4:30 PM, John Baldwin wrote: > Author: jhb > Date: Wed Aug 23 23:30:25 2017 > New Revision: 322824 > URL: https://svnweb.freebsd.org/changeset/base/322824 > > Log: > Improve the coverage of debug symbols for MK_DEBUG_FILES. > > - Include debug symbols in static librarie

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

2017-08-26 Thread Ryan Libby
Author: rlibby Date: Sat Aug 26 23:13:18 2017 New Revision: 322940 URL: https://svnweb.freebsd.org/changeset/base/322940 Log: amd64: drop q suffix from rd[fg]sbase for gas compatibility Reviewed by: kib Approved by: markj (mentor) Sponsored by: Dell EMC Isilon Differential Revision:

Re: svn commit: r322969 - in head: sbin/mdconfig sys/dev/md sys/sys

2017-08-28 Thread Ryan Libby
On Mon, Aug 28, 2017 at 11:24 AM, Maxim Sobolev wrote: > Hi John, > > Thanks for your feedback! To address the points that you've raised: > > 1. I've tested on both 32 and 64 bit platforms, it seems not to be the > case. See imp's comment and my reply here > https://reviews.freebsd.org/D10457#2168

svn commit: r323003 - head/lib/msun/src

2017-08-29 Thread Ryan Libby
Author: rlibby Date: Tue Aug 29 22:32:29 2017 New Revision: 323003 URL: https://svnweb.freebsd.org/changeset/base/323003 Log: lib/msun: avoid referring to broken LDBL_MAX LDBL_MAX is broken on i386: https://lists.freebsd.org/pipermail/freebsd-numerics/2012-September/000288.html Gcc

svn commit: r323004 - head/lib/msun/tests

2017-08-29 Thread Ryan Libby
Author: rlibby Date: Tue Aug 29 22:37:24 2017 New Revision: 323004 URL: https://svnweb.freebsd.org/changeset/base/323004 Log: lib/msun: add more csqrt unit tests for precision and overflow Reviewed by: bde Approved by: markj (mentor) Sponsored by: Dell EMC Isilon Modified: head/lib

Re: svn commit: r323008 - in head/sys: dev/e1000 net

2017-08-29 Thread Ryan Libby
On Tue, Aug 29, 2017 at 5:20 PM, Sean Bruno wrote: > Author: sbruno > Date: Wed Aug 30 00:20:43 2017 > New Revision: 323008 > URL: https://svnweb.freebsd.org/changeset/base/323008 > > Log: > Continuation of lock cleanup in e1000. > > Post-cold sleep instead of DELAY when waiting for firmware.

svn commit: r323155 - head/lib/libefivar

2017-09-04 Thread Ryan Libby
Author: rlibby Date: Mon Sep 4 18:59:44 2017 New Revision: 323155 URL: https://svnweb.freebsd.org/changeset/base/323155 Log: libefivar: -fno-strict-aliasing Avoid dealing with some code that uses type-punned pointers. See D12210 and D12211 for more background. Reviewed by: imp

svn commit: r323164 - in stable/11: share/mk sys/conf

2017-09-04 Thread Ryan Libby
Author: rlibby Date: Mon Sep 4 21:58:35 2017 New Revision: 323164 URL: https://svnweb.freebsd.org/changeset/base/323164 Log: MFC r303188,r303190,r303271,r303438,r303453: Warn flags for gcc 6.1 r303188 (by br): Add warn flags for GCC 6.1 compiler. r303190 (by br): Add GCC

svn commit: r323186 - stable/11/tests/sys/kern

2017-09-05 Thread Ryan Libby
Author: rlibby Date: Tue Sep 5 15:21:34 2017 New Revision: 323186 URL: https://svnweb.freebsd.org/changeset/base/323186 Log: MFC r316397 (by bde): Remove the unportable -msse4 here too after fixing crc32_sse42.c to not depend on it. This should have been part of r315983. Note,

svn commit: r323192 - head/contrib/binutils/opcodes

2017-09-05 Thread Ryan Libby
Author: rlibby Date: Tue Sep 5 19:04:07 2017 New Revision: 323192 URL: https://svnweb.freebsd.org/changeset/base/323192 Log: gnu binutils: FSGSBASE assembly/disassembly Enable the in-tree binutils to assemble and disassemble amd64 FSGSBASE instructions (rdfsbase, rdgsbase, wrfsbase, wrgs

svn commit: r323200 - head

2017-09-05 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 01:55:40 2017 New Revision: 323200 URL: https://svnweb.freebsd.org/changeset/base/323200 Log: Makefile.inc1: bump elf tool chain version check after PR 215350 fix This causes builds to use the in-tree libdwarf with the bug fix instead of the host library.

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

2017-09-05 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 06:51:52 2017 New Revision: 323207 URL: https://svnweb.freebsd.org/changeset/base/323207 Log: MFC r320517: netfront.c: avoid gcc variably-modified warning Modified: stable/11/sys/dev/xen/netfront/netfront.c Directory Properties: stable/11/ (props cha

svn commit: r323208 - stable/11/sys/dev/hptmv

2017-09-05 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 06:57:18 2017 New Revision: 323208 URL: https://svnweb.freebsd.org/changeset/base/323208 Log: MFC r320714: hptmv: avoid gcc variably-modified warning Modified: stable/11/sys/dev/hptmv/vdevice.h Directory Properties: stable/11/ (props changed) Modifi

svn commit: r323211 - stable/11/sys/dev/ixl

2017-09-06 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 07:08:52 2017 New Revision: 323211 URL: https://svnweb.freebsd.org/changeset/base/323211 Log: MFC r320977: ixl: gcc build errors Modified: stable/11/sys/dev/ixl/i40e_prototype.h stable/11/sys/dev/ixl/if_ixlv.c stable/11/sys/dev/ixl/ixl.h stable/11/

svn commit: r323213 - in stable/11/sys: dev/qlnx/qlnxe modules/qlnx modules/qlnx/qlnxe

2017-09-06 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 07:15:21 2017 New Revision: 323213 URL: https://svnweb.freebsd.org/changeset/base/323213 Log: MFC r321106: qlnx: gcc build errors Modified: stable/11/sys/dev/qlnx/qlnxe/ecore_hw.h stable/11/sys/dev/qlnx/qlnxe/qlnx_ioctl.c stable/11/sys/modules/qlnx/M

svn commit: r323214 - stable/11/sys/compat/linuxkpi/common/include/linux

2017-09-06 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 07:19:22 2017 New Revision: 323214 URL: https://svnweb.freebsd.org/changeset/base/323214 Log: MFC r321376: linuxkpi compiler.h: avoid gcc -Wunused-value in dummy expressions Modified: stable/11/sys/compat/linuxkpi/common/include/linux/compiler.h Director

Re: svn commit: r323208 - stable/11/sys/dev/hptmv

2017-09-06 Thread Ryan Libby
On Tue, Sep 5, 2017 at 11:57 PM, Ryan Libby wrote: > Author: rlibby > Date: Wed Sep 6 06:57:18 2017 > New Revision: 323208 > URL: https://svnweb.freebsd.org/changeset/base/323208 > > Log: > MFC r320714: > > hptmv: avoid gcc variably-modified warning > PR: 211

svn commit: r323255 - stable/11/sys/contrib/ena-com

2017-09-06 Thread Ryan Libby
Author: rlibby Date: Thu Sep 7 05:01:02 2017 New Revision: 323255 URL: https://svnweb.freebsd.org/changeset/base/323255 Log: MFC r321864 (by mw): Merge ena-com 1.1.4.2 Modified: stable/11/sys/contrib/ena-com/ena_plat.h Directory Properties: stable/11/ (props changed) Modified: st

svn commit: r323256 - stable/11/sys/boot/i386/boot2

2017-09-07 Thread Ryan Libby
Author: rlibby Date: Thu Sep 7 05:41:13 2017 New Revision: 323256 URL: https://svnweb.freebsd.org/changeset/base/323256 Log: MFC r322329: i386/boot2: -fno-asynchronous-unwind-tables for gcc Modified: stable/11/sys/boot/i386/boot2/Makefile Directory Properties: stable/11/ (props ch

svn commit: r323276 - head/usr.sbin/crunch/crunchgen

2017-09-07 Thread Ryan Libby
Author: rlibby Date: Thu Sep 7 17:20:47 2017 New Revision: 323276 URL: https://svnweb.freebsd.org/changeset/base/323276 Log: crunchgen: quiet -Wmissing-prototypes Reviewed by: emaste (previous version) Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd

svn commit: r323425 - stable/11/usr.sbin/bhyve

2017-09-11 Thread Ryan Libby
Author: rlibby Date: Mon Sep 11 07:21:34 2017 New Revision: 323425 URL: https://svnweb.freebsd.org/changeset/base/323425 Log: MFC r321668: bhyve/pci_e82545.c: squelch gcc warning for noreturn procedure Modified: stable/11/usr.sbin/bhyve/pci_e82545.c Directory Properties: stable/11/

svn commit: r323426 - stable/11/usr.sbin/bhyve

2017-09-11 Thread Ryan Libby
Author: rlibby Date: Mon Sep 11 07:22:53 2017 New Revision: 323426 URL: https://svnweb.freebsd.org/changeset/base/323426 Log: MFC r321669: bhyve/vga.c: fix atc_color_select_67 bit shift Modified: stable/11/usr.sbin/bhyve/vga.c Directory Properties: stable/11/ (props changed) Modif

svn commit: r323427 - stable/11/usr.sbin/bhyve

2017-09-11 Thread Ryan Libby
Author: rlibby Date: Mon Sep 11 07:24:56 2017 New Revision: 323427 URL: https://svnweb.freebsd.org/changeset/base/323427 Log: bhyve: actually call bhyve_caph_cache_catpages Gcc noticed that bhyve_caph_cache_catpages was defined but unused. It is a stable/11 copy of caph_cache_catpages in

Re: svn commit: r323393 - in head/sys: sys vm

2017-09-11 Thread Ryan Libby
On Mon, Sep 11, 2017 at 12:30 AM, Mateusz Guzik wrote: [...] > That said, looking now at the struct I think its use should be retired > from the kernel. It can remain in headers for userspace use. > > First, there is a bunch of counter(9) fields. I don't know the original > reasoning. I would expe

svn commit: r323475 - in stable/11/lib/msun: src tests

2017-09-11 Thread Ryan Libby
Author: rlibby Date: Tue Sep 12 00:26:56 2017 New Revision: 323475 URL: https://svnweb.freebsd.org/changeset/base/323475 Log: MFC r323003,r323004: r323003: lib/msun: avoid referring to broken LDBL_MAX r323004: lib/msun: add more csqrt unit tests for precision and overflow

  1   2   >