Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: [patch 2/3] atomics: Provide rcuref - scalable reference counting | Date | Wed, 01 Mar 2023 12:09:42 +0100 |
| |
On Tue, Feb 28 2023 at 16:42, Linus Torvalds wrote: > On Tue, Feb 28, 2023 at 6:33 AM Thomas Gleixner <tglx@linutronix.de> wrote: > This may seem like nit-picking, but I absolutely *HATE* our current > refcount interface for how absolutely horrid the code generation ends > up being. It's gotten better, but it's still not great. > > So if we're introducing yet another refcount interface, and it's done > in the name of efficiency, I would *really* want it to actually be > exactly that: efficient. Not some half-way thing. > > And yes, that may mean that it should have some architecture-specific > code (with fallback defaults for the generic case).
Let me stare at that some more.
Thanks,
tglx
| |