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


Groups > linux.kernel > #1417300

Re: [PATCH V10 00/28] Add new powerpc specific ELF core notes

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH V10 00/28] Add new powerpc specific ELF core notes
Date 2016-06-08 13:20 +0200
Message-ID <rHJGG-7U2-9@gated-at.bofh.it> (permalink)
References (6 earlier) <rDl0d-Ub-7@gated-at.bofh.it> <rEEDw-2CK-3@gated-at.bofh.it> <rGYy6-2yM-39@gated-at.bofh.it> <rGYy6-2yM-41@gated-at.bofh.it> <rGYy6-2yM-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2016-06-06 at 14:27 +0530, Anshuman Khandual wrote:
> On 06/03/2016 03:56 AM, Cyril Bur wrote:
> > 
> > At the moment is is rather confusing since pt_regs is the always the 'live'
> > state and theres a ckpt_regs that is the pt_regs for the checkpointed state.
> > FPU/VMX/VSX is done differently which is really only creating confusion so I'm changing
> > it to do the same at for pt_regs/ckpt_regs. Ultimately this is part of more work from me
> 
> But that changes the basic semantics on which this ptrace series is written.
> With this change, a significant part of the ptrace series has to be changed.

Yes, that's the whole point.

In fact half of the code should vanish, because the only difference between
copying the live or checkpointed state out to userspace should be which regs
struct you pass to the function.

> Its just an improvement on how we store running and check pointed values for
> FP/VSX/VMX registers inside the kernel. How does it improve ptrace interface
> from the user point of view ? If not, then why this change is necessary for
> the acceptance of this patch series ?

Because the clean-ups never happen once a series is merged, and I'm left to deal
with it.

cheers

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


Thread

Re: [PATCH V10 00/28] Add new powerpc specific ELF core notes Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2016-06-06 11:00 +0200
  Re: [PATCH V10 00/28] Add new powerpc specific ELF core notes Michael Ellerman <mpe@ellerman.id.au> - 2016-06-08 13:20 +0200

csiph-web