tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: m_defrag



On Sat, Sep 01, 2018 at 08:41:56PM +0000, Taylor R Campbell wrote:
> What should we do?  m_collapse seems like a good idea to me, provided
> we take care when adapting drivers to use it that it is OK to change
> the identity of the mbuf -- which most of the copypasta does anyway.

Pre allocate a special buffer for this in the driver and just do m_copydata()
when the chain does not fit?

Martin


Home | Main Index | Thread Index | Old Index