On Fri, Jan 12, 2018 at 11:38 AM, Pavel Machek <pa...@ucw.cz> wrote: > > I'll try to do the right thing. OTOH... I don't like the fact that > kernel memory on my machine is currently readable, probably even from > javascript.
Oh, absolutely. I'm just saying that it's probably best to try to start from the x86-64 KPTI model, and see how that works for x86-32. Maybe some of the 4G:4G entry code could come in handy as a "these are the issues" kind of thing. > I tried disabling CPU caches. Just like that, off, boom. My system > will not survive that, and it looks like 100x slowdown. Yeah, no. That is not a realistic thing to do on any hardware since the PPro, I'm afraid. Linus