[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173048223688.1108539.1091476619283409059.b4-ty@arm.com>
Date: Fri, 1 Nov 2024 17:36:16 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: mark.rutland@....com,
will@...nel.org,
oliver.upton@...ux.dev,
kristina.martsenko@....com,
ptosi@...gle.com,
Liao Chang <liaochang1@...wei.com>
Cc: linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] arm64: Return early when break handler is found on linked-list
On Thu, 24 Oct 2024 03:41:20 +0000, Liao Chang wrote:
> The search for breakpoint handlers iterate through the entire
> linked list. Given that all registered hook has a valid fn field, and no
> registered hooks share the same mask and imm. This commit optimize the
> efficiency slightly by returning early as a matching handler is found.
>
> v2->v1:
> Remove all WARN_ON(!hook->fn) in v1 as Will suggested.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: Return early when break handler is found on linked-list
https://git.kernel.org/arm64/c/9a0e3b92b02e
--
Catalin
Powered by blists - more mailing lists