3 ms·
Interesting, I wonder how much overhead is added to syscalls to look up the process type. Does NT still do this check when no WSL processes are running?
by quux 10y ago
Interesting, I wonder how much overhead is added to syscalls to look up the process type. Does NT still do this check when no WSL processes are running?
- stuaxo 10y agoPretty sure these are different entry points, so you wouldn't need to do anything different for normal Windows processes whether WSL is running or not.
- quux 10y agoI don't think so... both linux and windows binaries are using the same SYSCALL cpu instruction, and thus must be going to the same handler in the NT kernel.