summaryrefslogtreecommitdiffstats
path: root/net/lapb
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-04-20 20:04:01 +0200
committerDavid S. Miller <davem@davemloft.net>2012-04-21 16:24:20 -0400
commita74e910618efb154936958cfeb2aab7c234478c5 (patch)
treeeda84fcc25b12194b82c14786380121dbf86ec00 /net/lapb
parentb139ba4e90dccbf4cd4efb112af96a5c9e0b098c (diff)
downloadop-kernel-dev-a74e910618efb154936958cfeb2aab7c234478c5.zip
op-kernel-dev-a74e910618efb154936958cfeb2aab7c234478c5.tar.gz
net: change big iov allocations
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>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud