git: 2694c869ff9f - main - ktls: fix a panic with INVARIANTS

Hans Petter Selasky hps at selasky.org
Thu Aug 5 18:49:27 UTC 2021


On 8/5/21 7:10 PM, Andrew Gallatin wrote:
> +		tsleep_sbt(sc, PZERO, "waiting for work", SBT_MAX, SBT_1S, 0);

Hi,

This basically puts a useless callout into the timer subsystem forever. 
I think if you don't care about this tsleep being accurate, then lock 
Giant and use sbt = 0.

In between, I think that assert in question should be updated.

--HPS


More information about the dev-commits-src-all mailing list