Page MenuHomeFreeBSD
Feed Advanced Search

Thu, May 30

rlibby requested review of D45407: pctrie: predict successful allocation.
Thu, May 30, 4:07 AM

Wed, May 29

rlibby added inline comments to D45396: vm_radix: define vm_radix_insert_lookup_lt and use in vm_page_rename.
Wed, May 29, 7:35 PM
rlibby added inline comments to D45394: pctrie: add combined insert/lookup operations.
Wed, May 29, 7:29 PM
rlibby updated the diff for D45396: vm_radix: define vm_radix_insert_lookup_lt and use in vm_page_rename.

kib style feedback

Wed, May 29, 6:16 PM
rlibby updated the diff for D45395: getblk: reduce time under bufobj lock.

kib feedback on style and __result_use_check

Wed, May 29, 6:15 PM
rlibby updated the diff for D45394: pctrie: add combined insert/lookup operations.

kib feedback on KASSERT style, and fix a comment typo

Wed, May 29, 6:13 PM
rlibby added inline comments to D45395: getblk: reduce time under bufobj lock.
Wed, May 29, 4:36 PM
rlibby added inline comments to D45395: getblk: reduce time under bufobj lock.
Wed, May 29, 4:27 PM

Tue, May 28

rlibby requested review of D45396: vm_radix: define vm_radix_insert_lookup_lt and use in vm_page_rename.
Tue, May 28, 7:39 PM
rlibby requested review of D45395: getblk: reduce time under bufobj lock.
Tue, May 28, 7:39 PM
rlibby requested review of D45394: pctrie: add combined insert/lookup operations.
Tue, May 28, 7:39 PM

Mon, May 27

rlibby added a comment to D43775: tests/unix_seqpacket: provide random data pumping test with MSG_EOR.

Filed https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279354

Mon, May 27, 6:38 PM

Sun, May 26

rlibby committed rG9c975a0d90f1: pbuf_ctor(): Stop using LK_NOWAIT, use LK_NOWITNESS (authored by rlibby).
pbuf_ctor(): Stop using LK_NOWAIT, use LK_NOWITNESS
Sun, May 26, 5:37 PM
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
Sun, May 26, 5:37 PM
rlibby closed D45360: pbuf_ctor(): Stop using LK_NOWAIT, use LK_NOWITNESS.
Sun, May 26, 5:37 PM
rlibby closed D45364: tmpfs_node_init: use MTX_NEW on lock from uninitialized memory.
Sun, May 26, 5:37 PM
rlibby added a comment to D45368: uma: Fix improper uses of UMA_MD_SMALL_ALLOC.

What about arc_available_memory() in sys/contrib/openzfs/module/os/freebsd/zfs/arc_os.c? Isn't that still broken?

Sun, May 26, 5:13 PM
rlibby added a comment to D45360: pbuf_ctor(): Stop using LK_NOWAIT, use LK_NOWITNESS.
In D45360#1034889, @kib wrote:

LK_NOWAIT is the common pattern for this situation. Besides buffers, another immediate example is the vm_map lock in vmspace_fork() (look for the new_map locking and comment).

Sun, May 26, 12:58 AM
rlibby added inline comments to D45288: vm_pageout_scan_inactive: take a lock break.
Sun, May 26, 12:21 AM

Sat, May 25

rlibby requested review of D45364: tmpfs_node_init: use MTX_NEW on lock from uninitialized memory.
Sat, May 25, 4:31 PM
rlibby requested review of D45360: pbuf_ctor(): Stop using LK_NOWAIT, use LK_NOWITNESS.
Sat, May 25, 7:45 AM

Fri, May 24

rlibby committed rGa216e311a70c: vm_pageout_scan_inactive: take a lock break (authored by rlibby).
vm_pageout_scan_inactive: take a lock break
Fri, May 24, 3:56 PM
rlibby closed D45288: vm_pageout_scan_inactive: take a lock break.
Fri, May 24, 3:56 PM
rlibby added inline comments to D45288: vm_pageout_scan_inactive: take a lock break.
Fri, May 24, 6:44 AM

Wed, May 22

rlibby updated the diff for D45288: vm_pageout_scan_inactive: take a lock break.

alc feedback: const and style fixups

Wed, May 22, 6:48 PM
rlibby added inline comments to D45288: vm_pageout_scan_inactive: take a lock break.
Wed, May 22, 6:44 PM
rlibby updated the diff for D45288: vm_pageout_scan_inactive: take a lock break.

markj feedback: elaborate on comment and provide vm_batchqueue_empty()

Wed, May 22, 5:17 PM
rlibby added inline comments to D45288: vm_pageout_scan_inactive: take a lock break.
Wed, May 22, 4:48 PM
rlibby updated the summary of D45288: vm_pageout_scan_inactive: take a lock break.
Wed, May 22, 4:27 PM
rlibby updated the diff for D45288: vm_pageout_scan_inactive: take a lock break.

Implement markj's suggestion

Wed, May 22, 4:24 PM
rlibby added inline comments to D45288: vm_pageout_scan_inactive: take a lock break.
Wed, May 22, 3:44 PM
rlibby committed rGbea2bf458d2c: tpm_if.m: declare bus addresses as bus_size_t not bus_addr_t (authored by rlibby).
tpm_if.m: declare bus addresses as bus_size_t not bus_addr_t
Wed, May 22, 2:56 PM
rlibby closed D45287: tpm_if.m: declare bus addresses as bus_size_t not bus_addr_t.
Wed, May 22, 2:56 PM

Tue, May 21

rlibby added inline comments to D45288: vm_pageout_scan_inactive: take a lock break.
Tue, May 21, 7:50 PM
rlibby updated the summary of D45288: vm_pageout_scan_inactive: take a lock break.
Tue, May 21, 7:39 PM
rlibby requested review of D45288: vm_pageout_scan_inactive: take a lock break.
Tue, May 21, 7:32 PM
rlibby committed rGa332ba32d4a2: getblk: fail faster with GB_LOCK_NOWAIT (authored by rlibby).
getblk: fail faster with GB_LOCK_NOWAIT
Tue, May 21, 6:17 PM
rlibby committed rGbd56aad33c25: buf: define and use BUF_DISOWNED (authored by rlibby).
buf: define and use BUF_DISOWNED
Tue, May 21, 6:17 PM
rlibby committed rGb92cd6b2944a: lockmgr: make lockmgr_disowned public and use it (authored by rlibby).
lockmgr: make lockmgr_disowned public and use it
Tue, May 21, 6:17 PM
rlibby closed D45245: getblk: fail faster with GB_LOCK_NOWAIT.
Tue, May 21, 6:17 PM
rlibby closed D45249: buf: define and use BUF_DISOWNED.
Tue, May 21, 6:17 PM
rlibby closed D45248: lockmgr: make lockmgr_disowned public and use it.
Tue, May 21, 6:17 PM
rlibby added a comment to D45287: tpm_if.m: declare bus addresses as bus_size_t not bus_addr_t.

The only time this makes a difference is if the sizes of bus_addr_t and bus_size_t are different, and I don't have any test hardware where that's the case and I can test TPM. (Only hardware I have where that's the case is ppc Book-E, but that doesn't have a TPM).

Tue, May 21, 5:47 PM
rlibby updated the test plan for D45287: tpm_if.m: declare bus addresses as bus_size_t not bus_addr_t.
Tue, May 21, 5:05 PM
rlibby requested review of D45287: tpm_if.m: declare bus addresses as bus_size_t not bus_addr_t.
Tue, May 21, 5:04 PM

Mon, May 20

rlibby added inline comments to D45245: getblk: fail faster with GB_LOCK_NOWAIT.
Mon, May 20, 9:09 PM
rlibby updated the diff for D45245: getblk: fail faster with GB_LOCK_NOWAIT.
  • getblk: fail faster with GB_LOCK_NOWAIT
  • GB_LOCK_NOWAIT markj feedback
Mon, May 20, 7:34 PM
rlibby added a comment to D45245: getblk: fail faster with GB_LOCK_NOWAIT.

My only comment is that, reading the code, it's not immediately obvious why we give up right away when failing to acquire the buf lock, but not when we successfully acquire the buf lock and discover that the buffer identity has changed.

Mon, May 20, 7:00 PM
rlibby committed rGda590a3e18cb: lock.9: LK_TIMELOCK is a lockmgr flag, not lockinit (authored by rlibby).
lock.9: LK_TIMELOCK is a lockmgr flag, not lockinit
Mon, May 20, 4:51 PM
rlibby closed D45246: lock.9: LK_TIMELOCK is a lockmgr flag, not lockinit.
Mon, May 20, 4:51 PM
rlibby added a comment to D43775: tests/unix_seqpacket: provide random data pumping test with MSG_EOR.

@glebius I ran into this while running the kern tests. This new test is failing reliably for me, and it looks like in CI too, e.g. this run on April 9:
https://ci.freebsd.org/job/FreeBSD-main-amd64-test/25066/testReport/sys.kern/unix_seqpacket_test/random_eor_and_waitall/

Mon, May 20, 6:45 AM
rlibby added a comment to D45245: getblk: fail faster with GB_LOCK_NOWAIT.
In D45245#1032333, @kib wrote:

I think that this is technically correct but unfair. Intent was that failed unlocked buffer lookup should not change the behavior, in particular, allowing the normal lookup quirks to proceed.

Mon, May 20, 3:41 AM

Sun, May 19

rlibby requested review of D45249: buf: define and use BUF_DISOWNED.
Sun, May 19, 1:59 AM
rlibby requested review of D45248: lockmgr: make lockmgr_disowned public and use it.
Sun, May 19, 1:59 AM
rlibby requested review of D45246: lock.9: LK_TIMELOCK is a lockmgr flag, not lockinit.
Sun, May 19, 1:48 AM
rlibby requested review of D45245: getblk: fail faster with GB_LOCK_NOWAIT.
Sun, May 19, 1:44 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