Garrett D'Amore wrote:
Hmm... okay, I understand that some believe we may need kstats to outlast a ddi-detach.

Although I'm not 100% convinced on that matter. I still believe that any device for which you're collecting kstats that are interesting to admins is probably either a disk or a nic, and generally those are only interesting to admins if they are in use and thus not eligible for detach by modunload -i 0.

or a crypto provider and those do get unloaded sometimes when not in use but the data over the whole time of the system is probably more interesting. However the crypto kstats are already special since we lie to users not asserting all privilege that they are always zero. We have kstats for both hardware and software providers. In half the cases of our hardware providers there is no /dev entry and nothing in userland holding them open unless they are being actively used.

--
Darren J Moffat
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to