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
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to