Re: 2.6.7-rc2-mm1

From: Christoph Hellwig
Date: Tue Jun 01 2004 - 09:00:10 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/