Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Tue, 6 Feb 2024 10:33:22 +0100 | Subject | Re: [PATCH 00/18] mfd: convert to use maple tree register cache |
| |
Hi Bo,
CC broonie
Thanks for your series!
On Tue, Feb 6, 2024 at 8:16 AM Bo Liu <liubo03@inspur.com> wrote: > 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
probably?
> more appropriate for modern systems than those made by the rbtree cache. > > Bo Liu (18): > mfd: ac100: convert to use maple tree register cache > mfd: as3711: convert to use maple tree register cache > mfd: as3722: convert to use maple tree register cache > mfd: axp20x: convert to use maple tree register cache > mfd: bcm590xx: convert to use maple tree register cache > mfd: bd9571mwv: convert to use maple tree register cache > mfd: dialog: convert to use maple tree register cache > mfd: khadas-mcu: convert to use maple tree register cache > mfd: lochnagar-i2c: convert to use maple tree register cache > mfd: wolfson: convert to use maple tree register cache > mfd: rohm: convert to use maple tree register cache > mfd: rk8xx: convert to use maple tree register cache > mfd: rn5t618: convert to use maple tree register cache > mfd: rsmu_i2c: convert to use maple tree register cache > mfd: si476x: convert to use maple tree register cache > mfd: stmfx: convert to use maple tree register cache > mfd: stpmic1: convert to use maple tree register cache > mfd: rc5t583: convert to use maple tree register cache
If all of this is true, is there any reason to keep REGCACHE_RBTREE around? If not, perhaps REGCACHE_RBTREE should be treated as REGCACHE_MAPLE in the regmap core code first, followed by a single tree-wide patch to replace REGCACHE_RBTREE?
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |