Messages in this thread | | | Date | Tue, 6 Feb 2024 10:59:05 +0000 | From | Mark Brown <> | Subject | Re: [PATCH 00/18] mfd: convert to use maple tree register cache |
| |
On Tue, Feb 06, 2024 at 11:14:11AM +0100, Geert Uytterhoeven wrote: > On Tue, Feb 6, 2024 at 11:09 AM Mark Brown <broonie@kernel.org> wrote:
> > There is a very small niche for devices where cache syncs are a > > particularly important part of the workload where rbtree's choices might > > give better performance, especially on systems with low end CPUs.
> The REGCACHE_* value is specified by the device, not by the CPU?
The device is going to dominate here, the main thing is how much of the workload consists of syncs.
> While some of these MFD devices are on-SoC, and thus there is some > relation between device and CPU, several others (e.g. PMICs) are > external, and thus might be present on systems with a variety of CPU > performance.
> Perhaps the value should depend on some CPU heuristic instead?
No. [unhandled content-type:application/pgp-signature] | |