Re: git: af93fea71038 - main - timerfd: Move implementation from linux compat to sys/kern
Date: Mon, 28 Aug 2023 21:17:34 UTC
On Mon, Aug 28, 2023 at 4:12 PM Jake Freeland <jake@technologyfriends.net> wrote: > On Mon, Aug 28, 2023 at 11:19 AM Warner Losh <imp@bsdimp.com> wrote: > >> Added cc for Jake >> >> On Mon, Aug 28, 2023 at 6:17 AM Alexey Dokuchaev <danfe@freebsd.org> >> wrote: >> >>> On Thu, Aug 24, 2023 at 08:29:48PM +0000, Warner Losh wrote: >>> > commit af93fea710385b2b11f0cabd377e7ed6f3d97c34 >>> > >>> > timerfd: Move implementation from linux compat to sys/kern >>> > >>> > Move the timerfd impelemntation from linux compat code to sys/kern. >>> >>> Could you quickly summarize why we need these linuxish bits in FreeBSD? >>> We've lived for years without it. Had expected to find the rationale >>> in DR but alas. :( Thanks, >>> >> > The amount of software designed exclusively for Linux grows every day. > Support for FreeBSD is almost always done on behalf of FreeBSD > contributors, not the program developers. > > I do not want to play the cat-and-mouse game of constantly updating shims > so we can support Linux software. I would rather take the sensible* parts > of Linux and integrate them into core FreeBSD. > > My goal is not to turn FreeBSD into Linux, but rather to stay relevant in > an age where most younger developers don't even know what BSD is. We should > spend more resources on Linux program support, so younger audiences can use > their Discord web apps natively on FreeBSD. > Sorry, this should say "Discord desktop apps", not "web apps". Jake Freeland > > Absorbing "linuxish" bits is controversial and I think that is a tragedy. > In my eyes, having "linuxish" features is one of the best ways to ease the > jump between Linux and FreeBSD, and minimize the maintenance needed for > FreeBSD support. > > * > https://ariadne.space/2021/06/06/actually-bsd-kqueue-is-a-mountain-of-technical-debt/ > > Jake Freeland > > >> I'll let Jake answer this and >> >> > glibc misc/tst-timerfd test fails now under Linux emulation >> >> I think his new review https://reviews.freebsd.org/D41600 addresses this >> issue maybe >> >> Warner >> >