Annotate td_cowgen check as unlikely.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
59dc8c79c6
commit
e272bf479b
@ -66,7 +66,7 @@ syscallenter(struct thread *td)
|
||||
sa = &td->td_sa;
|
||||
|
||||
td->td_pticks = 0;
|
||||
if (td->td_cowgen != p->p_cowgen)
|
||||
if (__predict_false(td->td_cowgen != p->p_cowgen))
|
||||
thread_cow_update(td);
|
||||
traced = (p->p_flag & P_TRACED) != 0;
|
||||
if (traced || td->td_dbgflags & TDB_USERWR) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user