[PATCH] Automatic kernel version module dependencies..
Attilio Rao
attilio at freebsd.org
Sun Feb 10 04:50:26 PST 2008
2008/2/10, Dag-Erling Smørgrav <des at des.no>:
> "M. Warner Losh" <imp at bsdimp.com> writes:
> > Dag-Erling_Smørgrav <des at des.no> writes:
>
> > > ...provided they were built from the same config... I think
> > > MUTEX_PROFILING has been fixed, but there may still be cases where
> > > the ABI changes dependening on kernel options.
> > These are usually well documented. But I can't find any in the
> > current doc set. Maybe you could point me at options that do this so
> > we can document them (and maybe add a #warning when compiling with
> > them)?
>
>
> Here's one I found: DEBUG_LOCKS changes the size of struct lock, which
> changes the size and layout of struct vnode.
Yes, this is a particulary annoying breakage.
Next generation lockmgr won't have this problem, though, but I think
what really matters for you are past versions, where nothing magic can
be done.
Attilio
--
Peace can only be achieved by understanding - A. Einstein
More information about the freebsd-arch
mailing list