Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1363996
| From | Torsten Duwe <torsten@lst.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH/RFC] ppc64 livepatch: frameless klp_return_helper using odd TOC |
| Date | 2016-03-24 09:10 +0100 |
| Message-ID | <rg8v8-8at-5@gated-at.bofh.it> (permalink) |
| References | <rfTmq-5As-9@gated-at.bofh.it> <rg3c6-49i-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Mar 24, 2016 at 01:23:01PM +1100, Balbir Singh wrote: > On 24/03/16 02:58, Torsten Duwe wrote: > > > > 1. Heuristics are bad. The better they are, the more subtly the > > way they might fail. [...] > I missed this yesterday, not on cc, but caught it on the list today I replied to Michael's last post and removed the back reference to start a new thread. The list is rather long... sorry I didn't notice. > Thanks for working on this. I did a quick look, so the CR+4 code Yes. It's only a proof of concept. That idea is yours, no doubt, and should be mentioned in the final submission. I already wrote it in my previous version, where I also have changed the arithmetic to produce small positive deltas. > plus heuristics for global/local call detection? Nope, definitely not! I flag global entries unambiguously. I had a version with R12/LR heuristics on Monday which I dumped. > I'll review this soon - hopefully tonight, but we have a long weekend coming up, so there might be delays. In the meanwhile feel free to add my signed-off-by for the CR+4 code. I am also looking at a different approach -- per thread lr0 stack. This CR+4 code leaves only 1 slot, so sibling calls are extremely dangerous, as I mentioned. But with a little attention, this patch works very well. I mostly wanted to hear opinions about a transient odd TOC value before I start polishing. Torsten
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH/RFC] ppc64 livepatch: frameless klp_return_helper using odd TOC Torsten Duwe <duwe@lst.de> - 2016-03-23 17:00 +0100
Re: [PATCH/RFC] ppc64 livepatch: frameless klp_return_helper using odd TOC Balbir Singh <bsingharora@gmail.com> - 2016-03-24 03:30 +0100
Re: [PATCH/RFC] ppc64 livepatch: frameless klp_return_helper using odd TOC Torsten Duwe <torsten@lst.de> - 2016-03-24 09:10 +0100
Re: [PATCH/RFC] ppc64 livepatch: frameless klp_return_helper using odd TOC Michael Ellerman <mpe@ellerman.id.au> - 2016-03-24 12:10 +0100
Re: [PATCH/RFC] ppc64 livepatch: frameless klp_return_helper using odd TOC Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> - 2016-03-24 11:20 +0100
Re: [PATCH/RFC] ppc64 livepatch: frameless klp_return_helper using odd TOC Torsten Duwe <duwe@lst.de> - 2016-03-24 11:30 +0100
Re: [PATCH/RFC] ppc64 livepatch: frameless klp_return_helper using odd TOC Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> - 2016-03-24 17:10 +0100
csiph-web