Erik Nordmark wrote On 04/24/06 14:57,:
Darren Reed wrote:
The parameters into the buffer allocation would ideally be:
- size of buffer
- priority
- driver name and instance wanting it (hard/impossible?)
Having an "int alloc_register(name, instance, max_memory_to_use)"
function that returns the handle would allow for this.
another way, have that driver use esballoc() with buffers coming out of its
owned/managed kmem_cache: that is with constructor function filling in
whatever extra
info your driver deems useful.
Kais
Of couse this would allow base (in esballoc/desballoc) to be
ignored.
I don't understand why you'd want to change that part.
Erik
_______________________________________________
networking-discuss mailing list
[email protected]
_______________________________________________
networking-discuss mailing list
[email protected]