Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

From: Ingo Molnar
Date: Thu Jan 18 2007 - 02:36:21 EST



* Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

> > I'll be happy to move this over to the utrace setting, once it is
> > merged. Do you think it would be better to include the current
> > version of kwatch now or to wait for utrace?
> >
> > Roland, is there a schedule for when you plan to get utrace into
> > -mm?
>
> Even if it goes into mainline soon we'll need a lot of time for all
> architectures to catch up, so I think kwatch should definitely comes
> first.

i disagree. Utrace is a once-in-a-lifetime opportunity to clean up the
/huge/ ptrace mess. Ptrace has been a very large PITA, for many, many
years, precisely because it was done in the 'oh, lets get this feature
added first, think about it later' manner. Roland's work is a large
logistical undertaking and we should not make it more complex than it
is. Once it's in we can add debugging features ontop of that. To me work
that cleans up existing mess takes precedence before work that adds to
the mess.

Ingo

ps. please fix your mailer to not emit those silly Mail-Followup-To
headers! It collapses To: and Cc: lines into one huge unnecessary To:
line.
-
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/