Cc: Rafael J. Wysocki <rjw@...>, Jeremy Fitzhardinge <jeremy@...>, Ian Campbell <ijc@...>, Ingo Molnar <mingo@...>, Mika Penttilä <mika.penttila@...>, <linux-kernel@...>, Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>, Eric W. Biederman <ebiederm@...>
So the background to this... we need an identity map to trampoline at
early boot, obviously, but we'd like it to not stick around more than
necessary. We have zap_low_mappings() now but it's not really sufficient.
Secondary SMP processors need these mappings during trampolining --
presumably including CPU hotplug -- and I'm suspecting it might simply
make sense to use a separate set of page tables (with both the identity
and the kernel map) for trampolining and just keep them around. That
way they would be usable for ACPI as well.
Sweet!
-hpa
--