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:
parent
9708f20177
commit
2e820ecea1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user