OpenSolaris

Printable Version Enter a New Search
Bug ID 6593781
Synopsis kstat_zone_find must be called holding kstat_chain_lock, which is private to kstat_fr.c
State 5-Cause Known (Bug is root caused)
Category:Subcategory kernel:other
Keywords
Responsible Engineer Stephen Lawrence
Reported Against
Duplicate Of
Introduced In solaris_10
Commit to Fix
Fixed In
Release Fixed
Related Bugs 6593014
Submit Date 16-August-2007
Last Update Date 6-July-2009
Description
kstat_zone_find() in kstat_fr.c is declared in the header kstat.h.  However, to call kstat_zone_find(), you must be holding kstat_chain_lock - which is static in kstat_fr.c, and therefore cannot be taken by anyone outside the file.

There should be two versions, kstat_zone_find and kstat_zone_find_locked, where the former takes the lock and calls the latter, and the current callers internal to kstat_fr.c should use kstat_zone_find_locked().
Work Around
N/A
Comments
N/A