diff options
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 86026a4..89fab49 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -95,6 +95,13 @@ userret(td, frame, oticks) #endif /* + * If this thread tickled GEOM, we need to wait for the giggling to + * stop before we return to userland + */ + if (td->td_pflags & TDP_GEOM) + g_waitidle(); + + /* * Let the scheduler adjust our priority etc. */ sched_userret(td); |