Page MenuHomeFreeBSD
Feed Advanced Search

Jun 1 2018

jtl added a comment to D15646: Provide option to panic when the IPMI creates an NMI.

I don't know ISA well. I'm open to switching this to be an option to always panic on any NMI, instead of picking NMI_TIMER2 for special treatment.

Jun 1 2018, 5:33 PM
jtl created D15646: Provide option to panic when the IPMI creates an NMI.
Jun 1 2018, 5:05 PM
jtl created D15645: Update atomic man page to reflect reality.
Jun 1 2018, 4:52 PM
jtl committed rS334490: Update the sysctl(9) manpage to indicate that <sys/param.h> is required.
Update the sysctl(9) manpage to indicate that <sys/param.h> is required
Jun 1 2018, 4:47 PM

May 31 2018

jtl accepted D15222: Use UDP len when calculating UDP checksums.

I'm sorry it took me so long to review this.

May 31 2018, 3:08 PM
jtl added a comment to D15386: Improve portability of structs xinpcb and friends..

Anyone on transport care about this?

May 31 2018, 1:26 AM

May 24 2018

jtl added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.
In D11003#327485, @jtl wrote:

Is everyone on this review fine with me committing this? With the inheritance code removed, I believe there are no further objections or questions.

I've been meaning to review this, but have been delayed. I would appreciate a few extra days to look it over.

@jtl I'd like to commit this at some point this week, but I also want your feedback on it. Should we hold off until next week to drop this into head?

May 24 2018, 12:43 AM

May 21 2018

jtl added a comment to D11003: Load balance sockets with new SO_REUSEPORT_LB option.

Is everyone on this review fine with me committing this? With the inheritance code removed, I believe there are no further objections or questions.

May 21 2018, 9:09 PM
jtl accepted D15510: Defer inpcb deletion until after a grace period has elapsed.

Having stared at this a bit, I generally think its fine. In fact, in some aspects it is an improvement over what it replaces.

May 21 2018, 6:59 PM
jtl added a reviewer for D15510: Defer inpcb deletion until after a grace period has elapsed: rwatson.
May 21 2018, 6:21 PM
jtl added a comment to D15483: More bcmp "optimization".
In D15483#326763, @mjg wrote:

First a minor note is that I took the liberty of s/bzero/bcmp, which I presume was intended.

May 21 2018, 2:48 PM

May 18 2018

jtl added a comment to D15483: More bcmp "optimization".

By the way, measurements were taken on an Intel E5-2697A v4 (32-core Broadwell).

May 18 2018, 7:26 PM
jtl created D15483: More bcmp "optimization".
May 18 2018, 7:18 PM

May 16 2018

jtl added a comment to D7135: A problem with ASYNC drain.

Yes, see rS302894, rS302997, rS302998, rS303037, rS303096, and rS303098.

May 16 2018, 6:49 PM

May 13 2018

jtl added a comment to D15222: Use UDP len when calculating UDP checksums.

Sorry it took me a while to look at this. See comments in-line.

May 13 2018, 12:32 AM
jtl added a reviewer for D15222: Use UDP len when calculating UDP checksums: transport.
May 13 2018, 12:31 AM

May 12 2018

jtl closed D15021: Wakup applications with shutdown on listen sockets (stable/11 version).
May 12 2018, 1:55 AM
jtl committed rS333511: r285910 attempted to make shutdown() be POSIX compliant by returning.
r285910 attempted to make shutdown() be POSIX compliant by returning
May 12 2018, 1:55 AM

May 11 2018

jtl added a comment to D15021: Wakup applications with shutdown on listen sockets (stable/11 version).

Given the fact that users appear to depend on this (we have two PRs on it), this appears to have been an unintended change in stable/11, and it seems to violate POLA by making this change on a stable branch, I intend to commit this today unless someone objects.

May 11 2018, 1:19 PM

May 10 2018

jtl added a comment to D15019: Wakup applications with shutdown on listen sockets.

@glebius : Any progress on reviewing this? IIRC, you didn't like overloading the SS_ISDISCONNECTED flag to indicate listen sockets that were shutdown. Do you have an alternate proposal?

May 10 2018, 7:06 PM
jtl added a comment to D15021: Wakup applications with shutdown on listen sockets (stable/11 version).

Is everyone OK with this going in? Or, to ask it differently, is anyone not OK? The 11.2 release is underway, so it would be good to get this in soon, if we agree to fix it in stable/11.

May 10 2018, 7:04 PM

May 9 2018

jtl added a comment to D15358: Address memory leak in new reno cc module.

BTW, it looks like this was introduced in r331214. Since it is so new, my "not widely used" comment is probably both true and somewhat irrelevant.

May 9 2018, 12:09 AM
jtl added inline comments to D15358: Address memory leak in new reno cc module.
May 9 2018, 12:03 AM

May 8 2018

jtl added reviewers for D15358: Address memory leak in new reno cc module: transport, rrs.
May 8 2018, 10:32 PM

May 7 2018

jtl added a comment to D15337: Add support for higher resolution timestamps.
In D15337#323183, @jtl wrote:

How does this interact with the low-latency, high-precision timestamp option being discussed at the IETF?

See https://tools.ietf.org/html/draft-wang-tcpm-low-latency-opt-00 and https://www.ietf.org/proceedings/97/slides/slides-97-tcpm-tcp-options-for-low-latency-00.pdf .

@jtl I was under the impression that that discussion had stalled. The RFC you point at expired on December 10, 2017. Is there a mailing list where this is being discussed or do I need to mail them individually?

May 7 2018, 6:26 PM
jtl added inline comments to D11003: Load balance sockets with new SO_REUSEPORT_LB option.
May 7 2018, 3:30 PM
jtl added a comment to D15337: Add support for higher resolution timestamps.

How does this interact with the low-latency, high-precision timestamp option being discussed at the IETF?

May 7 2018, 2:17 PM

Apr 27 2018

jtl added a comment to D14993: Add a limit on how long TCP data can live at the head of the output queue.

I'm not sure it is a good idea to have a sysctl for the default value. I would prefer to have the default value always be 0 (not changeable by a sysctl) and required the application to set a non-default value via the socket option. Why is there a need to change the default from "off" on a system wide base?

Apr 27 2018, 12:26 PM

Apr 25 2018

jtl created D15203: Post-panic KASSERT enhancements.
Apr 25 2018, 8:27 PM

Apr 24 2018

jtl committed rS332958: Update r332860 by changing the default from suppressing post-panic.
Update r332860 by changing the default from suppressing post-panic
Apr 24 2018, 6:47 PM

Apr 23 2018

jtl committed rS332889: MFC r331745 (by np):.
MFC r331745 (by np):
Apr 23 2018, 2:22 PM

Apr 21 2018

jtl committed rS332860: When running with INVARIANTS, the kernel contains extra checks. However,.
When running with INVARIANTS, the kernel contains extra checks. However,
Apr 21 2018, 5:05 PM
jtl closed D12920: Avoid a double-panic caused by KASSERTs.
Apr 21 2018, 5:05 PM

Apr 20 2018

jtl committed rS332842: MFC r319216:.
MFC r319216:
Apr 20 2018, 8:18 PM
jtl committed rS332841: MFC r319215:.
MFC r319215:
Apr 20 2018, 8:17 PM
jtl committed rS332840: MFC r319214:.
MFC r319214:
Apr 20 2018, 8:10 PM
jtl added a comment to D15021: Wakup applications with shutdown on listen sockets (stable/11 version).

Presumably we need to agree on and commit D15019 first, and commit this as a MFC in spirit after the change in HEAD.

Apr 20 2018, 6:44 PM
jtl committed rS332834: MFC r314286:.
MFC r314286:
Apr 20 2018, 6:37 PM
jtl committed rS332831: MFC r314116:.
MFC r314116:
Apr 20 2018, 3:55 PM
jtl committed rS332830: MFC r313447:.
MFC r313447:
Apr 20 2018, 3:49 PM
jtl committed rS332829: MFC r307083:.
MFC r307083:
Apr 20 2018, 3:44 PM
jtl committed rS332828: MFC r306768:.
MFC r306768:
Apr 20 2018, 3:41 PM
jtl committed rS332827: MFC r330511:.
MFC r330511:
Apr 20 2018, 3:36 PM
jtl committed rS332826: MFC r330510:.
MFC r330510:
Apr 20 2018, 3:29 PM
jtl committed rS332823: MFC r329171:.
MFC r329171:
Apr 20 2018, 3:06 PM
jtl committed rS332822: MFC r329071:.
MFC r329071:
Apr 20 2018, 2:55 PM
jtl committed rS332821: MFC r331309:.
MFC r331309:
Apr 20 2018, 2:47 PM
jtl committed rS332820: MFC r331484:.
MFC r331484:
Apr 20 2018, 2:34 PM
jtl committed rS332819: MFC r331488:.
MFC r331488:
Apr 20 2018, 2:21 PM
jtl committed rS332818: MFC r331926:.
MFC r331926:
Apr 20 2018, 2:01 PM
jtl committed rS332817: MFC r332120:.
MFC r332120:
Apr 20 2018, 1:59 PM
jtl added a comment to D15021: Wakup applications with shutdown on listen sockets (stable/11 version).

If we're going to get this into 11.2, it would be nice if someone reviewed this soonish.

Apr 20 2018, 1:46 PM

Apr 11 2018

jtl accepted D15043: Add Tom Jones (thj) as a new src committer..
Apr 11 2018, 10:54 PM
jtl accepted D15046: Make lagg creation more fault tolerant.
Apr 11 2018, 5:56 PM
jtl accepted D15043: Add Tom Jones (thj) as a new src committer..

Looks good. Please check on two things before committing:

  1. I don't see a svn:keywords property change for head/share/pgpkeys/thj.key. I expected to see one, although this could just be a Phabricator display issue. Can you confirm you've followed the instructions in the Note at the start of 5.3.7 of the Committer's Guide ("Adding and Removing Files")? If not, please do so and then svn remove and svn add the file again. You can check that the property was correctly applied by running this command: svn propget svn:keywords thj.key. You should see FreeBSD=%H.
  2. Please check on the indentation in news.xml. (See in-line note.)
Apr 11 2018, 5:45 PM
jtl requested changes to D15043: Add Tom Jones (thj) as a new src committer..
Apr 11 2018, 5:07 PM
jtl accepted D15042: Add myself to committers-src.dot.
Apr 11 2018, 4:55 PM

Apr 10 2018

jtl added inline comments to D15020: Add of high-precision-timer-system used by rack and bbr for pacing. Also sync up the function block differences needed by bbr/rack..
Apr 10 2018, 10:45 PM
jtl accepted D15020: Add of high-precision-timer-system used by rack and bbr for pacing. Also sync up the function block differences needed by bbr/rack..

See nits inline.

Apr 10 2018, 6:41 PM
jtl committed rS332382: Add missing header change from r332381..
Add missing header change from r332381.
Apr 10 2018, 5:00 PM
jtl committed rS332381: Modify the net.inet.tcp.function_ids sysctl introduced in r331347..
Modify the net.inet.tcp.function_ids sysctl introduced in r331347.
Apr 10 2018, 4:59 PM
jtl committed rS332379: Move the TCP Blackbox Recorder probe in tcp_output.c to be with the.
Move the TCP Blackbox Recorder probe in tcp_output.c to be with the
Apr 10 2018, 3:54 PM
jtl committed rS332378: Clean up some debugging code left in tcp_log_buf.c from r331347..
Clean up some debugging code left in tcp_log_buf.c from r331347.
Apr 10 2018, 3:52 PM

Apr 9 2018

jtl committed rS332340: Add Tom Jones (thj@) as a source committer..
Add Tom Jones (thj@) as a source committer.
Apr 9 2018, 9:47 PM
jtl created D15021: Wakup applications with shutdown on listen sockets (stable/11 version).
Apr 9 2018, 6:44 PM
jtl updated the diff for D15019: Wakup applications with shutdown on listen sockets.

This fix should work with HEAD.

Apr 9 2018, 5:36 PM
jtl added a comment to D15019: Wakup applications with shutdown on listen sockets.

No, this is not the right fix for head. However, if I change the spelling of SOLISTENING(so) to (so->so_options & SO_ACCEPTCON), then I think it is the right fix for 11.

Apr 9 2018, 4:43 PM
jtl created D15019: Wakup applications with shutdown on listen sockets.
Apr 9 2018, 4:18 PM
jtl committed rD51541: Update PGP key expiry dates for jtl..
Update PGP key expiry dates for jtl.
Apr 9 2018, 3:01 PM

Apr 6 2018

jtl created D14993: Add a limit on how long TCP data can live at the head of the output queue.
Apr 6 2018, 7:48 PM
jtl committed rS332120: If a user closes the socket before we call tcp_usr_abort(), then.
If a user closes the socket before we call tcp_usr_abort(), then
Apr 6 2018, 5:20 PM
jtl committed rS332117: Pat the watchdog less while producing a coredump. Prior to this change,.
Pat the watchdog less while producing a coredump. Prior to this change,
Apr 6 2018, 5:06 PM
jtl closed D14988: Pat the watchdog less while producing a coredump.
Apr 6 2018, 5:06 PM
jtl committed rS332114: Check that in_pcbfree() is only called once for each PCB. If that.
Check that in_pcbfree() is only called once for each PCB. If that
Apr 6 2018, 4:48 PM
jtl closed D14990: Check that in_pcbfree() is only called once for each PCB..
Apr 6 2018, 4:48 PM
jtl created D14990: Check that in_pcbfree() is only called once for each PCB..
Apr 6 2018, 4:31 PM
jtl updated subscribers of D14988: Pat the watchdog less while producing a coredump.
In D14988#315317, @imp wrote:

How much of a difference does this make in write speed for the dumps? Do we have numbers on it?

Apr 6 2018, 3:23 PM
jtl committed rS332104: In cases where an application issues certain IPMI commands at a high.
In cases where an application issues certain IPMI commands at a high
Apr 6 2018, 3:15 PM
jtl created D14988: Pat the watchdog less while producing a coredump.
Apr 6 2018, 3:03 PM
jtl added a comment to D3567: ignore ICMP need frag with equal or larger MTU offer.

This was already committed in rS288412.

Apr 6 2018, 12:15 AM
jtl accepted D14941: Move most of the contents of opt_compat.h to opt_global.h..

I'll OK the sys/netinet/tcp_subr.c change on behalf of transport. :-)

Apr 6 2018, 12:08 AM

Apr 3 2018

jtl closed D14937: Fix LRO window comparison.
Apr 3 2018, 1:54 PM
jtl committed rS331926: r330675 introduced an extra window check in the LRO code to ensure it.
r330675 introduced an extra window check in the LRO code to ensure it
Apr 3 2018, 1:54 PM

Apr 2 2018

jtl created D14937: Fix LRO window comparison.
Apr 2 2018, 6:46 PM

Mar 24 2018

jtl added a comment to D14827: Tighten up event scheduling.
In D14827#311859, @mav wrote:

I'll need to look on it closer to recall all the details, but so far my main worry about your patches is that you are increase scope of ET_HW_LOCK(), which may be a problem for SMP system with non-per-CPU event timers, where that lock is global. I remember there were cases of 8-core systems using HPET by default, where this lock was pretty busy.

Mar 24 2018, 7:39 PM
jtl added a comment to D14830: Callout revision proposal.

FYI, @rrs already gave an offline approval for this.

Mar 24 2018, 3:37 PM
jtl created D14830: Callout revision proposal.
Mar 24 2018, 3:36 PM
jtl added a comment to D14828: Avoid a race when we're setting the event timer while going idle.
In D14828#311827, @kib wrote:

What are the delays without these changes ?

Mar 24 2018, 3:34 PM
jtl created D14828: Avoid a race when we're setting the event timer while going idle.
Mar 24 2018, 2:48 PM
jtl created D14827: Tighten up event scheduling.
Mar 24 2018, 2:42 PM
jtl created D14826: When processing an IPI, use the correct current time in hardclockintr().
Mar 24 2018, 2:36 PM
jtl committed rS331488: This change adds a flag to the DAD entry to indicate whether it is.
This change adds a flag to the DAD entry to indicate whether it is
Mar 24 2018, 1:18 PM
jtl closed D10943: Static analysis: Improve DAD deletion code.
Mar 24 2018, 1:18 PM
jtl added inline comments to D10943: Static analysis: Improve DAD deletion code.
Mar 24 2018, 1:03 PM
jtl committed rS331485: Make the TCP blackbox code committed in r331347 be an optional feature.
Make the TCP blackbox code committed in r331347 be an optional feature
Mar 24 2018, 12:48 PM
jtl committed rS331484: Remove some unneccessary variable sets in IPv6 code, as detected by.
Remove some unneccessary variable sets in IPv6 code, as detected by
Mar 24 2018, 12:43 PM
jtl closed D10940: Static analysis: Remove unused variables in IPv6 code.
Mar 24 2018, 12:43 PM
jtl committed rS331483: Fix compilation for platforms that don't support atomic_fetchadd_64().
Fix compilation for platforms that don't support atomic_fetchadd_64()
Mar 24 2018, 12:41 PM

Mar 22 2018

jtl added a comment to D10943: Static analysis: Improve DAD deletion code.

Can someone please review this? This has been outstanding for a while...

Mar 22 2018, 10:56 AM
jtl added a comment to D10940: Static analysis: Remove unused variables in IPv6 code.

Starting the (approx.) 48-hour countdown timer until commit.

Mar 22 2018, 10:56 AM