uipc: disable prediction in unp_pcb_lock_peer
The branch is not very predictable one way or the other, at least during buildkernel where it only correctly matched 57% of calls.
This commit is contained in:
parent
de0b2d4f47
commit
6404d7ffc1
@ -382,7 +382,7 @@ unp_pcb_lock_peer(struct unpcb *unp)
|
||||
|
||||
UNP_PCB_LOCK_ASSERT(unp);
|
||||
unp2 = unp->unp_conn;
|
||||
if (__predict_false(unp2 == NULL))
|
||||
if (unp2 == NULL)
|
||||
return (NULL);
|
||||
if (__predict_false(unp == unp2))
|
||||
return (unp);
|
||||
|
Loading…
Reference in New Issue
Block a user