Re: [PATCHv4 3/4] x86/boot/compressed/64: Introduce place_trampoline()

From: Ingo Molnar
Date: Thu Dec 07 2017 - 03:24:58 EST



* Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

> On Thu, Dec 07, 2017 at 07:30:48AM +0100, Ingo Molnar wrote:
> > > But if the bootloader put the kernel above 4G (not sure if anybody does
> > > this), we would loose control as soon as paging is disabled as code
> > > becomes unreachable.
> >
> > Yeah, so instead of the double 'as' which is syntactically right but a bit
> > confusing to read, how about something like:
> >
> > But if the bootloader put the kernel above 4G (not sure if anybody does
> > this), we would loose control as soon as paging is disabled, because the
> > code becomes unreachable to the CPU.
>
> btw, it's "lose control".

Indeed!

Thanks,

Ingo