[PATCH 1/1] Fix bugs determining active VT consoles

William Jon McCann mccann at jhu.edu
Fri Aug 31 09:46:32 PDT 2007


On 8/31/07, Joe Marcus Clarke <marcus at freebsd.org> wrote:
> On Fri, 2007-08-31 at 12:22 -0400, William Jon McCann wrote:
> > On 8/30/07, Joe Marcus Clarke <marcus at freebsd.org> wrote:
> > > On FreeBSD, having a process sit in VT_WAITACTIVE can cause kernel panics or
> > > unkillable processes that consume 100% of the CPU.  To work around this
> > > problem, replace the model where individual threads call VT_WAITACTIVE
> > > with a g_timeout model which checks the active VT every second, and queues
> > > an event when it changes.
> >
> > As I said in the other mail, I don't think we want to do this.  Can
> > you describe why you think this isn't a FreeBSD kernel bug?
>
> I missed the other email, sorry.  From my reading of what this ioctl is
> supposed to do, it is typically called after activating a given VT to
> ensure that the VT is active before proceeding.  It should not be
> something a program sits in for long periods of time.

According to what or whom?

Jon


More information about the hal mailing list