Commit c839d30a41dd92eb32d7fcfa2b4e99042fc64bf2

Authored by Mike Galbraith
Committed by David S. Miller
1 parent 8f37ada5b5

net: add scheduler sync hint to tcp_prequeue().

Decreases the odds wakee will suffer from frequent cache misses.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -939,7 +939,7 @@
939 939  
940 940 tp->ucopy.memory = 0;
941 941 } else if (skb_queue_len(&tp->ucopy.prequeue) == 1) {
942   - wake_up_interruptible_poll(sk->sk_sleep,
  942 + wake_up_interruptible_sync_poll(sk->sk_sleep,
943 943 POLLIN | POLLRDNORM | POLLRDBAND);
944 944 if (!inet_csk_ack_scheduled(sk))
945 945 inet_csk_reset_xmit_timer(sk, ICSK_TIME_DACK,