> The second question I have is, where is this most useful?  If it is only 
 > for DEBUG kernels, I can imagine that we could create a DEBUG behavior 
 > where kstat_delete() doesn't really delete the stat, but stat, but puts 
 > it into some kind of historical archive.  (Keeping the most recent, or N 
 > most recent, stats from each driver.)  This could facilitate debug, 
 > without confusing _administrative_ use, and without interfering with 
 > normal driver use.

Or we could do all those things by just leaving KSTAT_FLAG_PERSISTENT
alone and introducing a way to purge them when necessary.  Which I'd
strongly prefer.

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

Reply via email to