git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b139ba4
)
net: change big iov allocations
author
Eric Dumazet
<edumazet@google.com>
Fri, 20 Apr 2012 18:04:01 +0000
(20:04 +0200)
committer
David S. Miller
<davem@davemloft.net>
Sat, 21 Apr 2012 20:24:20 +0000
(16:24 -0400)
iov of more than 8 entries are allocated in sendmsg()/recvmsg() through
sock_kmalloc()
As these allocations are temporary only and small enough, it makes sense
to use plain kmalloc() and avoid sk_omem_alloc atomic overhead.
Slightly changed fast path to be even faster.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Mike Waychison <mikew@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c
patch
|
blob
|
history
diff --cc
net/socket.c
Simple merge