From nobody Thu Sep 17 22:15:57 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hm97m240hz6s8pN; Thu, 17 Sep 2026 22:16:04 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hm97m1Ny0z3PdV; Thu, 17 Sep 2026 22:16:04 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789683364; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SbQKmIMcsMuCUCNIqCWXFkpTxJsZtnRGDDVOPf4uWqw=; b=TASI8/7Iq4zc4bBMpkWfy7q4qZ3noDwlTyicv0Zicbbgxii7N4vTTWs+aN41njoDljcKVd H3NKV/mQ59hEAvB9KCUxXytHkXkhO8pIMSOIBhb4MHyoH5ceLCT/zi46Si6tGxAcvEa4UE 0nc+UIK27spp59rzbGeuepRnvcEXFrzE3P2gWG6KiMcCCvDUUudwxEVkxaMpqByhulqgfo hPZ90pb7/hq515azcB6kFhtenuR1uHcRp3st2FnbCwi3NM8s+VmSjE7VsU6nhh9a8TjRSt 5EW3WznGaFNovShIB7QbJ8R+hhFV+nukTj2eEJ+dwMy9UrOMM26m5jkAD460dA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789683364; b=EEvfF1kZt99Cqdp/1vK7cbF3HtE9tOEHnbwnQosIXqPvXxWNjVBL3W2T1v0H3d1EWYV1Sd GD4mG9pvkKyXG/iryO5T6+VCfZl5TDyv2dGiZ28UgAK5TSpxyUjm1DARyyiSqTLrMjM3A6 3g34Ck6VUkTKE1ZjLXhtW2e4v1uPyXcmO9YxS7pTZ7YhSj7jJpoSrXmUrgs+6ce8/cHP47 Nd10Ly1nUzbu9jaCedY1N8RuCoctzrzReDatIneb4nmkUKM5me5Im3yghHI+stxVUo0CfQ IKQ+9aYxwE5y0PWsyZl0QG+qbup2oflc51w1jcCN6CvKnvbbr6zBiPMhgLnKMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789683364; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SbQKmIMcsMuCUCNIqCWXFkpTxJsZtnRGDDVOPf4uWqw=; b=CndpvSEjOjKmTQy+oZ14eEesnhwe2bCUX6/QFJDjiNybEm8ipfajJkaL9fJ50F+SRrZv+S IWwmCgw+EW8UL4b07QBRBoOMX8wD2/GjsMm1Ij9hsKO85X/4FZi2wHcLxOadEsL/PGFUT6 r6VVpWPop8f4L9mGUwzFys/uVUhsw4A3Bv6Z+KgKJ+CBVJn1ynrxFO9kSjzcIlphcU9A1T bCPCXYa+dtmoAdJ9UmmmXuAZHH5hOVu7lZ5KkAvjlD7VAo+zoF2mt1/w8cFVCWXly0V1K9 FICZYCQ+eZ6QjJAooWMoCmuA6dUf1R77jxZwUsM9wtALua1bqapuSRWCihUT1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx1.codepro.be", Issuer "YR1" (not verified)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4hm97l6bn6z1LKy; Thu, 17 Sep 2026 22:16:03 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 11C5A459BE; Fri, 18 Sep 2026 00:15:58 +0200 (CEST) From: Kristof Provost To: Michal Meloun Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 477c594d9063 - main - kobj: allow multiple inheritance with per-class softc Date: Fri, 18 Sep 2026 00:15:57 +0200 X-Mailer: MailMate (2.0r6272) Message-ID: <19D9A1EA-4026-407B-B1E6-23DBD16490B9@FreeBSD.org> In-Reply-To: <6aa40ba9.2672a.7c32cf3e@gitrepo.freebsd.org> References: <6aa40ba9.2672a.7c32cf3e@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_51700DC5-12F8-423C-88C1-D52D550EB854_=" --=_MailMate_51700DC5-12F8-423C-88C1-D52D550EB854_= Content-Type: text/plain; charset=UTF-8; format=flowed; markup=markdown Content-Transfer-Encoding: quoted-printable On 11 Sep 2026, at 16:09, Michal Meloun wrote: > The branch main has been updated by mmel: > > URL: = > https://cgit.FreeBSD.org/src/commit/?id=3D477c594d906328e210c30cf2c21d9= 83152f21de3 > > commit 477c594d906328e210c30cf2c21d983152f21de3 > Author: Michal Meloun > AuthorDate: 2026-09-11 11:47:30 +0000 > Commit: Michal Meloun > CommitDate: 2026-09-11 14:09:36 +0000 > > kobj: allow multiple inheritance with per-class softc > > Add support for hierarchical softc layout so that a leaf class and = > each > of its base classes owns a private softc region inside a single > allocation. > > device_get_softc_class(dev, cls) returns a pointer to the softc = > that > belongs to the requested class. The classic device_get_softc() = > still > returns the leaf softc and remains fully compatible with existing > drivers. > > Existing drivers are unaffected; they simply obtain a slightly = > larger > softc block when they inherit from base classes. > > For some reason this commit causes my machine (Dell T640) to fail to = boot. It doesn=E2=80=99t panic, but it seems to be very slow during boot, and s= eems = to remain stuck around when it=E2=80=99d start userspace. (Freezing just = before `Trying to mount root from = zfs:zroot/ROOT/16.0-CURRENT-20260917.222603`) I don=E2=80=99t even begin to understand how that=E2=80=99d be related to= this = commit, but it=E2=80=99s very reproducible. Do you have any suggestions for how to begin to debug this? Thanks, Kristof --=_MailMate_51700DC5-12F8-423C-88C1-D52D550EB854_= Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 11 Sep 2026, at 16:09, Michal Meloun wrote:

The branch main has been updated by mmel:

URL: https://cgit.FreeBSD.org/src/co= mmit/?id=3D477c594d906328e210c30cf2c21d983152f21de3

commit 477c594d906328e210c30cf2c21d983152f21de3
Author: Michal Meloun mmel@FreeBS= D.org
AuthorDate: 2026-09-11 11:47:30 +0000
Commit: Michal Meloun mmel@FreeBS= D.org
CommitDate: 2026-09-11 14:09:36 +0000

ko=
bj: allow multiple inheritance with per-class softc

Add support for hierarchical softc layout so that a leaf class and each
of its base classes owns a private softc region inside a single
allocation.

device_get_softc_class(dev, cls) returns a pointer to the softc that
belongs to the requested class.  The classic device_get_softc() still
returns the leaf softc and remains fully compatible with existing
drivers.

Existing drivers are unaffected; they simply obtain a slightly larger
softc block when they inherit from base classes.

For some reason this commit causes my machine (Dell T640)= to fail to boot.

It doesn=E2=80=99t panic, but it seems to be very slow du= ring boot, and seems to remain stuck around when it=E2=80=99d start users= pace. (Freezing just before Trying to mount root from zfs:zroot/ROOT/16.0-CURRENT-20= 260917.222603)

I don=E2=80=99t even begin to understand how that=E2=80=99= d be related to this commit, but it=E2=80=99s very reproducible.

Do you have any suggestions for how to begin to debug thi= s?

Thanks,
Kristof

--=_MailMate_51700DC5-12F8-423C-88C1-D52D550EB854_=--