Re: 2.6.7-rc2-mm1

Christoph Hellwig
2004-06-01T13:57:43Z

On Tue, Jun 01, 2004 at 03:43:45PM +0200, Mikael Pettersson wrote:
> Been there, done that. open() on /proc/{$pid,self}/perfctr with
> or without O_CREAT was the "get initial access" interface for
> several years, until the semantics of /proc/$pid (and /proc/self)
> completely changed in 2.6.0-test6.
>
> Virtual perfctrs wants something that denotes the real kernel
> task, not that process-is-a-group-of-kernel-threads crap.

I'm not on a nptl system here, so no thread groups in use, but don't
we have /proc/$pid/$tid/ now?

And yes, I agree with you that the change was utter crap, still wondering
how it went in without proper review.