projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f37ada
)
net: add scheduler sync hint to tcp_prequeue().
author
Mike Galbraith
<efault@gmx.de>
Wed, 3 Mar 2010 04:46:50 +0000
(
04:46
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 4 Mar 2010 08:53:51 +0000
(
00:53
-0800)
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>
include/net/tcp.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/tcp.h
b/include/net/tcp.h
index 56f0aec40ed63bf1a61c324cc497d9cf4ed9e461..75be5a28815d5d2759976a003a2f9f8f0ac9a1c9 100644
(file)
--- a/
include/net/tcp.h
+++ b/
include/net/tcp.h
@@
-939,7
+939,7
@@
static inline int tcp_prequeue(struct sock *sk, struct sk_buff *skb)
tp->ucopy.memory = 0;
} else if (skb_queue_len(&tp->ucopy.prequeue) == 1) {
- wake_up_interruptible_poll(sk->sk_sleep,
+ wake_up_interruptible_
sync_
poll(sk->sk_sleep,
POLLIN | POLLRDNORM | POLLRDBAND);
if (!inet_csk_ack_scheduled(sk))
inet_csk_reset_xmit_timer(sk, ICSK_TIME_DACK,