Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2008 13:50:24 +0100
From:      "Attilio Rao" <attilio@freebsd.org>
To:        "=?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?=" <des@des.no>
Cc:        arch@freebsd.org
Subject:   Re: [PATCH] Automatic kernel version module dependencies..
Message-ID:  <3bbf2fe10802100450j7279e9d2id6ec97a03f6fb65a@mail.gmail.com>
In-Reply-To: <86lk5taway.fsf@ds4.des.no>
References:  <200802081802.54313.jhb@freebsd.org> <86sl02e736.fsf@ds4.des.no> <20080209.160817.168016724.imp@bsdimp.com> <86lk5taway.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

2008/2/10, Dag-Erling Smørgrav <des@des.no>:
> "M. Warner Losh" <imp@bsdimp.com> writes:
>  > Dag-Erling_Smørgrav <des@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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10802100450j7279e9d2id6ec97a03f6fb65a>