[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 6 Jun 2023 18:30:11 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Will Deacon <will@...nel.org>, Mark Rutland <mark.rutland@....com>,
Eric Chan <ericchancf@...gle.com>
Cc: "Paul E . McKenney" <paulmck@...nel.org>,
Anshuman Khandual <anshuman.khandual@....com>,
Frederic Weisbecker <frederic@...nel.org>,
Mukesh Ojha <quic_mojha@...cinc.com>,
Josh Poimboeuf <jpoimboe@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] arm64: lockdep: enable checks for held locks when returning to userspace
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
Powered by blists - more mailing lists