Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1341899

Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace location during build

From Balbir Singh <bsingharora@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace location during build
Date 2016-02-24 12:30 +0100
Message-ID <r5FNL-3OI-5@gated-at.bofh.it> (permalink)
References (6 earlier) <r30F4-d2-1@gated-at.bofh.it> <r5oDf-8rG-13@gated-at.bofh.it> <r5Bh8-wo-7@gated-at.bofh.it> <r5BAu-CK-5@gated-at.bofh.it> <r5DVE-2sk-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 24/02/16 20:23, Torsten Duwe wrote:
> On Wed, Feb 24, 2016 at 05:55:35PM +1100, Balbir Singh wrote:
>> <snip>
>>
>> We need to remove the SQUASH_TOC_SAVE_INSNS bits as well, now that the ppc64_profile_stub_insns does not save r2
> Sure -- this was meant to _replace_ the changes from patch 2/8, not on top.
> And yes, it exposes duplicate definitions, but does not cause them AFAICS.
> The two unasked questions about it were: Is Michael's solution on a similar
> basis? Is this worth any further effort e.g. put into v9?
>
>
My bad you did mention _replace_, but I think 2/8 and 6/8 of tightly bound
together, so the replacement is not straight forward. Yes, it is heading in
a similar direction, but it focuses mostly on ftrace. I think v9 makes sense,
but I'll let Michael comment on this as well]

Personally, I think your v8 or v9 + Michael's changes - RECORD_C_MCOUNT +
some changes (yet to code them based on v8/v9/ftrace stability) should get
the full live patching working.

Balbir Singh.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace  location during build Torsten Duwe <duwe@lst.de> - 2016-02-23 18:10 +0100
  Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace location  during build Balbir Singh <bsingharora@gmail.com> - 2016-02-24 07:40 +0100
    Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace location  during build Balbir Singh <bsingharora@gmail.com> - 2016-02-24 08:00 +0100
      Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace  location during build Torsten Duwe <duwe@lst.de> - 2016-02-24 10:30 +0100
        Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace location  during build Balbir Singh <bsingharora@gmail.com> - 2016-02-24 12:30 +0100
  Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace location  during build Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> - 2016-02-24 09:00 +0100

csiph-web