s390/ftrace: provide separate ftrace_caller/ftrace_regs_caller implementations

ftrace_regs_caller is an alias to ftrace_caller - making ftrace_caller
quite heavyweight. Split the function and provide an ftrace_caller
implementation which comes with fewer instructions. Especially getting
rid of 'stosm' on each function entry should help here, e.g. to
have less performance impact on live patched functions.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
Heiko Carstens 2021-10-04 20:24:12 +02:00 • committed by Vasily Gorbik
commit 894979689d
2 changed files with 29 additions and 13 deletions