Re: [RFC PATCH v2 04/10] lib: vdso: get pointer to vdso data from the arch
From: Segher Boessenkool
Date: Tue Dec 24 2019 - 09:47:09 EST
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