Re: [patch 080/262] lazy tlb: allow lazy tlb mm refcounting to be configurable

Linus Torvalds
2021-11-06T19:10:22Z

Dropped once again until people can agree on this all..

Linus

On Fri, Nov 5, 2021 at 9:29 PM Andy Lutomirski <luto@kernel.org> wrote:
>
> So I think there are a few credible choices:
>
> 1. Find an alternative solution that gets the performance we want without dangling references.
>
> 2. Make the MMU_LAZY_TLB_REFCOUNT mode genuinely safe. This means literally ifdeffing out active_mm so it can't dangle. Doing that cleanly will be a lot of nasty arch work.
>
> I again apologize that my series is taking so long, although I think it's finally getting into decent shape. I still need to deal with the scs mess (that's new), finish tidying up kthread, and make sure hotplug is good. But all this is because this is really hairy code and I'm trying to do it right.
>
> If anyone wants to help, help is welcome. Otherwise, I really do intend to get it all the way done soon.
>
> --Andy