On Wed, Sep 13, 2017 at 08:00:53PM +, Christos Zoulas wrote:
> In article <20170910185148.ga7...@antioche.eu.org>,
> Manuel Bouyer wrote:
> >On Sun, Sep 10, 2017 at 08:46:52PM +0200, Maxime Villard wrote:
> >> Le 10/09/2017 à 19:59, Manuel Bouyer a écrit :
> >> > There's something I don't understand in this thread: what is the point
> >> > of having the code in kernel if you still have to use modload to make it
> >> > availble ? Why not comment it out in kernel and have users modload it
> >> > if they want to ?
> >>
> >> said earlier, but on a different list, see
> >>
> >> http://mail-index.netbsd.org/source-changes-d/2017/08/04/msg009366.html
> >
> >OK. So you want this because (some?) compat modules can't be dynamically
> >loaded. This problem should be fixed, instead of of worked around in
> >such a ugly way.
>
> Can't we add a sysctl that controls the behavior and have autoload
> of the compat modules off by default?
and make the default conditional on MODULAR ?
But still, it looks like a (ugly) hack rather than nice feature.
--
Manuel Bouyer
NetBSD: 26 ans d'experience feront toujours la difference
--