svn commit: r303338 - head/sys/dev/vt

Ed Schouten ed at nuxi.nl
Tue Jul 26 16:27:09 UTC 2016


Hi Ed,

2016-07-26 17:34 GMT+02:00 Ed Maste <emaste at freebsd.org>:
>                 if (vw == vd->vd_curwindow) {
> +                       mtx_lock(&Giant);
>                         kbd = kbd_get_keyboard(vd->vd_keyboard);
>                         if (kbd != NULL)
>                                 vt_save_kbd_state(vw, kbd);
> +                       mtx_unlock(&Giant);
>                 }

Would it make sense to put an mtx_assert(&Giant, MA_OWNED) in
kbd_get_keyboard()?

-- 
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717


More information about the svn-src-head mailing list