On Dec 11, 6:44am, [email protected] (David Holland) wrote: -- Subject: Re: kernel memory allocation failures
| > how about instead we fix the kmem_alloc() implementation to match | > the man page? that seems much more practical to me. adding | > failure checks and recovery code to the thousands of *alloc() calls | > in the kernel would be a vast amount of work for very little | > benefit. an attempt to allocate an amount of memory large enough | > that it can never succeed sounds like a bug to me, and it seems | > better to fix any such bugs rather than add a vast amount of mostly | > useless error handling code in hopes of papering over them. | | concur I agree if it is feasible. It does not look easy to do. christos
