Garrett D'Amore wrote:
I'm unconvinced that it is any cheaper. The question is ... how is the kernel DDI going to track these by dev_t. dev_ts don't point to structures. So the DDI implementation would either need to use a hash table itself, or would need to manage to track the state elsewhere, and I'm just not sure where it would be tracked. We need more information about the proposed underlying implementation, I think.
The DDI doesn't have to track anything. The dev_ts are managed by specfs which has access to the underlying vnode or snode - hence my comment about stashing the context pointer there.
Paul -- =================================== Paul Durrant http://www.linkedin.com/in/pdurrant =================================== _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code