Page MenuHomeFreeBSD
Feed Advanced Search

Tue, Nov 5

rlibby committed rG430be7e1ee71: sx: avoid gcc -Wunused-value (authored by rlibby).
sx: avoid gcc -Wunused-value
Tue, Nov 5, 1:44 PM
rlibby committed rG90818083d795: ipf: correct size limit in snprintf (authored by rlibby).
ipf: correct size limit in snprintf
Tue, Nov 5, 10:11 AM
rlibby committed rG6bd85498ec2d: bthidd: declare appropriate size bitstring (authored by rlibby).
bthidd: declare appropriate size bitstring
Tue, Nov 5, 10:04 AM
rlibby committed rGf0a7df4a6cc9: ddb: make db_error reliably no-return (authored by rlibby).
ddb: make db_error reliably no-return
Tue, Nov 5, 10:04 AM
rlibby committed rGff1c63671b73: kdb_sysctl_trap: suppress gcc -Warray-bounds (authored by rlibby).
kdb_sysctl_trap: suppress gcc -Warray-bounds
Tue, Nov 5, 10:04 AM
rlibby committed rG2207aaba8977: kern_exec.c: quiet gcc -Wmaybe-uninitialized (authored by rlibby).
kern_exec.c: quiet gcc -Wmaybe-uninitialized
Tue, Nov 5, 10:04 AM
rlibby committed rGf7f9a033f3ec: rtld: quiet gcc -Wrestrict (authored by rlibby).
rtld: quiet gcc -Wrestrict
Tue, Nov 5, 10:03 AM
rlibby committed rG39733922edc4: rtld: actually resolve memcpy plt (authored by rlibby).
rtld: actually resolve memcpy plt
Tue, Nov 5, 10:03 AM
rlibby committed rG07d359787f0d: libthr: avoid gcc -Wcast-function-type (authored by rlibby).
libthr: avoid gcc -Wcast-function-type
Tue, Nov 5, 10:01 AM
rlibby committed rG7b1c770341fe: libthr _get_curthread i386: quiet gcc -Warray-bounds (authored by rlibby).
libthr _get_curthread i386: quiet gcc -Warray-bounds
Tue, Nov 5, 10:01 AM
rlibby committed rG657b1276ad4c: libthr _get_curthread amd64: quiet gcc -Warray-bounds (authored by rlibby).
libthr _get_curthread amd64: quiet gcc -Warray-bounds
Tue, Nov 5, 10:01 AM
rlibby committed rG3cfcbbfaf83a: cdefs.h __generic: avoid gcc -Wunused-value (authored by rlibby).
cdefs.h __generic: avoid gcc -Wunused-value
Tue, Nov 5, 10:01 AM
rlibby committed rG19008cdf7bef: gsb_crc32.c: avoid gcc -Wunused-const-variable in user build (authored by rlibby).
gsb_crc32.c: avoid gcc -Wunused-const-variable in user build
Tue, Nov 5, 10:01 AM
rlibby committed rGf8a46de2dd48: bluetooth socket sysinit: correct memset initialization (authored by rlibby).
bluetooth socket sysinit: correct memset initialization
Tue, Nov 5, 10:00 AM
rlibby committed rGb195d7498b91: nvme: avoid gcc -Werror=int-to-pointer-cast on 32-bit arch (authored by rlibby).
nvme: avoid gcc -Werror=int-to-pointer-cast on 32-bit arch
Tue, Nov 5, 9:30 AM
rlibby committed rGf29bdea04776: ext4_ext_tree_init: correct memset initialization (authored by rlibby).
ext4_ext_tree_init: correct memset initialization
Tue, Nov 5, 9:29 AM
rlibby committed rGd25f0bdceb3a: cdefs.h: add __inline to __always_inline (authored by rlibby).
cdefs.h: add __inline to __always_inline
Tue, Nov 5, 9:29 AM
rlibby committed rG012e32c66529: libthr: move __always_inline to canonical position (authored by rlibby).
libthr: move __always_inline to canonical position
Tue, Nov 5, 9:28 AM
rlibby committed rGeae1767d8fa4: vfs: move __always_inline to canonical position (authored by rlibby).
vfs: move __always_inline to canonical position
Tue, Nov 5, 9:28 AM
rlibby committed rG88478cc02a20: i386 kernel __storeload_barrier: quiet gcc -Warray-bounds (authored by rlibby).
i386 kernel __storeload_barrier: quiet gcc -Warray-bounds
Tue, Nov 5, 9:27 AM
rlibby committed rG6095f4b04cf9: amd64 kernel __storeload_barrier: quiet gcc -Warray-bounds (authored by rlibby).
amd64 kernel __storeload_barrier: quiet gcc -Warray-bounds
Tue, Nov 5, 9:27 AM
rlibby committed rG0f409d2673f2: BSD.tests.dist: add entry for virstor test (authored by rlibby).
BSD.tests.dist: add entry for virstor test
Tue, Nov 5, 9:21 AM
rlibby committed rG7f1012ff7c8b: pctrie: predict successful allocation (authored by rlibby).
pctrie: predict successful allocation
Tue, Nov 5, 9:16 AM
rlibby committed rG9c975a0d90f1: pbuf_ctor(): Stop using LK_NOWAIT, use LK_NOWITNESS (authored by rlibby).
pbuf_ctor(): Stop using LK_NOWAIT, use LK_NOWITNESS
Tue, Nov 5, 9:11 AM
rlibby committed rG6bd3f23a2a82: tmpfs_node_init: use MTX_NEW on lock from uninitialized memory (authored by rlibby).
tmpfs_node_init: use MTX_NEW on lock from uninitialized memory
Tue, Nov 5, 9:11 AM

Oct 12 2022

rlibby committed R9:27a24c43326c: Update PGP key for rlibby@ (authored by rlibby).
Update PGP key for rlibby@
Oct 12 2022, 5:19 PM

Jul 18 2022

rlibby accepted D35845: bge: tell debugnet there are 2 rx rings, not 1,024.
Jul 18 2022, 7:31 PM

Jul 7 2022

rlibby accepted D35738: uma: Use a taskqueue to execute uma_timeout().
Jul 7 2022, 8:12 PM

Jun 14 2022

rlibby accepted D35473: kernel GDB: do not reboot the target.

LGTM. I don't get why we don't send PC and the watch stop reason in the '?' case but it probably doesn't matter and it looks like a faithful refactor.

Jun 14 2022, 5:43 PM

Mar 8 2022

rlibby added a comment to D34484: savecore(8) reporting when insufficient disk space.

I don't have an objection to changing the LOG_WARNING to LOG_ERR, but I'm confused about what this actually changes. I looked at man 3 syslog and vsyslog1() to see if we printed to stderr by default for LOG_ERR but I'm not seeing that. So, what does this actually do?

Mar 8 2022, 8:46 PM

Feb 1 2022

rlibby accepted D34122: <sys/bitstring.h>: Cast _BITSTR_BITS to int in a ternary operator..
Feb 1 2022, 1:46 AM

Oct 21 2021

rlibby accepted D32589: dmar: Don't try to reserve PCI regions for non-existing devices.

A NULL check seems like a clear improvement over a crash.

Oct 21 2021, 5:04 PM

Oct 13 2021

rlibby accepted D32472: bitset: Reimplement BIT_FOREACH_IS(SET|CLR).
Oct 13 2021, 4:43 PM
rlibby accepted D32472: bitset: Reimplement BIT_FOREACH_IS(SET|CLR).
Oct 13 2021, 1:41 AM
rlibby accepted D32472: bitset: Reimplement BIT_FOREACH_IS(SET|CLR).
Oct 13 2021, 1:00 AM

Sep 23 2021

rlibby added inline comments to D32028: bitset(9): Introduce BIT_FOREACH_SET and BIT_FOREACH_CLR.
Sep 23 2021, 1:23 AM

Sep 21 2021

rlibby added inline comments to D32028: bitset(9): Introduce BIT_FOREACH_SET and BIT_FOREACH_CLR.
Sep 21 2021, 6:08 PM
rlibby added inline comments to D32029: Convert consumers to use the CPU_FOREACH_SET() macro.
Sep 21 2021, 5:36 PM
rlibby added inline comments to D32028: bitset(9): Introduce BIT_FOREACH_SET and BIT_FOREACH_CLR.
Sep 21 2021, 5:23 PM

Jul 7 2021

rlibby added inline comments to D31039: Panic on ufsdirhash_findfree: free mismatch.
Jul 7 2021, 4:50 PM

Jul 3 2021

rlibby added a comment to D28762: ofed: quiet gcc -Wint-in-bool-context.

Seems like this is needed to build stable/13 with GCC. Are you going to MFC this? If not I can cherry-pick it for you.

Jul 3 2021, 1:44 AM
rlibby committed rG16d43e560229: shared shadow vm object invalidation regression test (authored by rlibby).
shared shadow vm object invalidation regression test
Jul 3 2021, 12:29 AM
rlibby committed rG4544f2ea7dd9: ddb: reliably fail with ambiguous commands (authored by rlibby).
ddb: reliably fail with ambiguous commands
Jul 3 2021, 12:29 AM
rlibby committed rG65d3d8496536: ofed: quiet gcc -Wint-in-bool-context (authored by rlibby).
ofed: quiet gcc -Wint-in-bool-context
Jul 3 2021, 12:29 AM

Apr 15 2021

rlibby abandoned D29542: sysctlmemlock: add a knob to disable and make interruptible.

Will work on a providing a better semaphore first.

Apr 15 2021, 4:58 PM

Apr 7 2021

rlibby committed rG13d4f96130b6: shared shadow vm object invalidation regression test (authored by rlibby).
shared shadow vm object invalidation regression test
Apr 7 2021, 7:43 PM

Apr 1 2021

rlibby added a comment to D29542: sysctlmemlock: add a knob to disable and make interruptible.
In D29542#662307, @mjg wrote:

I disagree with the patch.

The current mechanism is crap and should probably be retired, anyone interested in ramping up kernel memory use has plenty of other ways to do it.

Apr 1 2021, 11:19 PM
rlibby requested review of D29542: sysctlmemlock: add a knob to disable and make interruptible.
Apr 1 2021, 10:28 PM

Mar 23 2021

rlibby accepted D29391: LinuxKPI: remove < 5.0 version support.

LGTM, and I checked $work's tree for other references.

Mar 23 2021, 5:33 PM

Mar 22 2021

rlibby accepted D29076: Fix lib/msun/tests/csqrt_test on platforms with 128-bit long double.
Mar 22 2021, 2:54 PM

Mar 14 2021

rlibby committed rG3e5e9939cda3: ddb: enable the use of ^C and ^S/^Q (authored by rlibby).
ddb: enable the use of ^C and ^S/^Q
Mar 14 2021, 11:21 PM
rlibby committed rG588ce1a3ac8d: kobj: avoid gcc -Wcast-function-type (authored by rlibby).
kobj: avoid gcc -Wcast-function-type
Mar 14 2021, 11:21 PM
rlibby closed D28676: ddb: enable the use of ^C and ^S/^Q.
Mar 14 2021, 11:20 PM
rlibby closed D28769: kobj: avoid gcc -Wcast-function-type.
Mar 14 2021, 11:20 PM
rlibby added inline comments to D29076: Fix lib/msun/tests/csqrt_test on platforms with 128-bit long double.
Mar 14 2021, 8:25 PM

Mar 11 2021

rlibby committed R9:9c5b7a9157bc: Update PGP key for rlibby@ (authored by rlibby).
Update PGP key for rlibby@
Mar 11 2021, 8:22 AM

Mar 5 2021

rlibby requested changes to D29076: Fix lib/msun/tests/csqrt_test on platforms with 128-bit long double.

Change looks fine once the i386 hack is restored.

Mar 5 2021, 11:10 PM
rlibby added inline comments to D29076: Fix lib/msun/tests/csqrt_test on platforms with 128-bit long double.
Mar 5 2021, 4:34 PM
rlibby added inline comments to D29076: Fix lib/msun/tests/csqrt_test on platforms with 128-bit long double.
Mar 5 2021, 4:05 PM

Feb 25 2021

rlibby closed D28926: Close races in vm object chain traversal for unlock.
Feb 25 2021, 8:30 PM
rlibby committed rGd7671ad8d6eb: Close races in vm object chain traversal for unlock (authored by rlibby).
Close races in vm object chain traversal for unlock
Feb 25 2021, 8:30 PM
rlibby added a comment to D28926: Close races in vm object chain traversal for unlock.

This can be done without introducing another object pointer (nobj) by resetting lobj and following the pattern elsewhere, but I found the approach with nobj to be more readable.

Feb 25 2021, 6:38 PM
rlibby requested review of D28926: Close races in vm object chain traversal for unlock.
Feb 25 2021, 6:33 PM
rlibby closed D28762: ofed: quiet gcc -Wint-in-bool-context.
Feb 25 2021, 12:01 AM
rlibby committed rGbf667f282a7b: ofed: quiet gcc -Wint-in-bool-context (authored by rlibby).
ofed: quiet gcc -Wint-in-bool-context
Feb 25 2021, 12:01 AM
rlibby closed D28725: ddb: just move cursor when the lexer backs up.
Feb 25 2021, 12:00 AM
rlibby committed rGd8404b7ec36d: ddb: just move cursor when the lexer backs up (authored by rlibby).
ddb: just move cursor when the lexer backs up
Feb 25 2021, 12:00 AM
rlibby closed D28659: ddb: reliably fail with ambiguous commands.
Feb 25 2021, 12:00 AM
rlibby committed rGd85c9cef1380: ddb: reliably fail with ambiguous commands (authored by rlibby).
ddb: reliably fail with ambiguous commands
Feb 25 2021, 12:00 AM
rlibby closed D28563: This KASSERT is overzealous because of the following race condition:.
Feb 25 2021, 12:00 AM
rlibby committed rG14b5a3c7d5c0: vm pqbatch: move unmanaged page assert under pagequeue lock (authored by mlaier).
vm pqbatch: move unmanaged page assert under pagequeue lock
Feb 25 2021, 12:00 AM

Feb 24 2021

rlibby accepted D28909: atomic: add atomic_interrupt_fence().
Feb 24 2021, 8:49 PM
rlibby accepted D28909: atomic: add atomic_interrupt_fence().
Feb 24 2021, 8:31 PM
rlibby accepted D28901: buf: Fix the dirtybufthresh check.

I guess this case is intended for when a single-ish writer is outpacing the buf daemon?

Feb 24 2021, 7:01 AM
rlibby accepted D28821: rmlock: Add a missing compiler membar to the rlock slow path.
Feb 24 2021, 1:38 AM

Feb 21 2021

rlibby added inline comments to D28821: rmlock: Add a missing compiler membar to the rlock slow path.
Feb 21 2021, 7:39 PM
rlibby added a comment to D28821: rmlock: Add a missing compiler membar to the rlock slow path.
In D28821#645324, @mjg wrote:

While the patch at hand may indeed be good enough for a quick fixup, trying to review the entire ordeal suggests the mechanism is very error prone (at least to my taste). For example rm_tracker_remove may still be executing against IPIs and it contains multiple unordered stores.

I think that is ok, the ordering doesn't matter with respect to the IPI, which only does forward traversal and does not update the queue.

Feb 21 2021, 2:43 AM
rlibby accepted D28821: rmlock: Add a missing compiler membar to the rlock slow path.

I have a couple questions, but the change itself looks fine.

Feb 21 2021, 2:32 AM

Feb 20 2021

rlibby added a comment to D28769: kobj: avoid gcc -Wcast-function-type.
In D28769#645024, @jhb wrote:
In D28769#644259, @jhb wrote:

The only thing that is kind of useful about the current declaration is that it documents that all kobj methods are expected to return int (and specifically kobj returns a default value if no method is found).

Hmm, I may be misunderstanding something here, but I think I see methods where that isn't true, that return void or pointers? For example, sys/kern/bus_if.m, child_deleted and get_dma_tag, then sys/dev/pci/pci.c, pci_child_deleted and pci_get_dma_tag (void and bus_dma_tag_t).

Yes, those functions do abuse the interface a bit, and it might be ok for the non-void case as long as the function has an explicit default method, but for methods without a default, kobj_error_method() is what gets used. I guess though that the generated BUS_CHILD_DELETED() does actually return void though, so perhaps it isn't really inherent to kobj aside from the default default.

Feb 20 2021, 12:05 AM

Feb 18 2021

rlibby added a comment to D28769: kobj: avoid gcc -Wcast-function-type.
In D28769#644259, @jhb wrote:

The only thing that is kind of useful about the current declaration is that it documents that all kobj methods are expected to return int (and specifically kobj returns a default value if no method is found).

Feb 18 2021, 6:55 PM
rlibby abandoned D28768: zfs: Remove unused abd_alloc_scatter_offset_chunkcnt.
In D28768#644214, @mm wrote:

I have merged lastest OpenZFS to main including the new "compatibility" property, you can close this now. Thanks for getting the change upstream!

Feb 18 2021, 5:10 PM
rlibby requested review of D28769: kobj: avoid gcc -Wcast-function-type.
Feb 18 2021, 8:18 AM
rlibby requested review of D28768: zfs: Remove unused abd_alloc_scatter_offset_chunkcnt.
Feb 18 2021, 7:38 AM
rlibby abandoned D28761: tcp_lro_log: mark __unused to avoid unused function warning.

Dropping, alternate solution committed as 0a4f851074a3ca74cd4859c20e7d9807b2aeca65.

Feb 18 2021, 7:05 AM
rlibby added a comment to D28761: tcp_lro_log: mark __unused to avoid unused function warning.
In D28761#644041, @rrs wrote:

question

If we put the wrap
#ifdef TCPHPTS

#endif

Around the function do we still need __unused for gcc?

(it won't be unused of course if TCPHPTS is defined)

Feb 18 2021, 6:56 AM
rlibby added a comment to D28760: OpenZFS: #if 0 unused abd_alloc_scatter_offset_chunkcnt()..

@freqlabs, @mm, sure thing.

Feb 18 2021, 12:47 AM

Feb 17 2021

rlibby requested review of D28762: ofed: quiet gcc -Wint-in-bool-context.
Feb 17 2021, 11:33 PM
rlibby requested review of D28761: tcp_lro_log: mark __unused to avoid unused function warning.
Feb 17 2021, 11:11 PM
rlibby accepted D28760: OpenZFS: #if 0 unused abd_alloc_scatter_offset_chunkcnt()..

I'm obviously not the maintainer but:

Feb 17 2021, 11:03 PM
rlibby added a comment to D28599: fwohci: Cast bitfield to uint32_t before passing it to roundup2()..

Patch itself looks fine.

Feb 17 2021, 9:22 PM
rlibby updated the diff for D28676: ddb: enable the use of ^C and ^S/^Q.

markj feedback: man style

Feb 17 2021, 7:09 PM
rlibby added inline comments to D28676: ddb: enable the use of ^C and ^S/^Q.
Feb 17 2021, 6:54 PM
rlibby updated the diff for D28725: ddb: just move cursor when the lexer backs up.

markj feedback: ANSI-fy while here

Feb 17 2021, 4:28 PM
rlibby requested review of D28725: ddb: just move cursor when the lexer backs up.
Feb 17 2021, 6:56 AM
rlibby updated the summary of D28676: ddb: enable the use of ^C and ^S/^Q.
Feb 17 2021, 5:36 AM
rlibby updated the diff for D28676: ddb: enable the use of ^C and ^S/^Q.

markj feedback:

  • Rename the sysctl and make it tunable
  • output a warning when input is dropped
  • man page blurb
Feb 17 2021, 5:34 AM

Feb 16 2021

rlibby added a comment to D28676: ddb: enable the use of ^C and ^S/^Q.

So, yeah, I don't want to break this kind of thing. On the other hand I want it to be possible to break out of a situation where a tool has executed some kind of command that would take forever to complete and could result in loss of the debugger. What's in the log you linked should fit in the 512 byte buffer, but the point stands if someone had a bigger script like that. One possibility could be just to default to the prioritize_control_input=0 behavior, so the break ability is only lost for large scripts. Another could be just a big bump in the buffer size (2k? 4k?). Thoughts?

So ddb does support a scripting facility, whereby you can run something like

db> script test= show pcpu; ps
db> run test
-- "show pcpu" output, "ps" output --

So there is at least a workaround for this kind of problem, though there you are limited by TOK_STRING_SIZE, I believe.

Feb 16 2021, 9:27 PM
rlibby added a comment to D28676: ddb: enable the use of ^C and ^S/^Q.

So if one were to programatically send a sequence of commands, separated by newlines, to ddb, does this change mean that after the first command begins executing, the echoed characters from subsequent commands will be interleaved with output from the first command?

Feb 16 2021, 6:43 PM

Feb 15 2021

rlibby added a comment to D28676: ddb: enable the use of ^C and ^S/^Q.
In D28676#641723, @imp wrote:

Couple of comments but I don't know a lot about the character pipeline so I'm not sure how much good they will do.

Feb 15 2021, 8:10 AM
rlibby updated the diff for D28676: ddb: enable the use of ^C and ^S/^Q.

imp feedback: provide a chicken switch

Feb 15 2021, 7:28 AM