[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090319.202133.68433431.davem@davemloft.net>
Date: Thu, 19 Mar 2009 20:21:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: galak@...nel.crashing.org
Cc: netdev@...r.kernel.org
Subject: Re: skb's & hw buffer mgmt
From: Kumar Gala <galak@...nel.crashing.org>
Date: Thu, 19 Mar 2009 21:55:18 -0500
> It also seems that you don't actually give the page directly back to
> the HW buffer manager when the skb is released (possibly via a
> skb->destructor) but just allocate new pages and add these new
> buffers to the HW manager. Is that correct? Is there any
> particular reason to do this?
The pages are referenced by the packet, and therefore potentially by
protocol sockets for indefinite periods of time. I have to allocate
new pages since we can't wait around forever for the socket to
release the data when it feels like it.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists