Re: Reasons for keeping sc(4) and libvgl ?

From: Warner Losh <imp_at_bsdimp.com>
Date: Wed, 22 Jun 2022 05:34:21 UTC
On Tue, Jun 21, 2022, 10:59 PM Steve Kargl <sgk@troutmask.apl.washington.edu>
wrote:

> On Tue, Jun 21, 2022 at 10:55:01PM -0600, Warner Losh wrote:
> > On Tue, Jun 21, 2022, 9:47 PM Stefan Blachmann <sblachmann@gmail.com>
> wrote:
> >
> > > I would kindly ask to stop pushing for removal of sc.
> > >
> >
> > It will die soon enough if it doesn't become giant locked soon...
> >
> > Warner
> >
>
> Are you deleting vt, too?
>

The project likely has resources to remove giant from only one console
driver. That will almost certainly be vt.

Warner


> % grep -i giant /var/run/dmesg.boot
> atkbd0: [GIANT-LOCKED]
> WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD
> 14.0.
> lock order reversal: (Giant after non-sleepable)
>  2nd 0xffffffff80c02840 Giant (Giant, sleep mutex) @
> /usr/src/sys/kern/kern_synch.c:232
> lock order Giant -> vtdev established at:
> lock order vtdev -> Giant attempted at:
>
> --
> Steve
>