Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp564rdb; Sun, 21 Jan 2024 14:32:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzeU5dTcjjDkuzGEdFapMIe5Lsln/nPg9n7BiyRL9cicPj6a+yPZhWxnnJOD01iXisinhV X-Received: by 2002:a05:620a:55b2:b0:783:1683:548 with SMTP id vr18-20020a05620a55b200b0078316830548mr4498138qkn.64.1705876353291; Sun, 21 Jan 2024 14:32:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705876353; cv=pass; d=google.com; s=arc-20160816; b=jJbGw3hW4E4vFqi6i4rWYpWLjW16yGA4Gr4WM3v23+31T/Y/a+jzlSk7fTinWj9G/d c2kX1NY460Wxk8CFsMzDmVfBwOZINEQI29zFuA1h3NsG28grZ4uzvJ9nhaJtFCZz+uDz Rrcy5jpgQ5RVyRIFf4B160XEwJSryyhjvuELABH95qj3rVtRAqpBACzBPbfmzESDqUv0 UXoTx5PHagkQ8DkYNcanyX+SDYGZHvbKJAlR1PvhU/Li1J4KP/Ua/iWwMfZ8EkWuZyYW wNK/VtVuuYx0fAUNu6Cy77saRBtsWrash0p5UPXfDA7BwNDqGJ+Mcn05eGgcOLTZnIA9 cMbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=xodqBolwbkVycWLQbUKPa0P+1uSYvcyrIqf49kY235E=; fh=zFmdF5R9N/R+Rda3cMhk++eARbyXRJAt3WSI9uG1WpA=; b=Hr1/GTwejpX0RWdxjVDIYlX6IRgk1ZHcjFbIub0aQjCqMMIFCycha64QQjyvSpyOFa Z4weWTvsrJu/kMp118IEHfFHwAjxcBMY6T2lxmg+4CfBvJQFsLWh40LynCQA+XtFCUay jxcIXrV4sFRO0kI7tYzh8dmY7F+49BePwpiJD/nxIjjyu3Qw7HwXgUVcdzNsQdNWTN5a J0hGAj2fbc6oCE62O76IpeONWrAIiAYcDU0KKjB6Y0TVXelk45kpSP/VRJ6uiKXxMMOP ryCmB9qDpYqq1aDlPVRR1S8B352Fn9V39ybCr7jTvvffqF6FSffLuzrnDjrkOz0OCyAw UNHQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=PGaYwXzz; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-32210-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32210-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h8-20020a05620a284800b0078322b61e8csi4546984qkp.465.2024.01.21.14.32.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 14:32:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32210-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=PGaYwXzz; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-32210-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32210-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 123E51C209B9 for ; Sun, 21 Jan 2024 22:32:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D63C38FA4; Sun, 21 Jan 2024 22:32:27 +0000 (UTC) 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: 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 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.