From: Ingo Molnar <mingo@elte.hu>
To: Christoph Hellwig <hch@infradead.org>
Cc: Oleg Nesterov <oleg@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
Roland McGrath <roland@redhat.com>,
jdike@addtoit.com, utrace-devel@redhat.com,
linux-kernel@vger.kernel.org
Subject: Re: [RFC, PATCH 0/2] utrace/ptrace: simplify/cleanup ptrace attach
Date: Wed, 6 May 2009 11:37:40 +0200 [thread overview]
Message-ID: <20090506093740.GA7156@elte.hu> (raw)
In-Reply-To: <20090506091115.GA24332@infradead.org>
* Christoph Hellwig <hch@infradead.org> wrote:
> On Wed, May 06, 2009 at 11:05:12AM +0200, Ingo Molnar wrote:
> > It might be more effective if you also wrote patches and if you
> > would shop for maintainer Acks, instead of just "pinging" people?
> > ;-) We've already got enough would-be-managers on lkml really.
>
> I have no interest touching tons of architectures where the
> maintainers are much better of looking at those lowlevel bits.
> [...]
That's a somewhat naive expectation. Currently ptrace has a low
mindshare and an even lower know-how share, even amongst
architecture maintainers. Much of the ptrace code has been many
years ago and often it has been copied over from other architectures
and has been hacked to work sort-of. There's positive exceptions for
sure, but generally ptrace know-how is extremely limited and there's
a lot of architectures with little proactivity.
It is far more efficient if Roland, Oleg (or you, if you are
interested in this stuff - which you seem to be) did RFC patches and
asked for maintainer acks, than to depend on maintainers to do it.
We have about a dozen core kernel features that still have not
propagated to all architectures: irqflags-tracking (for lockdep),
genirq, stacktrace support, latencytop support, and more. We are
just getting around to make GENERIC_TIME the only option [maybe..] -
after years of migration.
We've got 22 architectures and they tend to slow down certain types
of core kernel changes significantly.
> [...] See the case where Roland tried to do ARM but still hasn't
> gotten any feedback as a negative example.
That really reinforces my point: arch maintainers are even less
inclined to do it proactively.
> > Really, the above isnt a blocker list, it's your personal
> > wish-list for the future. Cleaning up ptrace itself is already
> > an upstream advantage worth having - for years ptrace was barely
> > maintained. It interfaces to enough critical projects (gdb,
> > strace, UML, etc.) to be a realiable (and testable) basis for
> > utrace.
>
> The cleanups aren't there for cleanup purposes, but to actually
> allow the utrace-based ptrace being used unconditionally. There
> is really no point in merging a second conditional ptrace
> implementation that has to be maintained while we add another one
> that doesn't add a single new feature.
I'm well aware of what these patches are trying to achieve.
We've got the main mass of architectures covered:
arch/ia64/Kconfig: select HAVE_ARCH_TRACEHOOK
arch/powerpc/Kconfig: select HAVE_ARCH_TRACEHOOK
arch/s390/Kconfig: select HAVE_ARCH_TRACEHOOK
arch/sh/Kconfig: select HAVE_ARCH_TRACEHOOK
arch/sparc/Kconfig: select HAVE_ARCH_TRACEHOOK
arch/x86/Kconfig: select HAVE_ARCH_TRACEHOOK
I'd expect the remaining arch conversion to tracehooks to be
deterministically finished if done by the ptrace folks - i.e. Roland
and Oleg. It will take forever if all that happens is a 'ping' from
you ;-)
Ingo
next prev parent reply other threads:[~2009-05-06 9:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-03 18:55 [RFC, PATCH 0/2] utrace/ptrace: simplify/cleanup ptrace attach Oleg Nesterov
2009-05-04 18:49 ` Roland McGrath
2009-05-04 19:30 ` Oleg Nesterov
2009-05-04 19:43 ` Roland McGrath
2009-05-04 23:31 ` Andrew Morton
2009-05-05 1:12 ` Roland McGrath
2009-05-05 23:06 ` Oleg Nesterov
2009-05-06 8:12 ` Ingo Molnar
2009-05-06 8:23 ` Christoph Hellwig
2009-05-06 9:05 ` Ingo Molnar
2009-05-06 9:11 ` Christoph Hellwig
2009-05-06 9:37 ` Ingo Molnar [this message]
2009-05-07 6:13 ` Roland McGrath
2009-05-08 15:08 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090506093740.GA7156@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=hch@infradead.org \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=roland@redhat.com \
--cc=utrace-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox