1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Double the WITNESS and DIAGNOSTIC benchmark warnings right before we

go into userland to improve the chances of people noticing them.
This commit is contained in:
Poul-Henning Kamp 2007-06-08 11:47:36 +00:00
parent 108df27c0b
commit 7acfb0af82
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170429

View File

@ -296,6 +296,8 @@ static char wit_warn[] =
"WARNING: WITNESS option enabled, expect reduced performance.\n";
SYSINIT(witwarn, SI_SUB_COPYRIGHT, SI_ORDER_THIRD + 1,
print_caddr_t, wit_warn)
SYSINIT(witwarn2, SI_SUB_RUN_SCHEDULER, SI_ORDER_THIRD + 1,
print_caddr_t, wit_warn)
#endif
#ifdef DIAGNOSTIC
@ -303,6 +305,8 @@ static char diag_warn[] =
"WARNING: DIAGNOSTIC option enabled, expect reduced performance.\n";
SYSINIT(diagwarn, SI_SUB_COPYRIGHT, SI_ORDER_THIRD + 2,
print_caddr_t, diag_warn)
SYSINIT(diagwarn2, SI_SUB_RUN_SCHEDULER, SI_ORDER_THIRD + 2,
print_caddr_t, diag_warn)
#endif
static void