diff --git a/sys/kern/subr_syscall.c b/sys/kern/subr_syscall.c index db0efb080b03..d6ab0bc7d275 100644 --- a/sys/kern/subr_syscall.c +++ b/sys/kern/subr_syscall.c @@ -230,7 +230,7 @@ syscallret(struct thread *td, int error) PROC_UNLOCK(p); } - if (td->td_pflags & TDP_RFPPWAIT) { + if (__predict_false(td->td_pflags & TDP_RFPPWAIT)) { /* * Preserve synchronization semantics of vfork. If * waiting for child to exec or exit, fork set