Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1343197
| From | Torsten Duwe <duwe@lst.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 08/12] powerpc/ftrace: Rework ftrace_caller() |
| Date | 2016-02-25 15:30 +0100 |
| Message-ID | <r655w-54N-5@gated-at.bofh.it> (permalink) |
| References | <r5IBX-5Pl-7@gated-at.bofh.it> <r5IBY-5Pl-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Feb 25, 2016 at 01:28:31AM +1100, Michael Ellerman wrote: > The main change is to just use paca->kernel_toc, rather than a branch to > +4 and mflr etc. That makes the code simpler and should also perform > better. Indeed. > There was also a sequence after ftrace_call() where we load from > pt_regs->nip, move to LR, then a few instructions later load from LRSAVE > and move to LR. Instead I think we want to put pt_regs->nip into CTR and > branch to it later. Yes, I did some of this cleanup in the livepatch implementation. > We also rework some of the SPR loads to hopefully speed them up a bit. > Also comment the asm much more, to hopefully make it clearer. > > Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Torsten Duwe <duwe@suse.de> Torsten
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 08/12] powerpc/ftrace: Rework ftrace_caller() Michael Ellerman <mpe@ellerman.id.au> - 2016-02-24 15:30 +0100 Re: [PATCH 08/12] powerpc/ftrace: Rework ftrace_caller() Balbir Singh <bsingharora@gmail.com> - 2016-02-25 02:10 +0100 Re: [PATCH 08/12] powerpc/ftrace: Rework ftrace_caller() Torsten Duwe <duwe@lst.de> - 2016-02-25 15:30 +0100
csiph-web