4 ms·
I have a strong suspicion that the minimum process size on Windows NT is 64kB (between kernel and user pages, for Intel platforms anyway). So if you didn't trea
by tankenmate 9y ago
I have a strong suspicion that the minimum process size on Windows NT is 64kB (between kernel and user pages, for Intel platforms anyway). So if you didn't treat a zombie process as "just another process" for management purposes you'd have to start having all sorts of exceptions in some very base level code (page tables, scheduler, system statistics and reporting, etc etc) just to clean up after other people who can't or won't code properly. I just can't see a kernel engineer agreeing that this was a sane thing to do (I can image how someone with a temperament like Linus would respond!).
- radford-neal 9y agoCould be. But if it were a really big issue, I'd think that the minimum process size could be reduced, which might be a useful change in any case. After all, on the first Unix system I used, 64K was the MAXIMUM process size... The point is that there are always tradeoffs, whose resolution is affected by how important an issue is perceived to be.