3 ms·
The decision dates back to 1996, to improve performance by reducing context switches in Windows NT 4.0. See Microsoft's detailed rationale paper from that era:
by pcwalton 10y ago
The decision dates back to 1996, to improve performance by reducing context switches in Windows NT 4.0. See Microsoft's detailed rationale paper from that era: https://technet.microsoft.com/en-us/library/cc750820.aspx#XSLTsection124121120120 https://technet.microsoft.com/en-us/library/cc750820.aspx#XS...
The relevant ironic quote: "Due to the modular design of Windows NT moving Window Manager and GDI to kernel mode will make no difference to the security subsystem or to the overall security of the operating system."
This was, as these things often go, an expedient decision made in the '90s that wouldn't be fixed for nearly 20 years.
- yuhong 10y agoEven without fonts there are still user mode callbacks and other problems.
- ayuvar 10y agoPretty much all of GDI used to be in the kernel, the font stuff is one of the major parts still remaining, although the article says that Microsoft is moving it out as of Windows 10. A few years ago there was a remote code execution exploit that had to do with decoding EMF/WMF images in the kernel: https://www.symantec.com/security_response/vulnerability.jsp?bid=34012 https://www.symantec.com/security_response/vulnerability.jsp... I believe that one got at least partially fixed by moving some of the video code out of the kernel and into user-mode with Vista, but I don't recall exactly.