git: e013e36939ac - main - linux(4): Get rid of Linuxulator kernel build options.

Rodney W. Grimes freebsd at gndrsh.dnsmgr.net
Wed Jun 23 00:38:36 UTC 2021


[ Charset UTF-8 unsupported, converting... ]
> On 21 Jun 2021, at 17:56, Dmitry Chagin <dchagin at FreeBSD.org> wrote:
> > 
> > The branch main has been updated by dchagin:
> > 
> > URL: https://cgit.FreeBSD.org/src/commit/?id=e013e36939ac87b53195370fb5e29f29c1a4b5c6
> > 
> > commit e013e36939ac87b53195370fb5e29f29c1a4b5c6
> > Author:     Dmitry Chagin <dchagin at FreeBSD.org>
> > AuthorDate: 2021-06-22 05:32:39 +0000
> > Commit:     Dmitry Chagin <dchagin at FreeBSD.org>
> > CommitDate: 2021-06-22 05:32:39 +0000
> > 
> >    linux(4): Get rid of Linuxulator kernel build options.
> > 
> >    Stop confusing people, retire COMPAT_LINUX and COMPAT_LINUX32 kernel
> >    build options. Since we have 32 and 64 bit Linux emulators, we can't build both
> >    emulators together into the kernel. I don't think it matters, Linux emulation
> >    depends on loadable modules (via rc).
> > 
> >    Cut LINPROCFS and LINSYSFS for consistency.
> 
> I don?t see why these two should be deleted? They currently build fine,
> and GNU/kFreeBSD kernels enable them. They might work as modules, but I
> would worry that too many parts of userland would try and read them
> before /etc/init.d/kldutils (the init script that loads modules) loads
> them, so then we?d have to mess around with GRUB configs to preload
> them. If the options work, please leave them in.

I also see no good reason to remove these options, and it well
actually break some of my systems as I do NOT use loadable
modules in my deployed systems, and some of them use the LINUXulator.

Further anything that can be built as a module should also be
supported as a compiled in kernel option, people just expect
that to work.

> 
> There?s a separate debate of whether this is the ?right? fix for
> COMPAT_LINUX*; arguably that *should* work and it?s a bug that they
> don?t, not a feature, even if it?s not of much interest to support?
> 
> I?d like to see the second half reverted, please, and believe the first
> should be too, but I feel less strongly about that.
> 
> Jess
> 
> 
> 

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the dev-commits-src-all mailing list