Messages in this thread | | | From | Linus Torvalds <> | Date | Thu, 21 Feb 2019 14:27:49 -0800 | Subject | Re: [PATCH] x86, retpolines: raise limit for generating indirect calls from switch-case |
| |
On Thu, Feb 21, 2019 at 2:20 PM Daniel Borkmann <daniel@iogearbox.net> wrote: > > In case of gcc, this setting is controlled by case-values-threshold > which has an architecture global default that selects 4 or 5 (
Ack. For retpoline, that's much too low.
Patch looks sane, although it would be good to verify just which versions of gcc this works for. All versions with retpoline?
Linus
| |