> If I allocate a list of receive buffer using [b]desballoc[/b], I am > wondering when is the free data routine called? > > If immediately called (ie.freed) after [b]gld_recv[/b]( ) function (to > send packet upstream), then, I can continue to use this buffer instead > of putting it in a list of free buffers i.e. I do not need to keep a > free list. Is it true?
The `d' in `desballoc()' means "direct". So it will be called back as soon as a call to freeb()/freemsg() causes the associated dblk_t's db_ref to reach zero. -- meem _______________________________________________ networking-discuss mailing list [email protected]
