All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Cyril Bur <cyrilbur@gmail.com>, linuxppc-dev@lists.ozlabs.org
Subject: Re: powerpc: ptrace: tm_reclaim_current() in flush_tmregs_to_thread()
Date: Wed, 10 Aug 2016 22:46:36 +1000 (AEST)	[thread overview]
Message-ID: <3s8W9m4JMYz9t2H@ozlabs.org> (raw)
In-Reply-To: <20160810054446.5624-1-cyrilbur@gmail.com>

On Wed, 2016-10-08 at 05:44:46 UTC, Cyril Bur wrote:
> There was an assumption that flush_tmregs_to_thread() would only be
> called for a task which is not current. And a warning could be shown
> to indicate that current is being ptraced.
> 
> In the event of a core dump the current threads state is needed. This
> means that flush_tmregs_to_thread() must do its best to flush even for
> current.
> 
> This patch also moves flush_tmregs_to_thread() into ptrace.c as it is
> only called from that file.
> 
> Signed-off-by: Cyril Bur <cyrilbur@gmail.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/c7a318ba868c61fc9be710a497

cheers

      parent reply	other threads:[~2016-08-10 12:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-10  5:44 [PATCH] powerpc: ptrace: tm_reclaim_current() in flush_tmregs_to_thread() Cyril Bur
2016-08-10  6:52 ` Michael Ellerman
2016-08-10 12:46 ` Michael Ellerman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3s8W9m4JMYz9t2H@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=cyrilbur@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.