Re: [RFC PATCH 2/2] regmap: Reject fast_io regmap configurations with RBTREE and MAPLE caches

From: Guenter Roeck
Date: Fri Jul 21 2023 - 12:18:23 EST


On Fri, Jul 21, 2023 at 05:14:42PM +0100, Mark Brown wrote:
> On Fri, Jul 21, 2023 at 09:01:03AM -0700, Guenter Roeck wrote:
> > On 7/21/23 08:13, Mark Brown wrote:
>
> > > Yeah. You *can* use the dynamically allocating caches safely if you
> > > ensure that no new cache nodes are allocated during I/O. I'd not
> > > realised people were actually doing this.
>
> > Ok.
>
> > Dan, let me know if you don't have time to send a proper patch.
> > I have one based on your suggestion prepared that I could send out
> > if needed.
>
> Dan sent the patch already, assuming my CI doesn't blow up unexpectedly
> it should be applied tonight.

Excellent.

Thanks,
Guenter