> The NT kernel is still much better than Linux in some ways --- you guys be trippin' with your overcommit-by-default MM nonsense
What's wrong with the overcommit-by-default behaviour? Or how/why the NT kernel is supposed to do better?
> The NT kernel is still much better than Linux in some ways --- you guys be trippin' with your overcommit-by-default MM nonsense
What's wrong with the overcommit-by-default behaviour? Or how/why the NT kernel is supposed to do better?
A lot of people seem to think you're screwed when you're out of memory and so think killing the process is acceptable, but I've worked on code bases where it's actually handled somewhat gracefully. (Although, on NT, if you run out of nonpaged pool you start to get weird, random I/O failures.)
vm.overcommit_memory = 2
see https://www.kernel.org/doc/Documentation/vm/overcommit-accou...
I guess there's another, somewhat social aspect of making that the default: everyone else coding on the platform assumes the behavior is the other way, so I suspect when you set that flag to off, your other software starts crashing on null pointer dereferences because no one thinks malloc can fail.