Re: [PATCH 5/5] x86: Move enabling of PSE and PGE out ofinit_memory_mapping

From: Borislav Petkov
Date: Tue Aug 14 2012 - 04:49:17 EST


On Mon, Aug 13, 2012 at 04:20:40PM -0700, Tejun Heo wrote:
> I meant the patch should come before the patch making multiple calls
> to init_memory_mapping().

Ah, this makes sense.

> > > Also, there seem to be other stuff which need to be moved out.
> >
> > Which are those pls?
>
> Rebuilding pgtable on each invocation?

You mean pagetable_reserve() right?

Yes, Jacob, you basically might want to carve out all functionality
from init_memory_mapping() which is independent from its start and end
args and do the carving in a pre-patch or two to 1/5.

Thanks.

--
Regards/Gruss,
Boris.
--
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/