opnsense-src/sys/dev/vt
Mark Johnston d7af180a30 vt: Use a taskqueue to clear splash_cpu logos
vt_fini_logos() calls vtbuf_grow(), which reallocates the console
window's buffer using malloc(M_WAITOK).  Because vt_fini_logos() is
called via a callout, we end up panicking if INVARIANTS is enabled.

Fix the problem simply by clearing the logos using a timed taskqueue.
taskqueue_thread is formally allowed to sleep; of course, if we actually
end up sleeping to satisfy the allocation, then we have bigger problems.

PR:		260896
Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 6c7e4d72b1)
2022-01-28 10:28:30 -05:00
..
colors vt(4): Use default VGA palette 2018-05-10 17:00:33 +00:00
font Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
hw efifb,vbefb: implement vd_fini 2022-01-14 16:55:23 +01:00
logo Update Conrad Meyer's email 2019-10-17 16:38:44 +00:00
vt.h vt(4): Connect to teken's TP_SETBELLPD 2021-11-18 21:52:22 -07:00
vt_buf.c vt: clean up empty lines in .c and .h files 2020-09-01 21:47:32 +00:00
vt_consolectl.c
vt_core.c vt: fix git mismerge 2021-11-18 22:10:07 -07:00
vt_cpulogos.c vt: Use a taskqueue to clear splash_cpu logos 2022-01-28 10:28:30 -05:00
vt_font.c Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
vt_sysmouse.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00