From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5DD9138F86 for ; Sun, 21 Jan 2024 22:32:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876346; cv=none; b=W9k9sIo/RuMD64A+O+gbrRQjkHgzzIK7GJQGSzXA0YXN2bBHOi9DNPQQB0yS9G+2oUZHquEM0p5CoFzio+jFz/d9yO/k923ByiKPYjRJYBcRxd8moaK1UiijmsL/iuOwoAWxKzKGbXYgWb0Pz/fCU3MrkOyEeXYPzEeqJd2hW2Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876346; c=relaxed/simple; bh=ik35T/x5yL4zn6sAO0sKXnsdeSg2LD9SzPHvJ/0RNT8=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=lC65dif1rfjcO/rjKQDrwIrbME50iOV9hwOQ+UGx/mgSFQLH2xEopI1QpAhUe1mAaTf+brhLNLP8W4YyDbya2dej0orkOim8IV+SqCtjeJe/3rjalkGFNo8Bq2v5TRHGG780RDp8kNO6QJoc2qSxv8xIsCB3cHCKYmtQNYNAa8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=PGaYwXzz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="PGaYwXzz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97F86C433C7; Sun, 21 Jan 2024 22:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1705876345; bh=ik35T/x5yL4zn6sAO0sKXnsdeSg2LD9SzPHvJ/0RNT8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PGaYwXzzHGWG4VgNkuPqLiiBjg4UGPh4GoTikM9xUL+26806esokGGv0cw5IMXIUA 8bcwNJn0eutJGycZcbQAJbum9cklN0otcpN3pUor+wm7zVMftnIkqq8fKSfBg+4VPY WSceVnFBT67FY6/47CIVu2sZ48OMLuIYDrSIhoDk= Date: Sun, 21 Jan 2024 14:32:18 -0800 From: Andrew Morton To: Dylan Hatch Cc: Oleg Nesterov , Kees Cook , Frederic Weisbecker , "Joel Fernandes (Google)" , Ard Biesheuvel , "Matthew Wilcox (Oracle)" , Thomas Gleixner , Sebastian Andrzej Siewior , "Eric W. Biederman" , Vincent Whitchurch , Dmitry Vyukov , Luis Chamberlain , Mike Christie , David Hildenbrand , Catalin Marinas , Stefan Roesch , Joey Gouly , Josh Triplett , Helge Deller , Ondrej Mosnacek , Florent Revest , Miguel Ojeda , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] getrusage: use sig->stats_lock Message-Id: <20240121143218.35d3171018771e5c2b5820e3@linux-foundation.org> In-Reply-To: References: <20240117192534.1327608-1-dylanbhatch@google.com> <20240119141501.GA23739@redhat.com> <20240119141529.GB23739@redhat.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 19 Jan 2024 19:27:49 -0800 Dylan Hatch wrote: > > I applied these to a 5.10 kernel, and my repro (calling getrusage(RUSAGE_SELF) > from 200K threads) is no longer triggering a hard lockup. Thanks, but... The changelogs don't actually describe any hard lockup. [1/2] does mention "the deadlock" but that's all the info we have. So could we please have a suitable description of the bug which these are addressing? And a Reported-by:, a Closes: and a Fixes would be great too.