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
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
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:
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
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
Kurakin\n...@freebsd.org\n2003/12/18"]
+rlibby [label="Ryan Libby\nrli...@freebsd.org\n2017/06/07"]
rmacklem [label="Rick Macklem\nrmack...@freebsd.org\n2009/03/27"]
rmh [label="Robert Millan\n...@freebsd.org\n2011/09/18"]
rnoland [label="Rober
Author: rlibby
Date: Wed Jun 14 07:46:52 2017
New Revision: 319938
URL: https://svnweb.freebsd.org/changeset/base/319938
Log:
ddb show files: fix up file types and whitespace
This makes ddb show files more descriptive and also adjusts the
whitespace to align the columns for non-32-bit arc
Author: rlibby
Date: Thu Jun 15 04:49:12 2017
New Revision: 319967
URL: https://svnweb.freebsd.org/changeset/base/319967
Log:
ddb show socket debugging
Display the mbuf/cluster count for a sockbuf and fix a couple whitespace
issues in the output.
Reviewed by: jhb, markj (both previo
Author: rlibby
Date: Fri Jun 30 22:01:18 2017
New Revision: 320511
URL: https://svnweb.freebsd.org/changeset/base/320511
Log:
g_virstor.h: macro parenthesization
Build with gcc -Wint-in-bool-context revealed a macro parenthesization
error (invoking LOG_MSG with a ternary expression for lv
Author: rlibby
Date: Fri Jun 30 22:06:24 2017
New Revision: 320513
URL: https://svnweb.freebsd.org/changeset/base/320513
Log:
mpt.h: macro parenthesization
Build with gcc -Wint-in-bool-context revealed a macro parenthesization
error (invoking mpt_lprt with a ternary expression for level).
Author: rlibby
Date: Fri Jun 30 22:14:22 2017
New Revision: 320517
URL: https://svnweb.freebsd.org/changeset/base/320517
Log:
netfront.c: avoid gcc variably-modified warning
gcc produces a "variably modified X at file scope" warning for
structures that use these size definitions. I think
Author: rlibby
Date: Thu Jul 6 05:32:22 2017
New Revision: 320714
URL: https://svnweb.freebsd.org/changeset/base/320714
Log:
hptmv: avoid gcc variably-modified warning
gcc produces a "variably modified X at file scope" warning for
structures that use these size definitions.
PR:
Author: rlibby
Date: Fri Jul 7 06:37:19 2017
New Revision: 320764
URL: https://svnweb.freebsd.org/changeset/base/320764
Log:
amd-vi: gcc build errors
amdvi_cmp_wait: gcc complained about a malformed string behind an ifdef.
struct amdvi_dte: widen the type of the first reserved bitfiel
Author: rlibby
Date: Wed Jul 12 07:30:14 2017
New Revision: 320908
URL: https://svnweb.freebsd.org/changeset/base/320908
Log:
kvprintf %b enhancements
Make the %b formatter accept number formatting flags. It will now accept
alternate form, precision, and length modifiers. It also now part
On Wed, Jul 12, 2017 at 12:43 AM, Roman Divacky wrote:
> Clang knows about %b modifier and can do some semantic analysis on it.
> Currently it type checks the first arg to be an int and the second to be
> a char*.
>
> Do you think it would be worth modifying the checks to include
> this new functi
On Wed, Jul 12, 2017 at 3:20 PM, John Baldwin wrote:
> On Wednesday, July 12, 2017 01:09:39 AM Ryan Libby wrote:
>> On Wed, Jul 12, 2017 at 12:43 AM, Roman Divacky wrote:
>> > Clang knows about %b modifier and can do some semantic analysis on it.
>> > Currently it type
Author: rlibby
Date: Fri Jul 14 00:10:51 2017
New Revision: 320977
URL: https://svnweb.freebsd.org/changeset/base/320977
Log:
ixl: gcc build errors
Fix minor -Werror issues when building with gcc from -Wredundant-decls,
-Wunused, -Wbool-operations. Also ensure the M_IXL malloc type is on
On Thu, Jul 13, 2017 at 6:17 PM, Ngie Cooper wrote:
> On Thu, Jul 13, 2017 at 5:10 PM, Ryan Libby wrote:
>> Author: rlibby
>> Date: Fri Jul 14 00:10:51 2017
>> New Revision: 320977
>> URL: https://svnweb.freebsd.org/changeset/base/320977
>
> ...
>
&g
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
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
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
>
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
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
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
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
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
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
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
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
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
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
Author: rlibby
Date: Wed Dec 9 18:43:58 2020
New Revision: 368490
URL: https://svnweb.freebsd.org/changeset/base/368490
Log:
dmar: reserve memory windows of PCIe root port
PCI memory address space is shared between memory-mapped devices (MMIO)
and host memory (which may be remapped by an
Author: rlibby
Date: Fri Dec 11 22:51:44 2020
New Revision: 368562
URL: https://svnweb.freebsd.org/changeset/base/368562
Log:
cache_fplookup: quiet gcc -Wreturn-type
Reviewed by: markj, mjg
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freebsd.org/D27555
Author: rlibby
Date: Fri Dec 11 22:51:48 2020
New Revision: 368563
URL: https://svnweb.freebsd.org/changeset/base/368563
Log:
ntb: quiet gcc -Wreturn-type
Reviewed by: cem, markj
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freebsd.org/D27553
Modified:
Author: rlibby
Date: Fri Dec 11 22:52:03 2020
New Revision: 368566
URL: https://svnweb.freebsd.org/changeset/base/368566
Log:
if_wg: appease gcc
- remove -ferror-limit option
- quiet -Wredundant-decls
Reviewed by: mmacy
Sponsored by: Dell EMC Isilon
Differential Revision:
Author: rlibby
Date: Fri Dec 11 22:52:08 2020
New Revision: 368567
URL: https://svnweb.freebsd.org/changeset/base/368567
Log:
zfs: quiet gcc -Wmissing-include-dirs
Don't tell it to look for headers in a non-existent directory.
Reviewed by: imp, mmacy
Sponsored by: Dell EMC Isilon
Author: rlibby
Date: Fri Dec 11 22:52:12 2020
New Revision: 368568
URL: https://svnweb.freebsd.org/changeset/base/368568
Log:
savecore: bail on write error even when decompressing
Reviewed by: markj
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freebsd.org
Author: rlibby
Date: Fri Dec 11 22:52:20 2020
New Revision: 368570
URL: https://svnweb.freebsd.org/changeset/base/368570
Log:
posixshm_test.c: remove tautological checks
Reviewed by: kib, markj
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freebsd.org/D275
Author: rlibby
Date: Fri Dec 11 22:51:53 2020
New Revision: 368564
URL: https://svnweb.freebsd.org/changeset/base/368564
Log:
qat: quiet -Wredundant-decls
Reviewed by: markj
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freebsd.org/D27554
Modified:
head
Author: rlibby
Date: Fri Dec 11 22:51:57 2020
New Revision: 368565
URL: https://svnweb.freebsd.org/changeset/base/368565
Log:
ffs: quiet -Wstrict-prototypes
Reviewed by: kib, markj, mckusick
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freebsd.org/D27558
Author: rlibby
Date: Fri Dec 11 22:52:16 2020
New Revision: 368569
URL: https://svnweb.freebsd.org/changeset/base/368569
Log:
fdgrowtable_test.c: appease gcc
Work around bogus gcc -Wreturn-type.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44511
Reviewed by: kevans, rew
Sponsor
On Tue, Aug 25, 2020 at 6:30 AM Alex Richardson wrote:
>
> Author: arichardson
> Date: Tue Aug 25 13:30:03 2020
> New Revision: 364761
> URL: https://svnweb.freebsd.org/changeset/base/364761
>
> Log:
> Pass -fuse-ld=/path/to/ld if ${LD} != "ld"
>
> This is needed so that setting LD/XLD is not
On Mon, Dec 14, 2020 at 2:33 AM Alexander Richardson
wrote:
>
> On Sun, 13 Dec 2020 at 19:22, Ryan Libby wrote:
> >
> > On Tue, Aug 25, 2020 at 6:30 AM Alex Richardson
> > wrote:
> > >
> > > Author: arichardson
> > > Date: Tue Aug 25 13:30:
Author: rlibby
Date: Thu Dec 17 22:53:45 2020
New Revision: 368745
URL: https://svnweb.freebsd.org/changeset/base/368745
Log:
ice: quiet -Wredundant-decls
Reapply r364240 after driver update in r365617.
Reviewed by: lwhsu
Sponsored by: Dell EMC Isilon
Differential Revision:
Author: rlibby
Date: Sat Dec 19 08:38:27 2020
New Revision: 368788
URL: https://svnweb.freebsd.org/changeset/base/368788
Log:
rtld-libc: fix incremental build
ar cr is an update of an archive, not a creation of a new one. During
incremental builds (e.g. with meta mode) the archive was no
Author: rlibby
Date: Sat Dec 19 08:38:31 2020
New Revision: 368789
URL: https://svnweb.freebsd.org/changeset/base/368789
Log:
rtld-elf: link udivmoddi4 from compiler_rt
This fixes the gcc9 build of rtld-elf32 on amd64, which needed an
implementation of udivmoddi4.
rtld-elf uses certa
On Sat, Dec 19, 2020 at 7:23 PM John Baldwin wrote:
>
> On 12/19/20 12:38 AM, Ryan Libby wrote:
> > Author: rlibby
> > Date: Sat Dec 19 08:38:31 2020
> > New Revision: 368789
> > URL: https://svnweb.freebsd.org/changeset/base/368789
> >
> > Log:
> &
On Tue, Dec 22, 2020 at 10:31 AM Mateusz Guzik wrote:
>
> this makes NOIP kernels fail to compile:
>
> /usr/src/sys/net/rtsock.c:802:11: error: unused variable 'scopeid'
> [-Werror,-Wunused-variable]
> uint32_t scopeid = 0;
>
>
Fix in progress: https://reviews.freebsd.org/D27730
> On 12
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
>
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
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
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
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.
>
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
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
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
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
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
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
Author: rlibby
Date: Sat Oct 14 23:25:44 2017
New Revision: 324621
URL: https://svnweb.freebsd.org/changeset/base/324621
Log:
mlx4: use enum constants instead of const vars for case exprs
Follow up from r324201 to fix compilation with gcc, which complains
about non-ICE case expressions.
Author: rlibby
Date: Tue Oct 17 01:12:17 2017
New Revision: 324680
URL: https://svnweb.freebsd.org/changeset/base/324680
Log:
gdb kernel server: fixup Search:memory style
This is a NFC patch to move around the Search:memory implementation so
that it doesn't exceed the standard column widt
Author: rlibby
Date: Tue Oct 17 20:37:31 2017
New Revision: 324705
URL: https://svnweb.freebsd.org/changeset/base/324705
Log:
cxgbe: delete now-redundant vnet decls
r324539 gathered some vnet decls into netinet/tcp_var.h, so that they
are now redundant in dev/cxgbe/tom/{t4_cpl_io.c,t4_ddp
Author: rlibby
Date: Wed Oct 18 00:41:23 2017
New Revision: 324713
URL: https://svnweb.freebsd.org/changeset/base/324713
Log:
ext2: delete redundant decl of ext2_fserr
Fix gcc build after r324706.
Reviewed by: pfg
Differential Revision:https://reviews.freebsd.org/D12709
Mod
On Tue, Oct 17, 2017 at 11:21 PM, Fedor Uporov
wrote:
> Ryan,
>
> Seems like, I lost the dual declaration when made the merging and then did
> not check the gcc build.
>
> Thanks for fix.
>
No problem. Welcome aboard.
___
svn-src-head@freebsd.org maili
Author: rlibby
Date: Wed Oct 18 19:28:28 2017
New Revision: 324728
URL: https://svnweb.freebsd.org/changeset/base/324728
Log:
ql*_def.h: fix QL_ALIGN parenthesization
QL_ALIGN is a set of copies of roundup2, but it was missing an outer set
of parentheses, which began to matter with r32453
Author: rlibby
Date: Sat Oct 21 07:23:45 2017
New Revision: 324811
URL: https://svnweb.freebsd.org/changeset/base/324811
Log:
pms/freebsd: fix compiler warnings
- A number of unused variable warnings,
- a missing prototype warning (actually a dead function),
- and a potential use of
On Sat, Oct 21, 2017 at 12:43 AM, Ngie Cooper (yaneurabeya)
wrote:
>
>> On Oct 21, 2017, at 00:23, Ryan Libby wrote:
>>
>> Author: rlibby
>> Date: Sat Oct 21 07:23:45 2017
>> New Revision: 324811
>> URL: https://svnweb.freebsd.org/changeset/base/324811
&
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
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_
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
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
Author: rlibby
Date: Wed Feb 19 04:46:41 2020
New Revision: 358094
URL: https://svnweb.freebsd.org/changeset/base/358094
Log:
powerpc: unconditionally mark SLB zones UMA_ZONE_CONTIG
PR: 244118
Reported by: Francis Little
Tested by:Francis Little, Mark Millard
Reviewed
Author: rlibby
Date: Sun Feb 23 03:32:04 2020
New Revision: 358256
URL: https://svnweb.freebsd.org/changeset/base/358256
Log:
sys/vm: quiet -Wwrite-strings
Discussed with: kib
Reviewed by: markj
Differential Revision:https://reviews.freebsd.org/D23796
Modified:
head/sy
Author: rlibby
Date: Sun Feb 23 03:32:11 2020
New Revision: 358257
URL: https://svnweb.freebsd.org/changeset/base/358257
Log:
vfs: quiet -Wwrite-strings
Reviewed by: kib, markj
Differential Revision:https://reviews.freebsd.org/D23797
Modified:
head/sys/kern/vfs_subr.c
head/s
1 - 100 of 151 matches
Mail list logo