Displaying 2 results from an estimated 2 matches for "stipb".
Did you mean:
stibp
2018 Sep 14
0
[patch 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support
...of the same code.
> >
> > Especially the extended switch case is problematic as the compiler tends to
> > generate a jump table which then requires to use retpolines.
>
> Does vDSO code really have to use retpolines? It's in userspace, after all.
Unless you have IBRS/STIPB enabled, you need user space ratpoutine as well.
Thanks,
tglx
2018 Sep 14
0
[patch 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support
...atic as the compiler tends
> > > > to
> > > > generate a jump table which then requires to use retpolines.
> > >
> > > Does vDSO code really have to use retpolines? It's in userspace, after
> > > all.
> >
> > Unless you have IBRS/STIPB enabled, you need user space ratpoutine as well.
>
> I don't think this is a consensus position, and it obviously depends on the
> (sub)architecture.
It does, but we are not building kernels for specific micro architectures
nor do distros AFAIK.
But that aside, even with jump tables...