Messages in this thread | | | Subject | Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions | From | "H. Peter Anvin" <> | Date | Thu, 4 Oct 2018 13:08:25 -0700 |
| |
On 10/04/18 13:05, Nadav Amit wrote: > > Funny. Immediate-patching is what I was playing with when I encountered the > gcc issue. Performance got worse instead of improving (or at least staying > the same), because inlining got crazy. > > Anyhow, wait for my soon-to-be-sent RFC in which I define a macro called > “call” (to reduce the retpoline overhead) before you talk about damage to > the eyes. >
Doing it well is *hard*, as I discovered. The actual patch is much, much, larger.
-hpa
| |