net: unix: Align send data_len up to PAGE_SIZE
authorKirill Tkhai <ktkhai@parallels.com>
Thu, 15 May 2014 15:56:28 +0000 (19:56 +0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 20:04:03 +0000 (16:04 -0400)
commit31ff6aa5c86f7564f0dd97c5b3e1404cad238d00
tree2be445d20551a71766a19aa3e0eff76385e73bd5
parenta188a54d11629bef2169052297e61f3767ca8ce5
net: unix: Align send data_len up to PAGE_SIZE

Using whole of allocated pages reduces requested skb->data size.
This is just a little more thriftily allocation.

netperf does not show difference with the current performance.

Signed-off-by: Kirill Tkhai <ktkhai@parallels.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c