Error recovery (was: The "too small to fail" memory-allocation rule)
Error recovery (was: The "too small to fail" memory-allocation rule)
Posted Dec 24, 2014 21:07 UTC (Wed) by agrover (guest, #55381)In reply to: Error recovery (was: The "too small to fail" memory-allocation rule) by jezuch
Parent article: The "too small to fail" memory-allocation rule
We've all been writing, reviewing, and debugging error-handling code in the kernel, hundreds of programmer-years of effort. It's a little insulting that it doesn't even get used. Seems to me the sooner we pull off the band-aid and enable all allocations to fail, the better.
If there are bugs that are "too scary" to contemplate fixing the right way, then we are all in BIG trouble.