lkml.org 
[lkml]   [2019]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/4] net/skbuff: don't waste memory reserves
From
From: Eric Dumazet <eric.dumazet@gmail.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.

\
 
 \ /
  Last update: 2019-04-18 20:57    [W:0.147 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site