Re: [PATCH] net: ieee802154: at86rf230: convert to use maple tree register cache

From: Alexander Aring
Date: Mon Feb 05 2024 - 16:22:54 EST


Hi,

On Fri, Feb 2, 2024 at 2:56 AM Miquel Raynal <miquel.raynal@bootlincom> wrote:
>
> Hi Bo,
>
> liubo03@xxxxxxxxxx wrote on Fri, 2 Feb 2024 01:45:12 -0500:
>
> > The maple tree register cache is based on a much more modern data structure
> > than the rbtree cache and makes optimisation choices which are probably
> > more appropriate for modern systems than those made by the rbtree cache.
>
> What are the real intended benefits? Shall we expect any drawbacks?
>

I doubt it has really any benefits, only the slowpath is using regmap
to set some registers. Maybe if you change phy setting frequently it
might have an impact, but this isn't even a path considered to run
fast.

- Alex