[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <149d2462-a190-4480-a501-d645a84ec1bf@sirena.org.uk>
Date: Mon, 3 Apr 2023 19:40:23 +0100
From: Mark Brown <broonie@...nel.org>
To: "Liam R. Howlett" <Liam.Howlett@...cle.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] regmap: Add maple tree based register cache
On Mon, Apr 03, 2023 at 02:26:44PM -0400, Liam R. Howlett wrote:
> What you have will work. If you need more optimisations later, then we
> can have another look.
Yeah, what's there tests out OK. In terms of optimisation the baseline
requirement is that we have to be able to pull values out faster than
we'd be able to read them from the device so until we're working with
MMIO devices (which people do use regmap with sometimes but aren't the
common case) we can typically burn a *lot* of CPU cycles and still be
doing just fine. The hot spots are basic read/write of an existing
cached register, then sync and initial load in of cache defaults.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists