[PATCH] arm64/sve: Better handle failure to allocate SVE register storage

Mark Brown broonie at kernel.org
Tue Aug 24 05:48:39 PDT 2021


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210824/e6fd78a4/attachment.sig>


More information about the linux-arm-kernel mailing list