[RFC PATCH v2 04/10] lib: vdso: get pointer to vdso data from the arch

Segher Boessenkool segher at kernel.crashing.org
Wed Dec 25 01:46:21 AEDT 2019


On Tue, Dec 24, 2019 at 08:15:11PM +0800, Andy Lutomirski wrote:
> Does power have PC-relative data access?  If so, I wonder if the code can be arranged so that even the array accesses don’t require computing an absolute address at any point.

Not before ISA 3.0 (that is Power9).

The bcl/mflr dance isn't *that* expensive, if you use it sparingly.


Segher


More information about the Linuxppc-dev mailing list