Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2020 14:18:07 -0800
From:      John Baldwin <jhb@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>, Mateusz Guzik <mjguzik@gmail.com>
Cc:        Shawn Webb <shawn.webb@hardenedbsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r367692 - head/sys/sys
Message-ID:  <0015bc22-4568-93cc-5c77-e97c4f5e215c@FreeBSD.org>
In-Reply-To: <CANCZdfoDZ1g%2BETja5j4zf5gj_3_y9aD_%2BuPdhuJ=jfwNZmxuvA@mail.gmail.com>
References:  <202011141920.0AEJKbpO050396@repo.freebsd.org> <20201114205036.tnxvwarsddmu4shz@mutt-hbsd> <CAGudoHGSxyVZAF%2BFF=LFR0pDkSbYd78Vo1xRYQnKo_hUPVhxgA@mail.gmail.com> <20201114205355.j2ejnhouipjr6yhk@mutt-hbsd> <CAGudoHEbHzJS3JBoqjX%2BXLeLotgKnxH2Mk-s9vxeC=B%2B3SEkqg@mail.gmail.com> <CANCZdfoDZ1g%2BETja5j4zf5gj_3_y9aD_%2BuPdhuJ=jfwNZmxuvA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/14/20 2:34 PM, Warner Losh wrote:
> true, but a version bump forces that and versions are cheap enough...

Strictly speaking, version bumps don't force anything to recompile, they
just ensure that newer modules won't load on older kernels.  In this case,
the change to sys/ucred.h will result in sys/ucred.h's mtime changing so
that any kernel modules being built via NO_CLEAN=yes will rebuild ok.

I'm not quite sure where this mantra that version bumps force rebuilds
came from, but they don't.  It's true that since it lives in <sys/param.h>
and most things include that, it mostly forces a rebuild, but that's
mostly a side effect, not due to explicit magic around __FreeBSD_version.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0015bc22-4568-93cc-5c77-e97c4f5e215c>