Re: stress-ng process termination issue

Samuel Thibault <[email protected]>
Newsgroups gmane.linux.debian.ports.hurd
Organization I am not organized
Message-ID <aIkq44y2XcH9LgRt@begin>
Hello,

Michael Kelly, le mar. 29 juil. 2025 20:46:24 +0100, a ecrit:
> I think that I have an understanding of how this problem arises. Apologies
> for the long explanation especially if much of this is already apparent to
> you.

Thanks for the investigation and the details!

> I've attached my proposal for review. The solution appears clumsy but I
> could not see a more trivial method of traversing the list safely with the
> locks necessarily released for the call to thread_force_terminate().

It looks alright to me, just pre-acquiring a reference for the next
thread.

Samuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.