[PATCH] Automatic kernel version module dependencies..
Attilio Rao
attilio at freebsd.org
Mon Feb 11 12:48:16 PST 2008
2008/2/11, John Baldwin <jhb at freebsd.org>:
> On Sunday 10 February 2008 06:24:37 am Dag-Erling Smørgrav wrote:
> > "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, DEBUG_LOCKS, MUTEX_PROFILING (O.B.E), and PAE are the ones I know of. We
> could employ a similar strategy for these btw. For example, you could do
> this for PAE:
LOCK_PROFILING also, but only on 7.0.
Attilio
--
Peace can only be achieved by understanding - A. Einstein
More information about the freebsd-arch
mailing list