[PATCH] powerpc/mm: Use jump label to speed up radix_enabled check
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Jun 10 15:46:35 AEST 2016
On Fri, 2016-06-10 at 14:16 +1000, Michael Ellerman wrote:
>
> It depends what that function does. It might work now, but it could break later
> when someone changes the jump label code, and it might work on some platforms
> but not others.
>
> That is *really* early. We haven't looked at the device tree yet, we haven't
> even enabled early debug.
>
> So I'd rather we did it later, but that has other issues I guess.
Yes it's too early. We may still change some of the CPU/MMU feature
values at that point.
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list