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

From: Segher Boessenkool <[email-masked]>
Date: Tue, 24 Dec 2019 08:46:21 -0600

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

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel