[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120421.162453.1280284976492418010.davem@davemloft.net>
Date: Sat, 21 Apr 2012 16:24:53 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, mikew@...gle.com
Subject: Re: [PATCH net-next] net: change big iov allocations
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 20 Apr 2012 20:04:01 +0200
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
> Cc: Mike Waychison <mikew@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists