3 ms·
> Hopefully, true 80386 support can be reintroduced to the kernel in a way that keeps it properly self-contained and easy to support. The merge which removed t
by cesarb 6y ago
> Hopefully, true 80386 support can be reintroduced to the kernel in a way that keeps it properly self-contained and easy to support.
The merge which removed the 80386 support (https://git.kernel.org/torvalds/c/743aa456c1834f76982af44e8b71d1a0b2a82e21 https://git.kernel.org/torvalds/c/743aa456c1834f76982af44e8b...) stated as the reason "[...] complexity has plagued us with extra work whenever we wanted to change SMP primitives, for years."
That is, it was not easy to keep it self-contained. Every new SMP primitive has to be implemented and maintained for all the architectures supported by the kernel, and the original 80386 ISA was too limited. Not to mention that the 80386 didn't honor the write-protect bit in the page tables while in the kernel (https://git.kernel.org/torvalds/c/a5c2a893dbd4956a72fb261e8790d19f67b52c99 https://git.kernel.org/torvalds/c/a5c2a893dbd4956a72fb261e87...), with consequences all over the kernel (https://git.kernel.org/torvalds/c/96d4f267e40f9509e8a66e2b39e8b95655617693 https://git.kernel.org/torvalds/c/96d4f267e40f9509e8a66e2b39...).
- zozbot234 6y agoWere 80386 SMP systems really all that common to begin with? Perhaps 80386 support should just focus on the uniprocessor case, at least as a start.