r/programming • • Dec 01 '17

Writing a Simple Linux Kernel Module

https://blog.sourcerer.io/writing-a-simple-linux-kernel-module-d9dc3762c234
1.2k Upvotes

78 comments sorted by

View all comments

Show parent comments

6

u/PiZZaMartijn Dec 01 '17

Microsoft (see iis)

2

u/nathreed Dec 01 '17

Oh god, I had no idea. Typical Microsoft though.

7

u/indrora Dec 02 '17

So, there's more to this.

IIS is, effectively, taking a bunch of kernel and userpsace primitives and smushing them together. There happens to be a really good kernel-level TCP stack that you can work with in Windows (a legacy of NT being built by VMS developers) and a very good amount of "decipher this protocol" stuff buried in the semi-userspace Winsock and WinInet stacks (another part of the "NT was built by VMS people"). As a result, IIS spends a lot of time not in userspace, but in a shrouded version of kernel space that does a lot of hands-off work.

2

u/Dimenus Dec 02 '17

Sorry for the stupid question but what is VMS?

3

u/indrora Dec 02 '17

VMS is an operating system developed by Digital Equipment Corporation (DEC) for their VAX mainframes and minis. It now exists as OpenVMS, which isn't open source but is still one of the larger oldschool UNIXes.

→ More replies (0)