Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2017 20:30:02 -0500
From:      Jonathan Looney <jonlooney@gmail.com>
To:        "Jonathan T. Looney" <jtl@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r314116 - head/sys/kern
Message-ID:  <CADrOrms03o=1sZmRvEG1mBFhn6Vq29LBnmFo6wh3p6xvUYx-2w@mail.gmail.com>
In-Reply-To: <201702230118.v1N1IlwM075208@repo.freebsd.org>
References:  <201702230118.v1N1IlwM075208@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 22, 2017 at 8:18 PM, Jonathan T. Looney <jtl@freebsd.org> wrote:

> Author: jtl
> Date: Thu Feb 23 01:18:47 2017
> New Revision: 314116
> URL: https://svnweb.freebsd.org/changeset/base/314116
>
> Log:
>   Fix a panic during boot caused by inadequate locking of some vt(4) driver
>   data structures.
>
>   vt_change_font() calls vtbuf_grow() to change some vt driver data
>   structures. It uses TF_MUTE to prevent the console from trying to use
> those
>   data structures while it changes them.
>
>   During the early stage of the boot process, the vt driver's tc_done
> routine
>   uses those data structures; however, it is currently called outside the
>   TF_MUTE check.
>
>   Move the tc_done routine inside the locked TF_MUTE check.
>
>   PR:           217282
>   Reviewed by:  ed, ray
>   Sponsored by: Netflix
>   Differential Revision:        https://reviews.freebsd.org/D9709


Sorry, this should also say:

MFC after: 2 weeks

The change should go back to stable/11, since EARLY_AP_STARTUP is an option
there. (It appears EARLY_AP_STARTUP is a prerequisite for hitting this bug.)

Jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADrOrms03o=1sZmRvEG1mBFhn6Vq29LBnmFo6wh3p6xvUYx-2w>