Re: [PATCH v2 3/6] arm64/vdso: Add time napespace page

From: Mark Rutland
Date: Wed Apr 15 2020 - 08:28:37 EST


On Wed, Apr 15, 2020 at 11:16:00AM +0100, Vincenzo Frascino wrote:
> Hi Mark,
>
> On 4/15/20 11:05 AM, Mark Rutland wrote:
> > It's a shame we're not using OPTIMIZER_HIDE_VAR() for that, as it can
> > generate slightly better code and is easier to read than bare asm.
>
> We are not because I was not aware when I wrote this code that such a macro
> existed :)
>
> But you are right it clearly makes the code more readable. To make up for it, I
> am happy to make the effort to introduce it for both the cases and replace the
> assembler once this patch series gets merged.

Sounds good to me!

Mark.