Re: [patch 20/38] Minor fault path optimization.

Paul Mackerras
2007-04-28T04:55:47Z

Martin Schwidefsky writes:

> The minor fault path has grown a lot in terms of cycles. In particular
> the kprobes hook is very costly. Optimize the path to save a couple of
> cycles. If kprobes is enabled more than 300 cycles can be avoided if
> kprobes_running() is false.

There's no good reason to use a notifier for page faults, since
there's only one external piece of code that wants to know about
them...

Regards,
Paul.