Re: [PATCH] net: sock: Add option for memory optimized hints.

2016-05-20 Thread Eric Dumazet
On Fri, 2016-05-20 at 15:36 +0200, peter enderborg wrote: > From: Peter Enderborg > > When sending data the socket allocates memory for > payload on a cache or a page alloc. The page alloc > then might trigger compation that takes long time. > This can be avoided with smaller chunks. But > usersp

Re: [PATCH] net: sock: Add option for memory optimized hints.

2016-05-20 Thread David Miller
It is not appropriate to submit new features at this time as we are in the merge window and we are only bug fixes. Please resubmit this when the net-next tree opens back up.

[PATCH] net: sock: Add option for memory optimized hints.

2016-05-20 Thread peter enderborg
From: Peter Enderborg When sending data the socket allocates memory for payload on a cache or a page alloc. The page alloc then might trigger compation that takes long time. This can be avoided with smaller chunks. But userspace can not know what is the right size for the smaller sends. For this