lkml.org 
[lkml]   [2004]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][1/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: core
Andrew Morton writes:
> Christoph Hellwig <hch@infradead.org> wrote:
> >
> > On Tue, Jun 22, 2004 at 02:14:41AM -0700, Andrew Morton wrote:
> > > > Let's ressurect that code instead of doing the syscall approach.
> > >
> > > This appears to have come out of the blue. Please explain why you think
> > > this change is needed.
> >
> > Just read through all the old perfctr threads. This was discussed multiple
> > times.
>
> Well it didn't register with me and either it didn't register with Mike, or
> he rejected the notion.
>
> Please restate the case.

Swiching to open() on /proc/<pid>/<tid>/perfctr followed by ioctl()s
would be easy to implement. But people @ LKML are sometimes violently
opposed to ioctl()s, that's why the switch to syscalls happended.

One concern is that there doesn't appear to be a user-visible shortcut
to "your own" /proc/<pid>/<tid>/ like there was when /proc/self still
had some useful meaning. This is merely annoying, not a show-stopper.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.321 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site