[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1466179622.7945.216.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Fri, 17 Jun 2016 09:07:02 -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 16:39 +0200, peter enderborg wrote:
> It is mainly for af_unix sockets, and the effect is
> quite significant when you hit a compaction, or with
> this patch avoid get in to compaction, but it
> can also be used for reducing the pressure on memory
> for tcp.
BTW, TCP always attempt order-3 allocations, even if you do a write(fd,
buffer, 4000)
So really your patch wont help.
We need to fix the mm layer (if needed), not add various works around.
Powered by blists - more mailing lists