Live data from Hacker News

80386 Protection

nand2mario.github.io

31–32 of 32 posts

Re: 80386 Protection

#31

> These features made possible Windows 3.0, OS/2, and early Linux. And also--before Linux--SCO Xenix and then SCO Unix. It was finally possible to run a real Unix on a desktop or home PC. A real game changer. I paid big $$$ (for me at the time) to get SCO Xenix for my 386 so I could have my own Unix system.

Don't forget Venix. It was the first true Unix that could run on a stock IBM PC, and beat Xenix on that platform by months.

Re: 80386 Protection

#32
post #29

Earlier quoted context omitted.

Why is that surprising? The trap into kernel mode alone would already take more cycles than dedicated hardware needs for the full page table walk.

Since we're talking about defining our own processor, that means we need to define one with cheaper traps. Expanding on what I wrote above about "bits of hardware acceleration", maybe adding a few primitives to the instruction set that make page table walking easier would help. And with a trusted compiler architecture you don't need to keep the ISA stable between iterations, since it's assumed that all code gets comp…

Taking this to an extreme, the whole idea of a TLB sounds like hardware protection too?

As a thought experiment, imagine an extremely simple ISA and memory interface where you would do address translation or even cache management in software if you needed it... the different cache tiers could just be different NUMA zones that you manage yourself.

You might end up with something that looks more like a GPU or super-ultra-hyper-threading to get throughput masking the latency of software-defined memory addressing and caching?

Post reply on HN