Re: [PATCH v4] tools: jobserver: Prevent deadlock caused by incorrect jobserver configuration and enhance error reporting
From: Jonathan Corbet
Date: Mon Jan 12 2026 - 11:48:22 EST
Jonathan Corbet <corbet@xxxxxxx> writes:
> Jonathan Corbet <corbet@xxxxxxx> writes:
>
>> The warning comes from JobserverExec::open(), for an exception that
>> appears to be expected. This is the sort of use of exceptions that has
>> made me almost swear off them entirely in Python - it's a huge try block
>> that is using exceptions to hide a bunch of the assumptions and logic.
>> I'll be posting a patch shortly to remove this non-exceptional exception
>> case.
>
> Here's a first step, just to show what I have in mind.
So FYI I'm going to add this into docs-next just to avoid adding a
potentially worrisome build warning to linux-next. It's not yet in
docs-mw, so it's easily removable if a better way comes along.
jon