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:
 > Fixing kmem_alloc() and friends not to fail under certain conditions might
 > be possible, but it could lead to livelock scenarios where everything is
 > stuck in the kernel waiting for resources to be freed.

That's a deadlock, not a livelock. But... if we think it's a realistic
possibility, why do we allow sleeping allocations at all? And if it's
not realistic, why are we worrying?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index