Re: init and zap low address mappings on demand for cpu hotplug

From: Andi Kleen
Date: Mon Sep 26 2005 - 02:00:58 EST


> This patch introduces boot_level4_pgt, which will always have low identity
> addresses mapped. Druing boot, all the processors will use this as their
> level4 pgt. On BP, we will switch to init_level4_pgt as soon as we enter
> C code and zap the low mappings as soon as we are done with the usage of
> identity low mapped addresses. On AP's we will zap the low mappings as
> soon as we jump to C code.

Looks good. Thanks Suresh. The boot page tables should be marked __initdata
now, but that can be done in an follow on patch.

i386 should probably get similar treatment.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/