]> err.no Git - linux-2.6/commit
[S390] Minor fault path optimization.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Apr 2007 14:01:43 +0000 (16:01 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Apr 2007 14:01:43 +0000 (16:01 +0200)
commit10c1031f706bbe0690d84cdbccad15b11c6dc661
tree791a21c066ed667676422395b4145c53a1dc2c28
parentc0007f1a65762eaf55633d403b380130ec60adad
[S390] Minor fault path optimization.

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.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/mm/fault.c