User Details
- User Since
- Jul 20 2025, 12:16 PM (69 w, 3 d)
Tue, Nov 17
Drop CPU_SET_ONECPU; check the mask with CPU_FFS()/CPU_FFS_AT() as suggested
Mon, Nov 16
Fri, Nov 13
Mon, Nov 2
Sep 24 2026
Sep 4 2026
Use require.kmods ATF metadata instead of ATF_REQUIRE_KERNEL_MODULE(), per review. Macro include and its -I${SRCTOP}/tests CFLAGS dropped; macro line continuations and trailing newline verified intact.
Aug 27 2026
Aug 24 2026
Aug 19 2026
Jul 24 2026
fold in merged fixes: SMR re-entrancy guard for nested NMI/interrupt/callout writes (drop instead of recursing smr_enter); eventlog_gen.awk exact keyword matching
Jul 16 2026
Yea your comments on 1 and 2 are fair. For 3 if you carefully align things and use explicit ordering you should be very fast. With high core counts some of these concurrent queues may also use flat combining to reduce contention.
Jul 15 2026
Jul 8 2026
SOCKET_OPT_BLOB: drop varlen field ref from event format string
Jul 7 2026
Scrub internal ticket reference from a test comment
Drop IN/OUT checksum; log on-wire TCP options; add SHUTDOWN/CLOSE events; add SOCKET_OPT_BLOB for variable-length socket options
eventlog: generate provider headers via make dependencies to fix a parallel-build header race
Jul 1 2026
Jun 30 2026
Jun 25 2026
Jun 16 2026
elog: emit 'unknown argument' for unrecognized options
Jun 15 2026
Address review feedback: emit timer lifecycle events (START/CANCEL/FIRED/PROCESSED) from the base-stack timer callers; widen TIMER_START.timeout_us to uint64_t; add timer_reason payloads; guard CONN_SET_IP on a bound local port; elog(1) provider-prefixed per-session filename
Address review feedback: parse elog(1) options with getopt_long; drop internal man-page xref
Jun 10 2026
@rrs - I just wanted to provide a bit more context here.
Collected point-by-point below, keyed to your inline comments by file:line:
Point-by-point replies inline.
Thanks for the very thorough review, Michael — this caught several real bugs, not just nits. I've uploaded a new diff that addresses every point; replies are inline. A few overall notes:
Address tuexen & gallatin review feedback: GENERIC build fixes (TCP_EVENTLOG 79->81, TF2_EVENTLOG_ENABLED bit move, add <netinet/tcp_hpts.h>, replace internal timeval_to_usec64() with tcp_tv_to_lusec()); log IN/OUT fields in host byte order and use tcp_get_flags() to capture the AE flag; schema adds win_raw+win to IN/OUT and state to OUT, renames timeout->timeout_us, adds timer TWOMSL; elog(1) uses calloc() for per-session state; tcp_syncache.c dynamically enables the eventlog session and dumps state on connections accepted from an eventlog-enabled listener.
Thanks Randall — that clears up the BBPOINT piece. You're right on the mechanics (single-select today, one point defined, a mask could be added), and I agree that enhancing beats rewriting all else equal. But a mask only changes which events fire, which is the least of the differences. The structural ones it doesn't touch:
Jun 8 2026
Address tuexen review on usr.bin/elog/elog.c: STAILQ_FOREACH_SAFE in close_session_file() and document the per-event output line format in elog.1.
Address review feedback from tuexen on usr.bin/elog/elog.c: STAILQ_FOREACH_SAFE in close_session_file(), and document the per-event output line format in elog.1. No functional change.
Address review feedback from tuexen on usr.bin/elog/elog.c:
Jun 1 2026
May 29 2026
May 28 2026
Build fixes after running buildkernel - see commit body for details
Build fixes after running buildkernel: 1) Replace legacy 5-arg eventlog_provider_create() calls in tcp_subr.c and tcp_stacks/rack.c with upstream 2-arg form using a struct eventlog_provider_config. 2) Replace Netflix-internal INP_DROPPED check in the sendfile eventlog hook with upstream tp->t_flags & TF_DISCONNECTED. 3) Declare 'appended' in tcp_usr_send and capture sbavail() deltas around sbappendstream*. 4) Drop the SACK_LOG branch in rack_ack_received() since num_sack_blks/sack_blocks are not in scope; re-enable once rack_ack_received() is extended to receive SACK info from its callers.
May 14 2026
Add SPDX header to tests/sys/kern/kern_eventlog_test.py (it was previously unmarked).
Switch newly-introduced files to the simplified BSD-2-Clause template (Copyright + SPDX, no inlined boilerplate) per the licensing-policy doc. Existing files we only modify keep their existing headers untouched.
May 13 2026
Add bin/elog to targets/pseudo/userland/Makefile.depend so DIRDEPS_BUILD also picks up the new userland binary.
May 12 2026
May 11 2026
It looks like your main goal is to just clean up the lock? A more complete solution would need to run the cleanup stuff around test_hpts_free_tcpcb, right? I'm fine you prefer that be done in a follow up PR though.
Apr 26 2026
Apr 25 2026
Apr 16 2026
Tested this out and it reduced the backward time jumps, as measured by TCP connections, by >99.98% (down from 73,800 to 10).
Mar 23 2026
Mar 3 2026
Feb 24 2026
Jan 5 2026
Dec 5 2025
Nov 2 2025
Oct 22 2025
Oct 21 2025
Oct 14 2025
Oct 8 2025
Oct 2 2025
Oct 1 2025
This change looks good to me, though I personally prefer to the more verbose comments before you shortened them. But I wouldn't block on that.
Sep 25 2025
Aug 28 2025
Aug 11 2025
Aug 9 2025
Aug 5 2025
Hello! While I realize it might not be a priority here, I just wanted to leave a comment to let you know these recent changes to add files with : in the filename have broken git clone/pull on Windows (which doesn't allow these characters in the file names). I had the repo cloned on a Windows laptop so I could read the code, but now can no longer git pull the latest. It would be great if we could maintain that support. Thanks!
I feel like this is pretty fragile. This reset reason can pass through a few layers of code, and it's not clear before this point (at least for me, a newcomer to the code) that these are the only two valid reasons (nor why they are). Also, it's not trivial to quickly/trivially walk the code paths to be certain this assert holds.