Mark uma_callout as CALLOUT_MPSAFE, as uma_timeout can run MPSAFE.
Reviewed by: jeff
This commit is contained in:
parent
4d5eb6b80f
commit
fa59040dad
@ -1314,7 +1314,7 @@ uma_startup3(void)
|
||||
#ifdef UMA_DEBUG
|
||||
printf("Starting callout.\n");
|
||||
#endif
|
||||
callout_init(&uma_callout, 0);
|
||||
callout_init(&uma_callout, CALLOUT_MPSAFE);
|
||||
callout_reset(&uma_callout, UMA_TIMEOUT * hz, uma_timeout, NULL);
|
||||
#ifdef UMA_DEBUG
|
||||
printf("UMA startup3 complete.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user