[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190418.115639.4353812313618266.davem@davemloft.net>
Date: Thu, 18 Apr 2019 11:56:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: aryabinin@...tuozzo.com, edumazet@...gle.com,
mgorman@...hsingularity.net, willemb@...gle.com, fw@...len.de,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 1/4] net/skbuff: don't waste memory reserves
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 18 Apr 2019 11:55:16 -0700
> AFAIK, drivers allocate skbs way before a frame is actually received,
> (at RX ring buffer initialization or refill)
>
> So sk_memalloc_socks() might be false at that time, but true later.
This is exactly what I was going to say too.
Powered by blists - more mailing lists