"Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> writes:
> [...] In the process of this investigation I quickly checked some
> other pmdaCacheFoo() use in the linux PMDA and there are many issues
> ... this code (and possibly across all PMDAs) needs a thoroughly
> good audit by someone who understands how the pmdaCache services
> really work.
BTW, I'm starting an effort to drastically -reduce- the usage of
pmdaCache stuff in pmdas/linux_proc, in hope of solving problems such as
https://bugzilla.redhat.com/show_bug.cgi?id=1065803
and http://oss.sgi.com/bugzilla/show_bug.cgi?id=1102
and http://oss.sgi.com/pipermail/pcp/2014-November/005989.html
IMHO the cache should be used for only long-lasting invariant-preserving
things like some instance-domains, instead as a general "lookup table for
stuff", with ill-defined scope and lifespan and access control.
- FChE
|