]> Cypherpunks repositories - gostls13.git/commit
net: Use preallocated buffer for epoll.
authorIan Lance Taylor <iant@golang.org>
Fri, 18 Mar 2011 18:50:19 +0000 (11:50 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 18 Mar 2011 18:50:19 +0000 (11:50 -0700)
commitadd8c8db60940e8099f5cb9ff9af80c28763499e
treeb1a1056c42557161d6406c49c661d18b8c04e27e
parent8c4a2ae6f8d0dc8043116ec83a6f5a8598eec3f2
net: Use preallocated buffer for epoll.

Reduces rpc test "mallocs per rpc round trip" by 4.

Gains ~8% on a localhost client/server RPC test.

R=rsc
CC=golang-dev
https://golang.org/cl/4284056
src/pkg/net/fd_linux.go