Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20762C4338F for ; Tue, 24 Aug 2021 12:51:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D74D160EB5 for ; Tue, 24 Aug 2021 12:51:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D74D160EB5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2nNzy3qGtB6ZkUJ1quU3TWHHbRvY2uZUMqZRCufIJTA=; b=wylGtlahdfMn9jecp3gTCbE4an YzifE9ajfWyLD/sLKn7wF6nY7ZZPjMy5pI4BduLYbZZfi6PGLBPrHESsfx8GAmXc4/KfEuzSFbu0P RKfpy6dKNu5KbbLYvMbjaZxPz/wH/AYGGNmKIh7THhci2ZnTDZO/yXwoNIJYEPIYp7pX714DhoB+7 fnxhDWB4Awhex1O8o9lQcHu8vEcZJHu8SOwb0hz7pQL1Af0TJSAyxpH7zyF7r+PNSywsxupWgkzNo IDJJTVGzplGAlokjNMZz7vJBHcCwk0ch9bFvRgt/Kh6gKphh4v9BkAusjxJl4E7OmwAy+F8BYl+Wg brMBmJTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mIVrb-0036eH-7Z; Tue, 24 Aug 2021 12:49:11 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mIVrX-0036dN-T7 for linux-arm-kernel@lists.infradead.org; Tue, 24 Aug 2021 12:49:09 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 878E6604AC; Tue, 24 Aug 2021 12:49:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629809347; bh=D2RtOZE5S3hX9Y+1bf5J374lAk/REljnomiHI5T9DY0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gu2JHBu/y7xbG1xpRoEhj/e8nHyIzNa6ZpNKFxICGtO//1RR9JYTkSzsVCpOnhFQP p5T6M5R/t3+5jy2xm8S6eh1YJuxjQdffhG5Qm/C+g6JZBrrGo5pwIePiEOZqIItNeo jOE+ex2RPufVpOzndSf0nOO6IXTkTxFET/7Xdi6F1oxO26WV9z2IqxqyZoOWFfYfTD KecRi+czJ0LJdyrjNZnATUS4pRj6Cp3M20zLyVYdtc0HemXSnukEEscVe1e4sFYHIN nYzs4bG/RzK/eN1QomszTS2mftzYtBQIeMFwDTe3mkCHoRr9B3Mgi+ORY0zwzcB8Po FFNoF5l/qWklg== Date: Tue, 24 Aug 2021 13:48:39 +0100 From: Mark Brown To: Catalin Marinas Cc: Will Deacon , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64/sve: Better handle failure to allocate SVE register storage Message-ID: <20210824124839.GA4393@sirena.org.uk> References: <20210817171330.25847-1-broonie@kernel.org> <20210824103213.GA623@arm.com> MIME-Version: 1.0 In-Reply-To: <20210824103213.GA623@arm.com> X-Cookie: Sentient plasmoids are a gas. User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210824_054907_995882_097B4166 X-CRM114-Status: GOOD ( 12.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4974019639148106665==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4974019639148106665== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 24, 2021 at 11:32:14AM +0100, Catalin Marinas wrote: > On Tue, Aug 17, 2021 at 06:13:30PM +0100, Mark Brown wrote: > > - BUG_ON(!task->thread.sve_state); > I think we should keep a WARN_ON_ONCE here in case one wonders why the > app was suddenly killed. OOM is very noisy already, the general advice is not to issue any extra diagnostics on allocation failures as there's already going to be at the very least a backtrace from the allocation failure site. --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmEk6qcACgkQJNaLcl1U h9BaPAf7BWD0pv9z1elL9NHOtaeYhw92f6WHTrUgvUlXNAsP0r/IX5kzjicaAVWu cQq4HEhWOjB9K8Udb2rL50a/a3PNYoH7sZcEmkngR3DksxXqs90dZZkxYp69Kwqf yr7toMGuYDceF1L7OzaoRv2RH28vaSk0+kiQcq0PJwkMctCx8qzIZ42QNMpa+1Gg Oa0tSPY0YvUCahSuzMFx2673Ae3pGgZaSfNJ1yCYyDGLWeVqh6mwsNGdKEek0AwB 0OSqTuZeHoI7U4012WQkH4gL0VBG6yFLvHOY3lpYgeYy5Y24sVBwgxH3Q4jaFKrR ABVubRkb7UrG8rEzOEPwWxI0x7FAlA== =FEpW -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd-- --===============4974019639148106665== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4974019639148106665==--