[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1466172860.7945.212.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Fri, 17 Jun 2016 07:14:20 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: peter enderborg <peter.enderborg@...ymobile.com>
Cc: "open list:PTP HARDWARE CLOCK SUPPORT" <netdev@...r.kernel.org>
Subject: Re: [PATCH resend] net: sock: Add option for memory optimized hints.
On Fri, 2016-06-17 at 15:58 +0200, peter enderborg wrote:
> From: Peter Enderborg <peter.enderborg@...ymobile.com>
>
> 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 we add a SIZEHINT
> getsocketopt where the userspace can get the size
> for send that will fit into one page (order 0) or
> the max for a slab cache allocation.
For which kind of sockets exactly you hit a problem ?
Sorry, this patch is probably not helping in any way.
Powered by blists - more mailing lists