KVERIFY for non-debug invariants?

Vijay Singh vijju.singh at gmail.com
Wed Dec 5 23:59:51 UTC 2012


All. KASSERT() is a really need way of expressing invariants when
INVARIANTS is defined. However for regular, non-INVARIANTS code folks
have the typical if() panic() combos, or private macros. Would a
KVERIFY() that does this in non-INVARIANTS code make sense?

-vijay


More information about the freebsd-hackers mailing list