tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kmem_alloc(0, f)



Why is kmem_alloc(0, f) a panic in NetBSD?

It's not parroting Solaris -- in Solaris it's allowed, according to
the man page.  An assertion appears to have been added when ad@
implemented kmguard, but maybe there's logic deeper inside dependent
on the restriction too.

This seems like a foot-oriented panic gun, and it's been a source of
problems in the past.  Can we change it?


Home | Main Index | Thread Index | Old Index