On Tue, Feb 23, 1999 at 10:59:39AM +0100, Jos Backus wrote:
> On Tue, Feb 23, 1999 at 12:09:03PM +0300, Dmitrij Tejblum wrote:
> > Inline functions in vm/vm_zone.h depend on INVARIANTS. These functions 
> > used in msdosfs and in other parts of the kernel.
> 
> OK, I see.
> 
> > > How does one add INVARIANTS support to modules?
> > 
> > You could add -DINVARIANTS to CFLAGS in sys/module/msdosfs/Makefile. 
> > You better just link msdosfs statically, or remove INVARIANTS from your 
> > kernel.
> 
> I'll try this tonight, thanks.
> 
> > That is, INVARIANTS in kernel incompatible with dynamic loading.
> 
> Somehow this strikes me as a Bad Thing...

It _is_ a bad thing.  I've been pondering what to do with the
intrusive invariant checks - make them dependent on
INTRUSIVE_INVARIANTS, perhaps?  That would still make some KLDs
incompatible with INTRUSIVE_INVARIANTS, but that is probably the best
we can do.

Eivind.


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to