← Back to context Comment by gnubison 3 years ago Is Linux designed in such a way that less-than-page size allocations never fail? How would that work? 2 comments gnubison Reply astrange 3 years ago As long as the syscalls don't themselves fail, it's no problem until you run out of address space. At which point you should crash because you probably need to allocate to handle any reasonable errors. cassepipe 3 years ago So is there no point to checking malloc return ?
astrange 3 years ago As long as the syscalls don't themselves fail, it's no problem until you run out of address space. At which point you should crash because you probably need to allocate to handle any reasonable errors. cassepipe 3 years ago So is there no point to checking malloc return ?
As long as the syscalls don't themselves fail, it's no problem until you run out of address space. At which point you should crash because you probably need to allocate to handle any reasonable errors.
So is there no point to checking malloc return ?