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

Catalin Marinas catalin.marinas at arm.com
Tue Aug 24 09:18:08 PDT 2021


On Tue, 24 Aug 2021 16:34:17 +0100, Mark Brown wrote:
> Currently we "handle" failure to allocate the SVE register storage by
> doing a BUG_ON() and hoping for the best. This is obviously not great and
> the memory allocation failure will already be loud enough without the
> BUG_ON(). As the comment says it is a corner case but let's try to do a bit
> better, remove the BUG_ON() and add code to handle the failure in the
> callers.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64/sve: Better handle failure to allocate SVE register storage
      https://git.kernel.org/arm64/c/7559b7d7d651

-- 
Catalin




More information about the linux-arm-kernel mailing list