Re: [PATCH 2/5] x86_64 EFI support -v3: EFI boot support

From: Andi Kleen
Date: Wed Aug 01 2007 - 08:56:42 EST



>
> Should I change "change_page_attr" to make it work before "mem_init"? Or
> Should I change "init_memory_mapping" to make it can be used to change
> mapping attributes? Which one is better?

It's probably better to change init_memory_mapping. Just do it cleanly
and correctly please. As in only change the pages that straddle the
EFI areas and don't use globals.

BTW i don't see any such code on i386. How does the EFI support
there handle it?

-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/