[brussels-dev] [networking-discuss] ::nce mdb walker
sowmini.varadhan at sun.com
sowmini.varadhan at sun.com
Wed Jan 30 03:16:13 PST 2008
On (01/29/08 22:22), Erik Nordmark wrote:
>>
>> http://cr.opensolaris.org/~sowmini/nce_walker/
>
> Would it have been simpler to have the kernel allocate the nces using a
> separate kmem_cache? (That way some existing walker infrastructure in mdb
> can be used.)
> Reason I'm asking is because I have some code being developed which moves
> the nce allocation to use kmem_cache_alloc.
Do you mean like the ire entries? That would certainly make the
walker much easier to write, but the existing code did not do a
kmem_cache_alloc for nce's so I didn't want to change that
infrastructure merely to make the mdb macro easier to write.
--Sowmini
More information about the brussels-dev
mailing list