Re: [PATCH 1/2] Undo the split of setup_cpu_entry_area

From: Thomas Gleixner
Date: Sat Dec 02 2017 - 05:34:24 EST


On Fri, 1 Dec 2017, Andy Lutomirski wrote:

> This is obviously a hack. Either the patch should be adjusted back to
> the version I sent or trap_init should forcibly initialize all PMDs
> by something like __set_fixmap(..., __mkpte(0)); or however it's spelled.

I split it because the whole thing crashed when I kept the loop you had
because it tried to allocate stuff. Had no time to figure out why, so I
went the lazy way of making it "work".

Simplifying the whole mess was on my list anyway.

Thanks,

tglx