tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kernel memory allocation failures
On Fri, Dec 11, 2015 at 11:00:06AM -0500, Christos Zoulas wrote:
> Perhaps we should just explain that it is not the responsibility of the
> caller to check for the result of kmem_alloc() in the KM_WAIT case, and
> centralize the check in kmem_alloc() to make it panic() if it would
> return NULL? Is that better than fixing the 400+ calling sites?
Exactly. It is much better.
Joerg
Home |
Main Index |
Thread Index |
Old Index