[PATCH v2] arm64: lockdep: enable checks for held locks when returning to userspace

Catalin Marinas catalin.marinas at arm.com
Tue Jun 6 10:30:11 PDT 2023


On Wed, 31 May 2023 09:09:09 +0000, Eric Chan wrote:
> Currently arm64 doesn't use CONFIG_GENERIC_ENTRY and doesn't call
> lockdep_sys_exit() when returning to userspace.
> This means that lockdep won't check for held locks when
> returning to userspace, which would be useful to detect kernel bugs.
> 
> Call lockdep_sys_exit() when returning to userspace,
> enabling checking for held locks.
> 
> [...]

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

[1/1] arm64: lockdep: enable checks for held locks when returning to userspace
      https://git.kernel.org/arm64/c/ab1e29acdb33

-- 
Catalin




More information about the linux-arm-kernel mailing list