Re: [PATCH 4/7] ftrace, PPC: use probe_kernel API to modify code

From: Paul Mackerras
Date: Mon Nov 17 2008 - 00:06:50 EST


Steven Rostedt writes:

> Impact: use cleaner probe_kernel API over assembly
>
> Using probe_kernel_read/write interface is a much cleaner approach
> than the current assembly version.

Possibly naive question: how is it possible for the accesses to the
instructions to fault, given that we are called through kstop_machine
(according to the comment) and nothing else should be happening?

Paul.
--
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/