Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2023 11:54:09 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Warner Losh <imp@freebsd.org>, src-committers@freebsd.org,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: d3152ab23e0e - main - tcbpcb: Always define t_osd
Message-ID:  <CANCZdfp-1zbXXMenHS3rRzC8-8bR-dgOttMPYdGVBBi0Lt25zA@mail.gmail.com>
In-Reply-To: <ba89809b-0af3-8eb6-afd2-68606450f186@FreeBSD.org>
References:  <202307171735.36HHZonv063454@gitrepo.freebsd.org> <ba89809b-0af3-8eb6-afd2-68606450f186@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000f1aeb60600b27ccf
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 17, 2023 at 11:52=E2=80=AFAM John Baldwin <jhb@freebsd.org> wro=
te:

> On 7/17/23 10:35 AM, Warner Losh wrote:
> > The branch main has been updated by imp:
> >
> > URL:
> https://cgit.FreeBSD.org/src/commit/?id=3Dd3152ab23e0e7bee5a0f988ecca2a11=
87ab82057
> >
> > commit d3152ab23e0e7bee5a0f988ecca2a1187ab82057
> > Author:     Warner Losh <imp@FreeBSD.org>
> > AuthorDate: 2023-07-17 17:22:45 +0000
> > Commit:     Warner Losh <imp@FreeBSD.org>
> > CommitDate: 2023-07-17 17:22:45 +0000
> >
> >      tcbpcb: Always define t_osd
> >
> >      Always define t_osd. congestion control modules access it
> >      unconditionally. This fixes the build.
> >
> >      However, this is, at best, a temporary band-aide until the
> >      larger issues are sorted.
> >
> >      Sponsored by:           Netflix
>
> FWIW, I find that #ifdef's based on kernel options in "core" structures
> like this
> shared with modules is a recipe for disaster.
>

Agreed 100% Just trying to get to closure on that concept with all the
concerned
parties....

Warner

--000000000000f1aeb60600b27ccf
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jul 17, 2023 at 11:52=E2=80=
=AFAM John Baldwin &lt;<a href=3D"mailto:jhb@freebsd.org">jhb@freebsd.org</=
a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On=
 7/17/23 10:35 AM, Warner Losh wrote:<br>
&gt; The branch main has been updated by imp:<br>
&gt; <br>
&gt; URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3Dd3152ab23e0e=
7bee5a0f988ecca2a1187ab82057" rel=3D"noreferrer" target=3D"_blank">https://=
cgit.FreeBSD.org/src/commit/?id=3Dd3152ab23e0e7bee5a0f988ecca2a1187ab82057<=
/a><br>
&gt; <br>
&gt; commit d3152ab23e0e7bee5a0f988ecca2a1187ab82057<br>
&gt; Author:=C2=A0 =C2=A0 =C2=A0Warner Losh &lt;imp@FreeBSD.org&gt;<br>
&gt; AuthorDate: 2023-07-17 17:22:45 +0000<br>
&gt; Commit:=C2=A0 =C2=A0 =C2=A0Warner Losh &lt;imp@FreeBSD.org&gt;<br>
&gt; CommitDate: 2023-07-17 17:22:45 +0000<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 tcbpcb: Always define t_osd<br>
&gt;=C2=A0 =C2=A0 =C2=A0 <br>
&gt;=C2=A0 =C2=A0 =C2=A0 Always define t_osd. congestion control modules ac=
cess it<br>
&gt;=C2=A0 =C2=A0 =C2=A0 unconditionally. This fixes the build.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 <br>
&gt;=C2=A0 =C2=A0 =C2=A0 However, this is, at best, a temporary band-aide u=
ntil the<br>
&gt;=C2=A0 =C2=A0 =C2=A0 larger issues are sorted.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 <br>
&gt;=C2=A0 =C2=A0 =C2=A0 Sponsored by:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0Netflix<br>
<br>
FWIW, I find that #ifdef&#39;s based on kernel options in &quot;core&quot; =
structures like this<br>
shared with modules is a recipe for disaster.<br></blockquote><div><br></di=
v><div>Agreed 100% Just trying to get to closure on that concept with all t=
he concerned</div><div>parties....</div><div><br></div><div>Warner=C2=A0</d=
iv></div></div>

--000000000000f1aeb60600b27ccf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp-1zbXXMenHS3rRzC8-8bR-dgOttMPYdGVBBi0Lt25zA>