Date: Thu, 18 Feb 2010 09:58:21 -0800 From: Ben Widawsky <widawsky@gmail.com> To: freebsd-questions@freebsd.org Subject: to KASSERT || !KASSERT Message-ID: <121e074a1002180958i6e79ff29u4fdc657e6a56b3b@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm trying to decide whether or not to leave invariants turned on for a production system. The target system will be an embedded device where performance is already at a premium. I would have a mechanism to remotely obtain panic information after an assertion failed. I'm primarily interested in performance implications (has anyone done any benchmarks?), and are invariants worth the cost? Opinions on whether or not invariants should ever be left in production code are also welcome. Ben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?121e074a1002180958i6e79ff29u4fdc657e6a56b3b>